{"name":"postcss-selector-matches","version":"1.0.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":"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.1.13","babel-eslint":"^3.0.1","babel-tape-runner":"^1.1.0","eslint":"^0.20.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":"ecbae8d9976150087edf51aba9cdbb86c0af6a79","_id":"postcss-selector-matches@1.0.0","_shasum":"5f635eeb68769cb86631e67b181ddcc6ea00814e","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"moox","email":"m@moox.io"},"maintainers":[{"name":"moox","email":"m@moox.io"}],"dist":{"shasum":"5f635eeb68769cb86631e67b181ddcc6ea00814e","tarball":"http://registry-npm.ywwl.com/postcss-selector-matches/download/postcss-selector-matches-1.0.0.tgz","integrity":"sha512-3UyEub7K77k7BRVni+1YDI95PYjWj5JCyErTFd0lCTK3HU+OrOzCJzmXywxMtcG4uXqzL7TYTni3EPTytWY9Sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVqBBnMHVqqbSVww81sE4MppkBN/Rd8ImaiQJYmN2PugIhALEGTCg3Mq2D6L6YNZjMn6SYRAMaBxjXwaPmR86wPeqX"}],"size":2438,"noattachment":false,"key":"/postcss-selector-matches/-/postcss-selector-matches-1.0.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":1430371497871,"_cnpm_publish_time":1430371497871,"dist-tags":{"latest":"4.0.0"}}