{"name":"postcss-selector-matches","version":"3.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","files":["dist"],"dependencies":{"balanced-match":"^0.4.2","postcss":"^6.0.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-env":"^1.4.0","babel-preset-es2015":"^6.14.0","babel-preset-stage-2":"^6.13.0","babel-register":"^6.24.1","eslint":"^3.19.0","npmpub":"^3.1.0","tape":"^4.6.3"},"scripts":{"lint":"eslint *.js ./src/ ./test/","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":"b701fa61e39bec9547006c76eee6c9657f3a7892","bugs":{"url":"https://github.com/postcss/postcss-selector-matches/issues"},"homepage":"https://github.com/postcss/postcss-selector-matches#readme","_id":"postcss-selector-matches@3.0.0","_shasum":"a736921ba1f96e0938f72684c05a6579441bb038","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"semigradsky","email":"semigradskyd@gmail.com"},"dist":{"shasum":"a736921ba1f96e0938f72684c05a6579441bb038","tarball":"http://registry-npm.ywwl.com/postcss-selector-matches/download/postcss-selector-matches-3.0.0.tgz","integrity":"sha512-CBaotiSYubWvciUz8ipbHQplMLoSvAthjDaJnVLOJavLAWJlfQkPWtXAQ6tSm2UZEM2BuFFu873WHYHshi9csg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAI9Da3bAic/B7OFi/gZtOq1fpLZ8kgj82NKOEI0QpiyAiEA0IaS+KwDbnwPxf/xBDaNcaxzW7XChELkOId7gGDSh28="}],"size":3703,"noattachment":false,"key":"/postcss-selector-matches/-/postcss-selector-matches-3.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"moox","email":"m@moox.io"},{"name":"semigradsky","email":"semigradskyd@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/postcss-selector-matches-3.0.0.tgz_1494518842943_0.2019914253614843"},"directories":{},"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":1494518844064,"_cnpm_publish_time":1494518844064,"dist-tags":{"latest":"4.0.0"}}