{"versions":{"1.0.0":{"name":"gen-css-identifier","version":"1.0.0","description":"Generate a unique css class or id name.","main":"index.js","scripts":{"test":"node tests.js"},"repository":{"type":"git","url":"git+https://github.com/smallhelm/gen-css-identifier.git"},"keywords":["css","unique","class","id"],"author":{"name":"smallhelm"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/gen-css-identifier/issues"},"homepage":"https://github.com/smallhelm/gen-css-identifier#readme","devDependencies":{"tape":"^4.2.2"},"gitHead":"84b511dcaf7eef339bda655fc63e86485b530a1c","_id":"gen-css-identifier@1.0.0","_shasum":"b448b5d7f949cde6bd93fbc8fc114dab4072a342","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.2","_npmUser":{"name":"anonymous","email":"dev@smallhelm.com"},"dist":{"shasum":"b448b5d7f949cde6bd93fbc8fc114dab4072a342","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/gen-css-identifier/-/gen-css-identifier-1.0.0.tgz","size":1838,"integrity":"sha512-J5xgg/99aRSdfCuyP90fgrd8Wp00SMJlU0n91VxjAJiNiMG0NhRM5FL1Shbi6FHAwljr5D5bG20E9mQ1ScNX3Q=="},"maintainers":[{"name":"anonymous","email":"dev@smallhelm.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-23T10:47:56.195Z","deprecated":"This package is no longer maintained.","contributors":[]}},"dist-tags":{"latest":"1.0.0"},"name":"gen-css-identifier","time":{"created":"2022-01-27T16:53:47.212Z","modified":"2025-02-09T23:06:20.112Z","1.0.0":"2015-12-03T06:16:53.838Z"},"readme":"# gen-css-identifier\nGenerate a unique css class or id name.\n\n```js\nvar gen = require(\"gen-css-identifier\");\n\n//just a simple function that returns a string\n\ngen();// -> g1\ngen();// -> g2\n...\n...\ngen();// -> gz2a\n\n\n//by default they are prefixed with \"g\"\n//you can use the factory to set your own prefix\nvar factory = require(\"gen-css-identifier/factory\");\n\nvar myGen = factory(\"my-prefix-\");\n\nmyGen();// -> my-prefix-2zq\nmyGen();// -> my-prefix-2zr\n```\n\n## unique?\nNot globally unique, only unique to the current executing process.\n\n## License\nMIT","users":{}}