$ npm install normalize-selector
Normalize CSS selectors.
Examples:
#foo>.bar
-> #foo > .bar
#foo > .bar
-> #foo > .bar
foo[ a = 'b' ]
-> foo[a='b']
Run mocha tests on node.js with:
npm test
or:
node ./test/mocha/node-suite.js
View the browser suite directly on rawgithub
The code and all the documentation are released under the MIT license.
http://getify.mit-license.org/
© 2010 - cnpmjs.org x YWFE | Home | YWFE