{"name":"postcss-pseudo-class-any-link","version":"6.0.0","description":"Use the :any-link pseudo-class in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-pseudo-class-any-link.git"},"homepage":"https://github.com/jonathantneal/postcss-pseudo-class-any-link#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-pseudo-class-any-link/issues"},"main":"index.cjs.js","module":"index.es.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:ec":"echint --ignore index.*.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=6.0.0"},"dependencies":{"postcss":"^7.0.2","postcss-selector-parser":"^5.0.0-rc.3"},"devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^9.0.0","eslint":"^5.6.0","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.0","rollup-plugin-babel":"^4.0.1"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","link","visited","any-link","a","area","hyperlink","href"],"gitHead":"9ff821af0d9f8af6d60e0e7adb6eaa29488c176f","_id":"postcss-pseudo-class-any-link@6.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-lgXW9sYJdLqtmw23otOzrtbDXofUdfYzNm4PIpNE322/swES3VU9XlXHeJS46zT2onFO7V1QFdD4Q9LiZj8mew==","shasum":"2ed3eed393b3702879dec4a87032b210daeb04d1","tarball":"http://registry-npm.ywwl.com/postcss-pseudo-class-any-link/download/postcss-pseudo-class-any-link-6.0.0.tgz","fileCount":8,"unpackedSize":25224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboHsbCRA9TVsSAnZWagAA3PgP/24l7LA5AJKGvo4Et0ZX\nISlCD+oZNQLr05ovrwDu3khvNlG5F55Vl8Nd4OzE84o4oyMgHB0W9+KUSN3q\nj+11N4/vUSMFUMh+oAZuq43Lbjs9ZXpJZ8qsXDn7IDOx+g9xZsf1zOCATgkh\niiSG9pdDU5okdgnRqa/CICftJHAqcm2Arrj7qNpPB8AYtl70CBy2s/tADvp5\n4NJC+YQQQ2BDDdzVOE6x6pXdjyIwb90ABFLROlC1icFOL9IXRNtALcpk8uTw\nibce8Tq4o7ccIkFp6NWRdHqQ4h29cs5aDtv7SIgXt6znC52AXxr3GsopiSKs\nYnsgE4lEhmGXaKC8QoiaHSVT/GSOBJr7dsoxqyspgkbzgBRmUfrWCBC30HGN\n+RqfrsnMtlEk7OkJ70ndcbvnaK9QkSfjUaM2Da7bJR7eikjgKVQ93vURFt8z\nHG1882tkWaffR0bdlVE9D7HZ143WQxBrk9LrroxjWu2gv2+F6DJdEEXvO3TW\nWdT/cJcPrLO1EA4LIFzDBHcSb43pKTrI+DiwsfZlGwYoQk0uIxIb/TqUJm4f\nPvib47Dvi6qgitSSnZiAkKYAX7T8CtUSbie25FuVfmQEzD0F4uuUjLWKidrb\nfq+kJNx2KAPmx5ZMz8YdG/4V2Mz+6z1wwV6KYhdFu6R08OepfTrwC8XStqom\nECtJ\r\n=KuNn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx5bTVYcrlfopols5ZTVHpiUUuSXkFmsF+YdKRs47cyAIgfsMZh/PDmO3Dzxu19qJ5F0E4DDm27cqbXwI5l4aad7o="}],"size":6937,"noattachment":false,"key":"/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-6.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-pseudo-class-any-link_6.0.0_1537243931024_0.5596169031671316"},"_hasShrinkwrap":false,"readme":"# PostCSS Pseudo Class Any Link [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][PostCSS]\n\n[<img alt=\"npm version\" src=\"https://img.shields.io/npm/v/postcss-pseudo-class-any-link.svg\" height=\"20\">][npm-url] [<img alt=\"Build Status\" src=\"https://github.com/csstools/postcss-plugins/workflows/test/badge.svg\" height=\"20\">][cli-url] [<img alt=\"Discord\" src=\"https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white\">][discord]<br><br>[<img alt=\"Baseline Status\" src=\"https://cssdb.org/images/badges-baseline/any-link-pseudo-class.svg\" height=\"20\">][css-url] [<img alt=\"CSS Standard Status\" src=\"https://cssdb.org/images/badges/any-link-pseudo-class.svg\" height=\"20\">][css-url] \n\n```bash\nnpm install postcss-pseudo-class-any-link --save-dev\n```\n\n[PostCSS Pseudo Class Any Link] lets you `:any-link` pseudo-class in CSS,\nfollowing the [Selectors] specification.\n\n```pcss\nnav :any-link > span {\n\tbackground-color: yellow;\n}\n\n/* becomes */\n\nnav :link > span, nav :visited > span {\n\tbackground-color: yellow;\n}\nnav :any-link > span {\n\tbackground-color: yellow;\n}\n```\n\n## Usage\n\nAdd [PostCSS Pseudo Class Any Link] to your project:\n\n```bash\nnpm install postcss postcss-pseudo-class-any-link --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssPseudoClassAnyLink = require('postcss-pseudo-class-any-link');\n\npostcss([\n\tpostcssPseudoClassAnyLink(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n[PostCSS Pseudo Class Any Link] runs in all Node environments, with special\ninstructions for:\n\n- [Node](INSTALL.md#node)\n- [PostCSS CLI](INSTALL.md#postcss-cli)\n- [PostCSS Load Config](INSTALL.md#postcss-load-config)\n- [Webpack](INSTALL.md#webpack)\n- [Next.js](INSTALL.md#nextjs)\n- [Gulp](INSTALL.md#gulp)\n- [Grunt](INSTALL.md#grunt)\n\n## Options\n\n### preserve\n\nThe `preserve` option determines whether the original notation\nis preserved. By default, it is preserved.\n\n```js\npostcssPseudoClassAnyLink({ preserve: false })\n```\n\n```pcss\nnav :any-link > span {\n\tbackground-color: yellow;\n}\n\n/* becomes */\n\nnav :link > span, nav :visited > span {\n\tbackground-color: yellow;\n}\n```\n\n### subFeatures\n\n#### areaHrefNeedsFixing\n\nThe `subFeatures.areaHrefNeedsFixing` option determines if `<area href>` elements should match `:any-link` pseudo-class.<br>\nIn IE and Edge these do not match `:link` or `:visited`.\n\n_This increased CSS bundle size and is disabled by default._\n\n```js\npostcssPseudoClassAnyLink({\n\tsubFeatures: {\n\t\tareaHrefNeedsFixing: true\n\t}\n})\n```\n\n```pcss\nnav :any-link > span {\n\tbackground-color: yellow;\n}\n\n/* becomes */\n\nnav :link > span, nav :visited > span, nav area[href] > span {\n\tbackground-color: yellow;\n}\nnav :any-link > span {\n\tbackground-color: yellow;\n}\n```\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[css-url]: https://cssdb.org/#any-link-pseudo-class\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/postcss-pseudo-class-any-link\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Pseudo Class Any Link]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-pseudo-class-any-link\n[Selectors]: https://www.w3.org/TR/selectors-4/#the-any-link-pseudo\n","publish_time":1537243931166,"_cnpm_publish_time":1537243931166,"dist-tags":{"latest":"11.0.1"}}