{"name":"postcss-selector-matches","version":"1.1.1","description":"PostCSS plugin to transform :matches() W3C CSS pseudo class to more compatible CSS selectors","keywords":["postcss","selectors","selector","matches"],"author":{"name":"Maxime Thirouin"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/postcss/postcss-selector-matches.git"},"homepage":"https://github.com/postcss/postcss-selector-matches","bugs":{"url":"https://github.com/postcss/postcss-selector-matches/issues"},"files":["CHANGELOG.md","LICENSE","dist"],"main":"dist/index.js","dependencies":{"balanced-match":"^0.2.0","postcss":"^4.1.7"},"devDependencies":{"babel":"^5.5.8","babel-eslint":"^3.1.15","babel-tape-runner":"^1.1.0","eslint":"^0.23.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"},"gitHead":"fcd0a36a9f9c9cdc67c3683fae95302d4544816c","_id":"postcss-selector-matches@1.1.1","_shasum":"fd8dd4ec7ef0614edba22e20e9de7cdac1b78611","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.1","_npmUser":{"name":"moox","email":"m@moox.io"},"maintainers":[{"name":"moox","email":"m@moox.io"}],"dist":{"shasum":"fd8dd4ec7ef0614edba22e20e9de7cdac1b78611","tarball":"http://registry-npm.ywwl.com/postcss-selector-matches/download/postcss-selector-matches-1.1.1.tgz","integrity":"sha512-nDUKHQnuNJgvUGemh66bk+c23l73bFXXdNK1a7IU6BrZIYo4PVpDFpBT5ud+x7Yoad16BNsuQA1/iLNYIIT5Yw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDKV2nnwSgDqHoMVFFUgbXS+Y9ZiY1pjBCewdDCaml1WAiAzIiDuMORyPzO67+zN5L/Z8wHtIq0VHwJ1ocvIHNsJcw=="}],"size":2857,"noattachment":false,"key":"/postcss-selector-matches/-/postcss-selector-matches-1.1.1.tgz"},"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":1434522735980,"_cnpm_publish_time":1434522735980,"dist-tags":{"latest":"4.0.0"}}