normalize-selector
Normalize CSS Selectors
Last updated 11 years ago by getify .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install normalize-selector 
SYNC missed versions from official npm registry.

Normalize-Selector

Normalize CSS selectors.

Examples:

  • #foo>.bar -> #foo > .bar
  • #foo > .bar -> #foo > .bar
  • foo[ a = 'b' ] -> foo[a='b']

Tests

Run mocha tests on node.js with:

npm test

or:

node ./test/mocha/node-suite.js

rawgithub

View the browser suite directly on rawgithub

License

The code and all the documentation are released under the MIT license.

http://getify.mit-license.org/

Current Tags

  • 0.2.0                                ...           latest (9 years ago)

6 Versions

  • 0.2.0                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
  • 0.0.3-a                                ...           10 years ago
  • 0.0.2-a                                ...           11 years ago
  • 0.0.1-a                                ...           11 years ago
  • 0.0.0-a                                ...           11 years ago
Maintainers (1)
Downloads
Total 11
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE