This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.

# 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](https://rawgithub.com/getify/normalize-selector/master/test/mocha/browser-suite.html)

## License

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

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