Module

Cheerio

#Cheerio

data Cheerio :: Type

#attr

attr :: String -> Cheerio -> Maybe String

Gets an attribute value from the first selected element, returning Nothing when there are no selected elements, or when the first selected element does not have the specified attribute.

#children

#eq

#first

#find

#hasClass

#html

html :: Cheerio -> Maybe String

Gets an html content string from the first selected element, returning Nothing when there are no selected elements.

#last

#length

length :: Cheerio -> Int

Get how many elements there are in the given Cheerio

#next

#parent

#prev

#siblings

#text

#toArray

toArray :: Cheerio -> Array Cheerio

Seperate each element out into its own Cheerio

Modules