{"id":48854755,"url":"https://github.com/cdmoro/use-class-name","last_synced_at":"2026-04-15T11:41:25.482Z","repository":{"id":105100985,"uuid":"240325007","full_name":"cdmoro/use-class-name","owner":"cdmoro","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-23T01:55:32.000Z","size":518,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-23T04:27:02.506Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdmoro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-13T17:52:26.000Z","updated_at":"2020-02-13T17:53:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"40931504-c4d6-4dc8-9fe3-20234836f6b2","html_url":"https://github.com/cdmoro/use-class-name","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cdmoro/use-class-name","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdmoro%2Fuse-class-name","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdmoro%2Fuse-class-name/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdmoro%2Fuse-class-name/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdmoro%2Fuse-class-name/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdmoro","download_url":"https://codeload.github.com/cdmoro/use-class-name/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdmoro%2Fuse-class-name/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31840111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T11:29:19.690Z","status":"ssl_error","status_checked_at":"2026-04-15T11:29:19.171Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-04-15T11:41:21.437Z","updated_at":"2026-04-15T11:41:25.467Z","avatar_url":"https://github.com/cdmoro.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# use-class-name\n\n\u003e \n\n[![NPM](https://img.shields.io/npm/v/use-class-name.svg)](https://www.npmjs.com/package/use-class-name) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Install\n\n```bash\nnpm install --save use-class-name\n```\n\n## Usage\n\n```tsx\nimport * as React from 'react'\n\nimport { useMyHook } from 'use-class-name'\n\nconst Example = () =\u003e {\n  const example = useMyHook()\n  return (\n    \u003cdiv\u003e\n      {example}\n    \u003c/div\u003e\n  )\n}\n```\n\n## License\n\nMIT © [](https://github.com/)\n\n---\n\nThis hook is created using [create-react-hook](https://github.com/hermanya/create-react-hook).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdmoro%2Fuse-class-name","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdmoro%2Fuse-class-name","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdmoro%2Fuse-class-name/lists"}