{"id":22710558,"url":"https://github.com/smallhelm/gen-css-identifier","last_synced_at":"2025-03-29T21:42:40.143Z","repository":{"id":57245800,"uuid":"47310944","full_name":"smallhelm/gen-css-identifier","owner":"smallhelm","description":"Generate a unique css class or id name.","archived":false,"fork":false,"pushed_at":"2015-12-03T06:16:03.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T22:28:06.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smallhelm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-03T05:46:35.000Z","updated_at":"2017-03-18T01:01:35.000Z","dependencies_parsed_at":"2022-08-24T16:31:11.324Z","dependency_job_id":null,"html_url":"https://github.com/smallhelm/gen-css-identifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallhelm%2Fgen-css-identifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallhelm%2Fgen-css-identifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallhelm%2Fgen-css-identifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallhelm%2Fgen-css-identifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smallhelm","download_url":"https://codeload.github.com/smallhelm/gen-css-identifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246249226,"owners_count":20747167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-10T12:10:30.223Z","updated_at":"2025-03-29T21:42:40.123Z","avatar_url":"https://github.com/smallhelm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"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();// -\u003e g1\ngen();// -\u003e g2\n...\n...\ngen();// -\u003e 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();// -\u003e my-prefix-2zq\nmyGen();// -\u003e my-prefix-2zr\n```\n\n## unique?\nNot globally unique, only unique to the current executing process.\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallhelm%2Fgen-css-identifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmallhelm%2Fgen-css-identifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallhelm%2Fgen-css-identifier/lists"}