{"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":{},"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","publish_time":1794917996248,"_cnpm_publish_time":1794917996248,"dist-tags":{"latest":"1.0.0"}}