{"name":"postcss-selector-matches","version":"2.0.4","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":"d310509324a23038cda9f5cacdfeb72d8202d899","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.4","_shasum":"49d4863d9b5f189375935c3f84937a24b6feca2c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"moox","email":"m@moox.io"},"dist":{"shasum":"49d4863d9b5f189375935c3f84937a24b6feca2c","tarball":"http://registry-npm.ywwl.com/postcss-selector-matches/download/postcss-selector-matches-2.0.4.tgz","integrity":"sha512-NTznVp7GgFavhQpn9HafsOCuL7uPZgEm0xGsJqMchfoshOzFGwfr0r1hXJufO4IPtT+ICqnAoqXg3sUEAVXlKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGEyBumPMuYGWuobclLV/Lz3FfePa26K/Bgm7SWYksruAiAY6/3P5ux7BqcqJaaOfA5femRb1DI3F2WWakkInuvztw=="}],"size":3732,"noattachment":false,"key":"/postcss-selector-matches/-/postcss-selector-matches-2.0.4.tgz"},"maintainers":[{"name":"moox","email":"m@moox.io"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/postcss-selector-matches-2.0.4.tgz_1473197630640_0.44106094469316304"},"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":1473197631615,"_cnpm_publish_time":1473197631615,"dist-tags":{"latest":"4.0.0"}}