{"name":"postcss-selector-matches","version":"1.2.0","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":"36a25f73cd5b48b580719b01ac22d23d08fbce60","_id":"postcss-selector-matches@1.2.0","_shasum":"8a736a065982327a341e1cf59723b44e82c49c19","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.1","_npmUser":{"name":"moox","email":"m@moox.io"},"maintainers":[{"name":"moox","email":"m@moox.io"}],"dist":{"shasum":"8a736a065982327a341e1cf59723b44e82c49c19","tarball":"http://registry-npm.ywwl.com/postcss-selector-matches/download/postcss-selector-matches-1.2.0.tgz","integrity":"sha512-Oj0wUIv28lGXjBTb7pqgfZENQiicooOobGBpFIu1rHcBy6kjcFBuBREKB5RFEyrNRGG6kcGQk4Bqy/TFSl/B8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHYBBkrbbRWyffS5/4GsBBGTcKgMj2C14YmDUe5ONvKnAiBP+yIsrS4mTCR2nUiz8PKb2oeHkHPYkBL2yS96+8IoOA=="}],"size":3188,"noattachment":false,"key":"/postcss-selector-matches/-/postcss-selector-matches-1.2.0.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":1436851673790,"_cnpm_publish_time":1436851673790,"dist-tags":{"latest":"4.0.0"}}