{"name":"postcss-pseudo-class-any-link","description":"Use the :any-link pseudo-class in CSS","version":"7.1.4","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"engines":{"node":"^12 || ^14 || >=16"},"main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"dependencies":{"postcss-selector-parser":"^6.0.10"},"peerDependencies":{"postcss":"^8.4"},"scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","docs":"node ../../.github/bin/generate-docs/install.mjs","lint":"npm run lint:eslint && npm run lint:package-json","lint:eslint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","lint:package-json":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run clean && npm run build && npm run test","test":"node .tape.mjs && npm run test:exports","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.mjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-pseudo-class-any-link#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-pseudo-class-any-link"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["a","any-link","area","css","href","hyperlink","link","postcss","postcss-plugin","visited"],"csstools":{"exportName":"postcssPseudoClassAnyLink","humanReadableName":"PostCSS Pseudo Class Any Link"},"volta":{"extends":"../../package.json"},"gitHead":"0530b05bb161490af8d9af632b2d8f692299b89a","_id":"postcss-pseudo-class-any-link@7.1.4","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-JxRcLXm96u14N3RzFavPIE9cRPuOqLDuzKeBsqi4oRk4vt8n0A7I0plFs/VXTg7U2n7g/XkQi0OwqTO3VWBfEg==","shasum":"ac72aac4fe11fc4a0a368691f8fd5fe89e95aba4","tarball":"http://registry-npm.ywwl.com/postcss-pseudo-class-any-link/download/postcss-pseudo-class-any-link-7.1.4.tgz","fileCount":6,"unpackedSize":20370,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAr4CziOeY5ug9apSTATfc6o2yPbIl763WRd82TV8+QIAiACQ3Kga15DPAh07aoeFf3iJL8t3oPafIGa5lq03MidVA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigzIHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpaCxAAhuzwG/9YsLuN9TVJgCGXyK+63SozQ50chVHP6BRFz5gdNu1U\r\n6ST+34QQiRf2waYfgytU0yS+iXNu+1DINo498BZBw3sX4SO1LMYA2CQ2gmqW\r\nC4Zc8Va542stphkkAethmFnbYVY4k5gTlRLqJUG+jZjl42wp2Kg2G4i3MVmZ\r\ny5t4bcXHp1o9bTKQwazL9PkOqohtOGVcVVEdPDJktBZRnMpjeln+td4Vrbzd\r\nN4JVoHRnnzNMk7E/RR/tkR+Noi9Kqn1ivD9e+pggICWlM08YLK1XQStcSOxK\r\nyIlwRaS+Iqp+YzVuZk0j0vX2UY/b2mA/nBMFoB7N9xLhE+0N2m5Q0lQyGaSE\r\nAecR1RCcNy2l/4pzSl131MZJA3QAIfryngyKRYGu4mROvsa5QTtq6LiVORMB\r\nMBGGfIMrggZn8SdKeP4ZiPt3f91bBjTyA5m8apVJde5ebR9VyD/DMYhgR+Ru\r\nkZ7c3kS8XfYrETKqima72uxTv+06mad98YKXpz+nDVgkrT6J53jdKXgRa9Di\r\nD643kzLfDQpk+476TzK8Sxt6F1gUQIrxKx4aHQ121ML1Y1gy7oSmNOIBDkOE\r\nzPxWous9zdfTQ/jpxxH1ZudiOuTB+gnMpGQmVGUc70BXXds6hXfjsR2UwVmx\r\necO7yuOVNP3JSzN9w2vCcqQDHNk5192wOY8=\r\n=+7YN\r\n-----END PGP SIGNATURE-----\r\n","size":7154,"noattachment":false,"key":"/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-7.1.4.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-pseudo-class-any-link_7.1.4_1652765190979_0.7748178809748769"},"_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":1652765191173,"_cnpm_publish_time":1652765191173,"dist-tags":{"latest":"11.0.1"}}