{"maintainers":[{"name":"sventschui","email":"hi@sventschui.ch"}],"keywords":["postcss","postcss-plugin","pseudoelements","before","after"],"dist-tags":{"latest":"4.0.0"},"author":{"name":"Sven Tschui","email":"sven.tschui@axa.ch"},"description":"PostCSS plugin to add single-colon CSS 2.1 syntax pseudo selectors (i.e. :before)","readme":"# postcss-pseudoelements\n\npostcss helper for pseudo element colons, it handles double -> single and single -> double.\n\n## Usage\n\n### Double to Single (default)\n```javascript\nvar pe = require('postcss-pseudoelements');\nvar postcss = require('postcss');\nvar options = {\n\tsingle: true, // default\n\tselectors: ['before','after','first-letter','first-line'], // default\n};\n\nvar processor = postcss(pe(options));\n\nconsole.log(processor.process('a:before {}').css) // outputs: a:before {}\nconsole.log(processor.process('a::before {}').css) // outputs: a:before {}\n```\n\n### Single to Double\n\n```javascript\nvar pe = require('postcss-pseudoelements');\nvar postcss = require('postcss');\nvar options = {\n\tsingle: false,\n\tselectors: ['before','after','first-letter','first-line'], // default\n};\n\nvar processor = postcss(pe(options));\n\nconsole.log(processor.process('a:before {}').css) // outputs: a::before {}\nconsole.log(processor.process('a::before {}').css) // outputs: a::before {}\n```\n\n## Options\n\n`single`: Boolean\n* `true` (default) if you want to move from double colon to colon for backwards compatibility\n* `false` if you need double colons\n\n`selectors`: `Array` of pseudo-element selectors to rewrite with single and double colons. Note that these values will be used in a regexp without escaping. Defaults to `['before','after','first-letter','first-line']`\n\nexample selectors:\n```\nvar options = {\n  selectors: [\n    'hover',\n    'focus',\n    'active',\n    'after',\n    'ms-expand',\n    'not',\n    'first-child',\n    'last-child'\n  ],\n};\n```\n\n### Defaults\n```javascript\nvar options = {\n  single: true,\n  [\n    'before',\n    'after',\n    'first-letter',\n    'first-line'\n  ]\n};\n```\n","repository":{"type":"git","url":"git://github.com/axa-ch/postcss-pseudoelements.git"},"users":{"asaupup":true},"bugs":{"url":"https://github.com/axa-ch/postcss-pseudoelements/issues"},"license":"MIT","versions":{"1.0.0":{"name":"postcss-pseudoelements","version":"1.0.0","description":"PostCSS plugin to add single-colon CSS 2.1 syntax pseudo selectors (i.e. :before)","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/axa-ch/postcss-pseudoelements"},"keywords":["postcss","pseudoelements","before","after"],"author":{"name":"Sven Tschui","email":"sven.tschui@axa.ch"},"license":"MIT","bugs":{"url":"https://github.com/axa-ch/postcss-pseudoelements/issues"},"homepage":"https://github.com/axa-ch/postcss-pseudoelements","dependencies":{"minimatch":"^2.0.1"},"devDependencies":{"mocha":"^2.0.1","postcss":"^3.0.5","should":"^4.3.0"},"gitHead":"66bdf31daa3b4b27ba47f913f4ef3c1498b23c9b","_id":"postcss-pseudoelements@1.0.0","_shasum":"b38d70cf710fc6bf0ec56d294962b8ab3f52e39c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sventschui","email":"hi@sventschui.ch"},"maintainers":[{"name":"sventschui","email":"hi@sventschui.ch"}],"dist":{"shasum":"b38d70cf710fc6bf0ec56d294962b8ab3f52e39c","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/postcss-pseudoelements/-/postcss-pseudoelements-1.0.0.tgz"},"directories":{}},"2.0.0":{"name":"postcss-pseudoelements","version":"2.0.0","description":"PostCSS plugin to add single-colon CSS 2.1 syntax pseudo selectors (i.e. :before)","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/axa-ch/postcss-pseudoelements"},"keywords":["postcss","pseudoelements","before","after"],"author":{"name":"Sven Tschui","email":"sven.tschui@axa.ch"},"license":"MIT","bugs":{"url":"https://github.com/axa-ch/postcss-pseudoelements/issues"},"homepage":"https://github.com/axa-ch/postcss-pseudoelements","dependencies":{"minimatch":"^2.0.1"},"devDependencies":{"mocha":"^2.0.1","postcss":"^3.0.5","should":"^4.3.0"},"gitHead":"890459f6b0d0f114b350e2201ff60f676eb329aa","_id":"postcss-pseudoelements@2.0.0","_shasum":"3e1c961d51d78c787ab3b529843b2dda0b40095a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"sventschui","email":"hi@sventschui.ch"},"maintainers":[{"name":"sventschui","email":"hi@sventschui.ch"}],"dist":{"shasum":"3e1c961d51d78c787ab3b529843b2dda0b40095a","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/postcss-pseudoelements/-/postcss-pseudoelements-2.0.0.tgz"},"directories":{}},"2.1.0":{"name":"postcss-pseudoelements","version":"2.1.0","description":"PostCSS plugin to add single-colon CSS 2.1 syntax pseudo selectors (i.e. :before)","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/axa-ch/postcss-pseudoelements"},"keywords":["postcss","pseudoelements","before","after"],"author":{"name":"Sven Tschui","email":"sven.tschui@axa.ch"},"license":"MIT","bugs":{"url":"https://github.com/axa-ch/postcss-pseudoelements/issues"},"homepage":"https://github.com/axa-ch/postcss-pseudoelements","dependencies":{"minimatch":"^2.0.1"},"devDependencies":{"mocha":"^2.0.1","postcss":"^3.0.5","should":"^4.3.0"},"gitHead":"f96e5c28af38f8d5bec1e1ee4365cbed12c9cbca","_id":"postcss-pseudoelements@2.1.0","_shasum":"30a299600cf8ab13d7232c7fe123845f35485ab2","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"sventschui","email":"hi@sventschui.ch"},"maintainers":[{"name":"sventschui","email":"hi@sventschui.ch"}],"dist":{"shasum":"30a299600cf8ab13d7232c7fe123845f35485ab2","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/postcss-pseudoelements/-/postcss-pseudoelements-2.1.0.tgz"},"directories":{}},"2.1.1":{"name":"postcss-pseudoelements","version":"2.1.1","description":"PostCSS plugin to add single-colon CSS 2.1 syntax pseudo selectors (i.e. :before)","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/axa-ch/postcss-pseudoelements"},"keywords":["postcss","pseudoelements","before","after"],"author":{"name":"Sven Tschui","email":"sven.tschui@axa.ch"},"license":"MIT","bugs":{"url":"https://github.com/axa-ch/postcss-pseudoelements/issues"},"homepage":"https://github.com/axa-ch/postcss-pseudoelements","devDependencies":{"mocha":"^2.0.1","postcss":">=3.0.5","should":"^5.0.0"},"gitHead":"fb239fa176cca3110652c6a4631b0dbdbcce6233","_id":"postcss-pseudoelements@2.1.1","_shasum":"ea401b2b78531a91e8d64284c8796f6804d7c309","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"sventschui","email":"hi@sventschui.ch"},"maintainers":[{"name":"sventschui","email":"hi@sventschui.ch"}],"dist":{"shasum":"ea401b2b78531a91e8d64284c8796f6804d7c309","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/postcss-pseudoelements/-/postcss-pseudoelements-2.1.1.tgz"},"directories":{}},"2.2.0":{"name":"postcss-pseudoelements","version":"2.2.0","description":"PostCSS plugin to add single-colon CSS 2.1 syntax pseudo selectors (i.e. :before)","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/axa-ch/postcss-pseudoelements"},"keywords":["postcss","postcss-plugin","pseudoelements","before","after"],"author":{"name":"Sven Tschui","email":"sven.tschui@axa.ch"},"license":"MIT","bugs":{"url":"https://github.com/axa-ch/postcss-pseudoelements/issues"},"homepage":"https://github.com/axa-ch/postcss-pseudoelements","devDependencies":{"mocha":"^2.0.1","should":"^5.0.0"},"dependencies":{"postcss":"^4.1.11"},"gitHead":"2fe38c8de88aaf9cd8f516eedb6350e24724cb5f","_id":"postcss-pseudoelements@2.2.0","_shasum":"4b2dd3184479237c723f4f1d740edc36feb875be","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"sventschui","email":"hi@sventschui.ch"},"maintainers":[{"name":"sventschui","email":"hi@sventschui.ch"}],"dist":{"shasum":"4b2dd3184479237c723f4f1d740edc36feb875be","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/postcss-pseudoelements/-/postcss-pseudoelements-2.2.0.tgz"},"directories":{}},"3.0.0":{"name":"postcss-pseudoelements","version":"3.0.0","description":"PostCSS plugin to add single-colon CSS 2.1 syntax pseudo selectors (i.e. :before)","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/axa-ch/postcss-pseudoelements.git"},"keywords":["postcss","postcss-plugin","pseudoelements","before","after"],"author":{"name":"Sven Tschui","email":"sven.tschui@axa.ch"},"license":"MIT","bugs":{"url":"https://github.com/axa-ch/postcss-pseudoelements/issues"},"homepage":"https://github.com/axa-ch/postcss-pseudoelements","devDependencies":{"mocha":"^2.0.1","should":"^5.0.0"},"dependencies":{"postcss":"^5.0.4"},"gitHead":"d1564a2e1ac3c0ea5c5f48e6427e3b9ad978cf0f","_id":"postcss-pseudoelements@3.0.0","_shasum":"6c682177c7900ba053b6df17f8c590284c7b8bbc","_from":".","_npmVersion":"2.8.4","_nodeVersion":"0.10.33","_npmUser":{"name":"sventschui","email":"hi@sventschui.ch"},"maintainers":[{"name":"sventschui","email":"hi@sventschui.ch"}],"dist":{"shasum":"6c682177c7900ba053b6df17f8c590284c7b8bbc","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/postcss-pseudoelements/-/postcss-pseudoelements-3.0.0.tgz"},"directories":{}},"4.0.0":{"name":"postcss-pseudoelements","version":"4.0.0","description":"PostCSS plugin to add single-colon CSS 2.1 syntax pseudo selectors (i.e. :before)","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/axa-ch/postcss-pseudoelements.git"},"keywords":["postcss","postcss-plugin","pseudoelements","before","after"],"author":{"name":"Sven Tschui","email":"sven.tschui@axa.ch"},"license":"MIT","bugs":{"url":"https://github.com/axa-ch/postcss-pseudoelements/issues"},"homepage":"https://github.com/axa-ch/postcss-pseudoelements","devDependencies":{"mocha":"^2.0.1","should":"^5.0.0"},"dependencies":{"postcss":"^5.0.4"},"gitHead":"3b1b6eb9455876a334e5276e1df820da08834990","_id":"postcss-pseudoelements@4.0.0","_shasum":"9acce229d5ed060a3d0e48c5cfd62f3ebec70603","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"sventschui","email":"hi@sventschui.ch"},"maintainers":[{"name":"sventschui","email":"hi@sventschui.ch"}],"dist":{"shasum":"9acce229d5ed060a3d0e48c5cfd62f3ebec70603","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/postcss-pseudoelements/-/postcss-pseudoelements-4.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-pseudoelements-4.0.0.tgz_1490304887246_0.9665871115867049"},"directories":{}}},"name":"postcss-pseudoelements","time":{"modified":"2017-03-23T21:34:49.283Z","created":"2014-12-05T13:53:54.885Z","1.0.0":"2014-12-05T13:53:54.885Z","2.0.0":"2015-03-23T11:27:35.282Z","2.1.0":"2015-03-23T13:13:21.190Z","2.1.1":"2015-03-24T18:22:37.475Z","2.2.0":"2015-05-24T08:46:02.897Z","3.0.0":"2015-09-07T05:33:06.071Z","4.0.0":"2017-03-23T21:34:49.283Z"},"readmeFilename":"README.md","homepage":"https://github.com/axa-ch/postcss-pseudoelements"}