{"name":"postcss-selector-matches","version":"2.0.2","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":"^5.0.0"},"devDependencies":{"babel-cli":"^6.14.0","babel-preset-es2015":"^6.14.0","babel-preset-stage-2":"^6.13.0","babel-tape-runner":"^2.0.1","eslint":"^3.4.0","npmpub":"^3.1.0","tape":"^4.0.0"},"scripts":{"lint":"eslint .","tape":"babel-tape-runner 'test/*.js'","test":"npm run lint && npm run tape","prepublish":"babel src --out-dir dist","release":"npmpub"},"gitHead":"8a902dc6b63244409b6c9dc3efe2c09f32a52f81","bugs":{"url":"https://github.com/postcss/postcss-selector-matches/issues"},"homepage":"https://github.com/postcss/postcss-selector-matches#readme","_id":"postcss-selector-matches@2.0.2","_shasum":"554b779d41179ad59e33a4df2a3653042bb5729b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"moox","email":"m@moox.io"},"dist":{"shasum":"554b779d41179ad59e33a4df2a3653042bb5729b","tarball":"http://registry-npm.ywwl.com/postcss-selector-matches/download/postcss-selector-matches-2.0.2.tgz","integrity":"sha512-+VGDA4s0K6Pg6/C619fiFqRwJ58Rx29PDFpW0jp8GR1/AsXMEtI3IejBkZO5fLhLxcOY3/LRoHxC80JtGt9JQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtRvqWzmsiZjMrzPfjNRxfd54FvCmnTYcBSeS2lBGvUgIgCLRZxdej/wTY56zJlev6kCOdHH522/cmemQ8EjL4w+4="}],"size":3574,"noattachment":false,"key":"/postcss-selector-matches/-/postcss-selector-matches-2.0.2.tgz"},"maintainers":[{"name":"moox","email":"m@moox.io"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/postcss-selector-matches-2.0.2.tgz_1473141552709_0.5368489222601056"},"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":1473141553296,"_cnpm_publish_time":1473141553296,"dist-tags":{"latest":"4.0.0"}}