{"name":"postcss-pseudo-class-any-link","description":"Use the :any-link pseudo-class in CSS","version":"7.1.5","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.2"},"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":"6f422611149fe8b22210be8fdf1db28215f4e383","_id":"postcss-pseudo-class-any-link@7.1.5","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-nSGKGScwFTaaV8Cyi27W9FegX3l3b7tmNxujxmykI/j3++cBAiq8fTUAU3ZK0s2aneN2T8cTUvKdNedzp3JIEA==","shasum":"1233b054004c386c681c553af35f68ec03fffaa6","tarball":"http://registry-npm.ywwl.com/postcss-pseudo-class-any-link/download/postcss-pseudo-class-any-link-7.1.5.tgz","fileCount":6,"unpackedSize":19650,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLRJ4B4BEqX1e6CmgPHsi2PLwvSJxb8h7/o3wd9hjkGQIgXlIbIeoLBq01/QYcG4i4iCd615lq85B5Tgfgg/+yYe0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitGR1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrq8w/+OPLw12Mw5aIRxxwsy1adIGIRJpaBgkoiClcm83f+HAs+LcsH\r\neXwjFlIi4jXx3cpGuHAJkTA5vxzmM18sQakqryRfSdLQLBqbhiEaaswVunqN\r\nDZN/m/4Csg6aXHHiO0S20yUz3jV3hI1/fAw+igGhuExcYZonYtNYEWGak5EP\r\niR9RS2UaX/fnxpkC8GrRJmgYihOQLWF+1GgARqE1LkNUPjLkjWIN+smP8Z5G\r\nLzqpYIrkLnObmJ06dgCusZXFjCCh8tzHDSIc12VyY90seOE29pirT6hrx4X2\r\nQvvUJoD1VP/0A/Kv9x05huyjqkXJvZZJPZXT52fBC4mJy5iASOObBC9D3mkZ\r\n4cH6qSYFf+EZsEHC+6SyU1PtvontvKgqdrP8W0nwFwmSPdFGyWPzZzdWCueN\r\ndh1vFOHAZ9x5nKJL99x451yCsAvttd7l+eRuaBqnOZJOWjU1MGaEXcq7c7s7\r\ncDyA+NjC9o1xWn3n07icIpAJ/3PJs8cXh+lFBSrl7YONpZR9nH9L8TrQJ+Y4\r\nX4jYrlAKSvocnaATVghqJbeNdLwEqkZQ0TzznxX1ypnjH1qAKgVMLmMHG+SP\r\n+3/BNOf9UBVizHMimO6jnQpJsn4zISYrEve4uLyWDY20ZqXd28zJZ306HmJl\r\nl48TNKU44qsMf+xzvm+PsiU8koOUYy4B9Qc=\r\n=uXDq\r\n-----END PGP SIGNATURE-----\r\n","size":6950,"noattachment":false,"key":"/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-7.1.5.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.5_1655989365662_0.2740548177142026"},"_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":1655989365858,"_cnpm_publish_time":1655989365858,"dist-tags":{"latest":"11.0.1"}}