{"name":"postcss-selector-matches","version":"4.0.0","description":"PostCSS plugin to transform :matches() W3C CSS pseudo class to more compatible CSS selectors","keywords":["postcss","postcss-plugin","selectors","selector","matches"],"author":{"name":"Maxime Thirouin"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/postcss/postcss-selector-matches.git"},"main":"dist/index.js","dependencies":{"balanced-match":"^1.0.0","postcss":"^7.0.2"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"^1.0.0","babel-preset-env":"^1.7.0","babel-preset-es2015":"^6.24.1","babel-preset-stage-2":"^6.24.1","babel-register":"^6.26.0","eslint":"^5.6.0","npmpub":"^4.1.0","tape":"^4.9.1"},"scripts":{"lint":"eslint ./src/*.js ./test/*.js","tape":"tape -r babel-register test/*.js","test":"npm run lint && npm run babelify && npm run tape","babelify":"babel src --out-dir dist","prepublish":"npm run babelify","release":"npmpub"},"gitHead":"adc8f082f980a987769e7bdb4b805055cad0d7c5","bugs":{"url":"https://github.com/postcss/postcss-selector-matches/issues"},"homepage":"https://github.com/postcss/postcss-selector-matches#readme","_id":"postcss-selector-matches@4.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-LgsHwQR/EsRYSqlwdGzeaPKVT0Ml7LAT6E75T8W8xLJY62CE4S/l03BWIt3jT8Taq22kXP08s2SfTSzaraoPww==","shasum":"71c8248f917ba2cc93037c9637ee09c64436fcff","tarball":"http://registry-npm.ywwl.com/postcss-selector-matches/download/postcss-selector-matches-4.0.0.tgz","fileCount":6,"unpackedSize":9576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboIvoCRA9TVsSAnZWagAAulsP/RnRe0UfPPHlS/Y3udwe\nRK9fbKKraw+4UyGwLtLy+ZWpaYOWfscgY7+8qBnBpE6zS13tt+X6sgCmDNZ5\ngeCQoyUTG7V8J82g/59i4I2cRykHkCikjzU+jGFcXX/r7rTtEMlUcwI1hmE7\nPnhiEDy32Dc7mUlsb/PC+cRETJNqrGNakmjXNSFdxBZwOjkwIGNo8FUyheCI\nyWFxxwl9VybygSv6bpBVbhCECpXjRWmjleHfptGc7RHnxncO6pWwJD6R3HiC\n0+r6Um3+GLZwYY91Up8Gq7Oy9DKDNE+tzWJOAi35XeA7ekBIXPJZc+izUP3B\nwhmjN6A2ISFRXWVkooOhegfvxlruwd5vv//QXn7O1J+98GkJNSwqFIl9+YVF\nSXuKw2T4SvGT2jc9teOagB3r5yaf6zBqdcJrydCopc02t5qmWqoKCDtk5YcY\nwLm9p7kPaxFEV40kcNmimMhBufExK2zbVIDruKMLkjWcj2aOMdb3CnAzqVtU\ngOh3OTzOAwU/VgQ2M970PBDnx+4DDAWn321xBYyyeTd0R5UQoR+WAPjFFRAq\ncnBlSe1NwqIgRRHSv21AFAf1krUC72Ed10x3yBXlggOIzjV5Md1Y6lhd5DV+\ntaqoeuI1rXgItXirYu/sS+hK2rEgPRg/fpQyR5UPuTe+zcSX1mD4cshbuEHu\ndMPo\r\n=2kmp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQzLGJLMRvJAzdHlRPTuDF0KhvK3GBuVw7phycOm9HeAiEA5SOwTpCGSM4HmAAPD8DjZqNuGJgWbjjOtyKoz4V7b68="}],"size":3756,"noattachment":false,"key":"/postcss-selector-matches/-/postcss-selector-matches-4.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"moox","email":"m@moox.io"},{"name":"semigradsky","email":"semigradskyd@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-selector-matches_4.0.0_1537248231333_0.7948711867090446"},"_hasShrinkwrap":false,"readme":"# postcss-selector-matches [![CSS Standard Status](https://cssdb.org/badge/matches-pseudo-class.svg)](https://cssdb.org/#matches-pseudo-class) [![Build Status](https://travis-ci.org/postcss/postcss-selector-matches.svg?branch=master)](https://travis-ci.org/postcss/postcss-selector-matches)\n\n> PostCSS plugin to transform `:matches()` W3C CSS pseudo class to more compatible CSS selectors\n\nhttp://dev.w3.org/csswg/selectors-4/#matches\n\n## Installation\n\n```console\n$ npm install postcss-selector-matches\n```\n\n## Usage\n\n```js\nvar postcss = require(\"postcss\")\n\nvar output = postcss()\n  .use(require(\"postcss-selector-matches\"))\n  .process(require(\"fs\").readFileSync(\"input.css\", \"utf8\"))\n  .css\n```\n\nUsing this `input.css`:\n\n```css\np:matches(:first-child, .special) {\n  color: red;\n}\n```\n\nyou will get:\n\n```css\np:first-child, p.special {\n  color: red;\n}\n```\n\n**Note that if you are doing crazy selector like `p:matches(a) {}` you are likely to get crazy results (like `pa {}`)**.\n\n\n## Options\n\n### `lineBreak`\n\n(default: `false`)\n\nAllows you to introduce a line break between generated selectors.\n\n---\n\n## [Changelog](CHANGELOG.md)\n\n## [License](LICENSE)\n","publish_time":1537248231503,"_cnpm_publish_time":1537248231503,"dist-tags":{"latest":"4.0.0"}}