Nitrogenous Polymorphic Molecule
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

normalize-selector

0.2.0 • Public • Published

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/

Keywords

install

npm i normalize-selector

Downloadsweekly downloads

316,601

version

0.2.0

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar