{"_id":"@csstools/generate-idents","_rev":"1757752","name":"@csstools/generate-idents","description":"Generate collision free CSS identifiers","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"time":{"modified":"2026-11-22T02:53:53.000Z","created":"2026-11-17T12:19:56.248Z","1.0.0":"2026-11-17T12:22:04.064Z","0.0.0-stage":"2026-11-17T12:19:56.248Z"},"users":{},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"packages/generate-idents"},"versions":{"1.0.0":{"_id":"@csstools/generate-idents@1.0.0","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"2dd29769761fa54ddf843b2630fe058de9ba1688","tarball":"http://registry-npm.ywwl.com/@csstools/generate-idents/download/@csstools/generate-idents-1.0.0.tgz","fileCount":6,"integrity":"sha512-TT2gWdTvPXNBFN6ntxDv8ZH23YCbRuWIyYzatKgYROvdMfjBHOuup2f4qQVnOOtIgzHjsmn66xvCi90SgARdsQ==","signatures":[{"sig":"MEUCIBa8zCJ/3eR3ppmPPwYiWmgXEiiDIFxQD1oHYFJ9sMgKAiEAy+ghiDKIlAE1iqEDdvYXmxWSUoyh1m7tYw8+RxCvb8s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBTzfxgp1Yx9WzhXeoHly580zfNxlzvso72w2l8rhonoAiB/LGJJ64QnscUu5quRU6dxSgpD7qq1CoQxXVu+OWLCjw=="}],"unpackedSize":5022,"size":2564,"noattachment":false,"key":"/@csstools/generate-idents/-/@csstools/generate-idents-1.0.0.tgz"},"name":"@csstools/generate-idents","type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"3852cce8e9403b2c409668a22bdb15ed16797895","license":"MIT-0","scripts":{},"version":"1.0.0","_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/packages/generate-idents#readme","keywords":["css","ident","postcss"],"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"packages/generate-idents"},"_npmVersion":"11.13.0","description":"Generate collision free CSS identifiers","directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"_nodeVersion":"26.1.0","contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/generate-idents_1.0.0_1794918123972_0.14043882291656185"},"publish_time":1794918124064,"_cnpm_publish_time":1794918124064},"0.0.0-stage":{"name":"@csstools/generate-idents","version":"0.0.0-stage","_id":"@csstools/generate-idents@0.0.0-stage","stub":true,"maintainers":[{"name":"romainmenke","email":"romainmenke@gmail.com"}],"dist":{"shasum":"7b1372954f14f1fecc5606122e8535e946c64e1b","tarball":"http://registry-npm.ywwl.com/@csstools/generate-idents/download/@csstools/generate-idents-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-ASIaHmwwTR4tQY5jbGXxHKi3IMwZ7KZ2GTvl1sQCi7qrafl6iLRCSZ+vRMlO9oH4KPAw8wGPhUdcuuoRSa0Ikw==","signatures":[{"sig":"MEQCIDy56CNfff5DQjdpVW/Zm+OctRMD/Gl5+8/QolhgApoQAiBM+KJK981XX0sTrTDaWg0RGkIfCFIludBFe7Z1xJRmWA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":347,"size":373,"noattachment":false,"key":"/@csstools/generate-idents/-/@csstools/generate-idents-0.0.0-stage.tgz"},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"description":"Temporary package placeholder for staged publishing","directories":{},"publish_time":1794917996248,"_cnpm_publish_time":1794917996248}},"readme":"# Generate Idents [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"for PostCSS\" width=\"90\" height=\"90\" align=\"right\">]\n\n[<img alt=\"npm version\" src=\"https://img.shields.io/npm/v/@csstools/generate-idents.svg\" height=\"20\">][npm-url]\n[<img alt=\"Build Status\" src=\"https://github.com/csstools/postcss-plugins/actions/workflows/test.yml/badge.svg?branch=main\" height=\"20\">][cli-url]\n[<img alt=\"Discord\" src=\"https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white\">][discord]\n\nGenerate stable CSS identifiers.\n\n## API\n\n[Read the API docs](./docs/generate-idents.md)\n\n## Usage\n\nAdd [Generate Idents] to your project:\n\n```bash\nnpm install @csstools/generate-idents --save-dev\n```\n\n```ts\nimport { generateUniqueDashedIdent, hashFileBasenameAndDir } from '@csstools/generate-idents';\n\ngenerateUniqueDashedIdent('p', hashFileBasenameAndDir('src/a.css'), '0');\n```\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/@csstools/generate-idents\n\n[Generate Idents]: https://github.com/csstools/postcss-plugins/tree/main/packages/generate-idents\n","_attachments":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/packages/generate-idents#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"license":"MIT-0"}