Module

Cheerio

Package
purescript-cheerio
Repository
icyrockcom/purescript-cheerio

#Cheerio Source

data Cheerio :: Type

#attr Source

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.

#html Source

html :: Cheerio -> Maybe String

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

#length Source

length :: Cheerio -> Int

Get how many elements there are in the given Cheerio

#toArray Source

toArray :: Cheerio -> Array Cheerio

Seperate each element out into its own Cheerio