{"name":"postcss-selector-parser","version":"6.1.1","devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/eslint-parser":"^7.11.5","@babel/eslint-plugin":"^7.11.5","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/preset-env":"^7.11.5","@babel/register":"^7.11.5","ava":"^5.1.0","babel-plugin-add-module-exports":"^1.0.4","coveralls":"^3.1.0","del-cli":"^5.0.0","eslint":"^8.28.0","eslint-plugin-import":"^2.26.0","glob":"^8.0.3","minimist":"^1.2.5","nyc":"^15.1.0","postcss":"^8.4.31","semver":"^7.3.2","typescript":"^4.0.3"},"main":"dist/index.js","types":"postcss-selector-parser.d.ts","scripts":{"typecheck":"tsc --noEmit --strict postcss-selector-parser.d.ts postcss-selector-parser.test.ts","pretest":"eslint src && npm run typecheck","prepare":"del-cli dist && BABEL_ENV=publish babel src --out-dir dist --ignore /__tests__/","lintfix":"eslint --fix src","report":"nyc report --reporter=html","test":"nyc ava src/__tests__/*.mjs","testone":"ava"},"dependencies":{"cssesc":"^3.0.0","util-deprecate":"^1.0.2"},"license":"MIT","engines":{"node":">=4"},"homepage":"https://github.com/postcss/postcss-selector-parser","contributors":[{"name":"Ben Briggs","email":"beneb.info@gmail.com","url":"http://beneb.info"},{"name":"Chris Eppstein","email":"chris@eppsteins.net","url":"http://twitter.com/chriseppstein"}],"repository":{"type":"git","url":"git+https://github.com/postcss/postcss-selector-parser.git"},"ava":{"require":["@babel/register"],"concurrency":5,"timeout":"25s","nodeArguments":[]},"nyc":{"exclude":["node_modules","**/__tests__"]},"_id":"postcss-selector-parser@6.1.1","gitHead":"6b31ffbc8d0917fcb3c73d5c0922dab7f9d510dd","description":"> Selector parser with built in methods for working with selector strings.","bugs":{"url":"https://github.com/postcss/postcss-selector-parser/issues"},"_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-b4dlw/9V8A71rLIDsSwVmak9z2DuBUB7CA1/wSdelNEzqsjoSPeADTWNO09lpH49Diy3/JIZ2bSPB1dI3LJCHg==","shasum":"5be94b277b8955904476a2400260002ce6c56e38","tarball":"http://registry-npm.ywwl.com/postcss-selector-parser/download/postcss-selector-parser-6.1.1.tgz","fileCount":36,"unpackedSize":186290,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEUkv6o+nTJdCDwjYyz5WKcCh7PcYFXfVCwCU/JcXpgfAiBLhsf5NYXCm8d/0dyhoROF+wPEOVnz3FvCm4VFi5KJjg=="}],"size":42904,"noattachment":false,"key":"/postcss-selector-parser/-/postcss-selector-parser-6.1.1.tgz"},"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-selector-parser_6.1.1_1720723767977_0.5096075549956443"},"_hasShrinkwrap":false,"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":1720723768136,"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"},{"name":"chriseppstein","email":"chris@eppsteins.net"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"evilebottnawi","email":"sheo13666q@gmail.com"}],"_cnpm_publish_time":1720723768136,"dist-tags":{"latest":"7.2.1","legacy-v6":"6.1.6"}}