{"name":"postcss-selector-parser","version":"3.0.0-rc.0","devDependencies":{"ava":"^0.20.0","babel-cli":"^6.4.0","babel-core":"^6.4.0","babel-plugin-add-module-exports":"^0.2.0","babel-plugin-precompile-charcodes":"^1.0.0","babel-preset-es2015":"^6.3.13","babel-preset-es2015-loose":"^7.0.0","babel-preset-stage-0":"^6.3.13","babel-register":"^6.9.0","coveralls":"^2.11.6","del-cli":"^0.2.0","eslint":"^3.0.0","eslint-config-cssnano":"^3.0.0","eslint-plugin-babel":"^3.3.0","eslint-plugin-import":"^1.10.2","glob":"^7.0.3","minimist":"^1.2.0","nyc":"^10.0.0","postcss":"^6.0.6"},"main":"dist/index.js","files":["API.md","CHANGELOG.md","LICENSE-MIT","dist"],"scripts":{"pretest":"eslint src","prepublish":"del-cli dist && BABEL_ENV=publish babel src --out-dir dist --ignore /__tests__/","report":"nyc report --reporter=html","test":"nyc ava src/__tests__/*.js"},"dependencies":{"dot-prop":"^4.1.1","indexes-of":"^1.0.1","uniq":"^1.0.1"},"license":"MIT","engines":{"node":">=4"},"homepage":"https://github.com/postcss/postcss-selector-parser","author":{"name":"Ben Briggs","email":"beneb.info@gmail.com","url":"http://beneb.info"},"repository":{"type":"git","url":"git+https://github.com/postcss/postcss-selector-parser.git"},"ava":{"require":"babel-register","concurrency":5},"nyc":{"exclude":["node_modules","**/__tests__"]},"eslintConfig":{"extends":"cssnano"},"gitHead":"a7efd748c0d5fc79563e5ea6fc13fe5161ddd249","description":"> Selector parser with built in methods for working with selector strings.","bugs":{"url":"https://github.com/postcss/postcss-selector-parser/issues"},"_id":"postcss-selector-parser@3.0.0-rc.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"beneb","email":"beneb.info@gmail.com"},"dist":{"integrity":"sha512-2UKOTLluMJelH/L6rK9dbQ6V4dLuPy0zAZeSb2O0Qz95fRJLXxLhB9I20u0q/WEJNjUJVCGkFfS07t6JZm+aJg==","shasum":"dfb74f1cf3bc043d5692e37203170ac2da40a150","tarball":"http://registry-npm.ywwl.com/postcss-selector-parser/download/postcss-selector-parser-3.0.0-rc.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX6LPy8NbHg4HrQfIfduhr4IiyGxnp6MUKqYTaWf7pngIgHdjftUvEAn0Dk9RkKhsNT4i5bPVYNCRzIaO7y2Iux8A="}],"size":18806,"noattachment":false,"key":"/postcss-selector-parser/-/postcss-selector-parser-3.0.0-rc.0.tgz"},"maintainers":[{"name":"beneb","email":"beneb.info@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-selector-parser-3.0.0-rc.0.tgz_1500207275070_0.21953769237734377"},"directories":{},"readme":"# postcss-selector-parser [![test](https://github.com/postcss/postcss-selector-parser/actions/workflows/test.yml/badge.svg)](https://github.com/postcss/postcss-selector-parser/actions/workflows/test.yml)\n\n> Selector parser with built in methods for working with selector strings.\n\n## Install\n\nWith [npm](https://npmjs.com/package/postcss-selector-parser) do:\n\n```\nnpm install postcss-selector-parser\n```\n\n## Quick Start\n\n```js\nconst parser = require('postcss-selector-parser');\nconst transform = selectors => {\n    selectors.walk(selector => {\n        // do something with the selector\n        console.log(String(selector))\n    });\n};\n\nconst transformed = parser(transform).processSync('h1, h2, h3');\n```\n\nTo normalize selector whitespace:\n\n```js\nconst parser = require('postcss-selector-parser');\nconst normalized = parser().processSync('h1, h2, h3', {lossless: false});\n// -> h1,h2,h3\n```\n\nAsync support is provided through `parser.process` and will resolve a Promise\nwith the resulting selector string.\n\n## API\n\nPlease see [API.md](API.md).\n\n## Credits\n\n* Huge thanks to Andrey Sitnik (@ai) for work on PostCSS which helped\n  accelerate this module's development.\n\n## License\n\nMIT\n","publish_time":1500207276141,"_cnpm_publish_time":1500207276141,"dist-tags":{"latest":"7.2.1","legacy-v6":"6.1.6"}}