Skip to content
master
Switch branches/tags
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

cheerio-select Build Status

Tiny wrapper around fb55's excellent css-select library.

cheerio-select provides a comprehensive test suite based on sizzle's test suite.

Warning: Currently, not all tests pass, and some sizzle features will not be supported

Usage

var select = require('cheerio-select'),
    parse = require('cheerio').parse,
    dom = parse('<ul id = "fruits"><li class = "apple">Apple</li></ul>');

select('#fruits > .apple', dom);
=> [{...}]

TODO

  • Get all the unit tests to pass!

Run tests

npm install
make test

License

This Project is under the MIT License

About

Tiny wrapper around FB55's excellent CSSselect library.

Resources

License

Packages

No packages published