{"id":29211857,"url":"https://github.com/calvin-ll/custom-ident","last_synced_at":"2026-04-22T23:33:45.505Z","repository":{"id":302224130,"uuid":"1011655960","full_name":"Calvin-LL/custom-ident","owner":"Calvin-LL","description":"format strings to css `\u003ccustom-ident\u003e`s","archived":false,"fork":false,"pushed_at":"2025-07-01T08:06:23.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-01T08:07:06.470Z","etag":null,"topics":["css","view-transitions","view-transitions-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Calvin-LL.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-01T06:39:22.000Z","updated_at":"2025-07-01T08:06:58.000Z","dependencies_parsed_at":"2025-07-01T08:07:09.882Z","dependency_job_id":"6953afe3-ee29-4608-b29e-735af52e8d4e","html_url":"https://github.com/Calvin-LL/custom-ident","commit_stats":null,"previous_names":["calvin-ll/custom-ident"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Calvin-LL/custom-ident","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calvin-LL%2Fcustom-ident","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calvin-LL%2Fcustom-ident/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calvin-LL%2Fcustom-ident/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calvin-LL%2Fcustom-ident/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Calvin-LL","download_url":"https://codeload.github.com/Calvin-LL/custom-ident/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calvin-LL%2Fcustom-ident/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263222469,"owners_count":23433028,"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":["css","view-transitions","view-transitions-api"],"created_at":"2025-07-02T22:05:13.475Z","updated_at":"2026-04-22T23:33:40.479Z","avatar_url":"https://github.com/Calvin-LL.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# custom-ident\n\n[![NPM Version](https://img.shields.io/npm/v/custom-ident.svg?style=flat)](https://www.npmjs.com/package/custom-ident)\n[![NPM License](https://img.shields.io/npm/l/custom-ident.svg?style=flat)](https://github.com/Calvin-LL/custom-ident/blob/main/LICENSE)\n[![NPM Downloads](https://img.shields.io/npm/dt/custom-ident.svg?style=flat)](https://www.npmjs.com/package/custom-ident)\n\nGenerate css [`\u003ccustom-ident\u003e`](https://developer.mozilla.org/en-US/docs/Web/CSS/custom-ident)s\n\n## Install\n\n```bash\nnpm install custom-ident\n```\n\n## Usage\n\n### Basic\n\n```js\nimport { customIdent } from \"custom-ident\";\n\nconst ident = customIdent(\"foo\", \"bar\", \"baz@\");\nconsole.log(ident); // 'foo_bar_baz\\\\40'\n```\n\n### Non-string values\n\n```js\nimport { customIdent } from \"custom-ident\";\n\nconst ident = customIdent([\n  undefined,\n  null,\n  true,\n  false,\n  3,\n  { test: \"hi\", oof: 0 },\n]);\nconsole.log(ident); // 'undefined_null_true_false_3_test'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalvin-ll%2Fcustom-ident","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalvin-ll%2Fcustom-ident","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalvin-ll%2Fcustom-ident/lists"}