{"id":29211856,"url":"https://github.com/calvin-ll/view-transition-name","last_synced_at":"2025-07-02T22:05:14.453Z","repository":{"id":302231959,"uuid":"1011656865","full_name":"Calvin-LL/view-transition-name","owner":"Calvin-LL","description":"format strings to valid css `view-transition-name`s","archived":false,"fork":false,"pushed_at":"2025-07-01T08:50:55.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:55:31.396Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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:41:03.000Z","updated_at":"2025-07-01T08:51:38.000Z","dependencies_parsed_at":"2025-07-01T08:55:34.080Z","dependency_job_id":"c4edf475-811d-4f82-bb1f-e1898df121d8","html_url":"https://github.com/Calvin-LL/view-transition-name","commit_stats":null,"previous_names":["calvin-ll/view-transition-name"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Calvin-LL/view-transition-name","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calvin-LL%2Fview-transition-name","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calvin-LL%2Fview-transition-name/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calvin-LL%2Fview-transition-name/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calvin-LL%2Fview-transition-name/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Calvin-LL","download_url":"https://codeload.github.com/Calvin-LL/view-transition-name/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calvin-LL%2Fview-transition-name/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":[],"created_at":"2025-07-02T22:05:13.466Z","updated_at":"2025-07-02T22:05:14.432Z","avatar_url":"https://github.com/Calvin-LL.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# view-transition-name\n\n![NPM Version](https://img.shields.io/npm/v/view-transition-name)\n\nGenerate css [`\u003cview-transition-name\u003e`](https://developer.mozilla.org/en-US/docs/Web/CSS/view-transition-name)s\n\n## Install\n\n```bash\nnpm install view-transition-name\n```\n\n## Usage\n\n### Basic\n\n```js\nimport { viewTransitionName } from \"view-transition-name\";\n\nconst ident = viewTransitionName([\"foo\", \"bar\", \"baz@\"]);\nconsole.log(ident); // 'foo_bar_baz\\\\40'\n```\n\n### Non-string values\n\n```js\nimport { viewTransitionName } from \"view-transition-name\";\n\nconst ident = viewTransitionName([\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%2Fview-transition-name","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalvin-ll%2Fview-transition-name","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalvin-ll%2Fview-transition-name/lists"}