# normalize-selector

> Normalize CSS Selectors

Latest version **0.2.0** (published 2015-08-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install normalize-selector
pnpm add normalize-selector
yarn add normalize-selector
bun add normalize-selector
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2015-08-10 |
| First published | 2014-03-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Author | Kyle Simpson |
| Maintainers | getify |
| Keywords | CSS |

## Links

- npm: https://www.npmjs.com/package/normalize-selector
- Repository: https://github.com/getify/normalize-selector
- Homepage: http://github.com/getify/normalize-selector
- Issues: https://github.com/getify/normalize-selector/issues
- npm.io page: https://npm.io/package/normalize-selector

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2015-08-10
- 0.1.0 — 2015-08-04
- 0.0.3-a — 2015-03-12
- 0.0.2-a — 2014-04-16
- 0.0.1-a — 2014-04-13
- 0.0.0-a — 2014-03-26

## README

# 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/

---
_Source: https://npm.io/package/normalize-selector · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
