{"id":13520441,"url":"https://github.com/awinogradov/recn","last_synced_at":"2026-05-04T02:35:03.428Z","repository":{"id":57349227,"uuid":"152812273","full_name":"awinogradov/recn","owner":"awinogradov","description":"Blazing fast. Tiny size \u003c 200 B. The last one BEM className helper.","archived":false,"fork":false,"pushed_at":"2018-12-06T14:27:22.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T16:20:45.208Z","etag":null,"topics":["bem","classnames","react"],"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/awinogradov.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":"2018-10-12T22:06:05.000Z","updated_at":"2023-04-11T15:24:14.000Z","dependencies_parsed_at":"2022-08-29T14:01:24.524Z","dependency_job_id":null,"html_url":"https://github.com/awinogradov/recn","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awinogradov%2Frecn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awinogradov%2Frecn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awinogradov%2Frecn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awinogradov%2Frecn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awinogradov","download_url":"https://codeload.github.com/awinogradov/recn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245934014,"owners_count":20696355,"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":["bem","classnames","react"],"created_at":"2024-08-01T05:02:20.726Z","updated_at":"2026-05-04T02:34:58.373Z","avatar_url":"https://github.com/awinogradov.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# ReCn [![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/recn.svg)](https://bundlephobia.com/result?p=recn)\n\nBlazing fast. Tiny size. The last one className helper.\n\n## Usage\n\n\u003e npm i -S recn\n\n``` ts\nimport { cn } from 'recn';\n\nconst cat = cn('Cat');\n\ncat(); // Cat\ncat({ size: 'm' }); // Cat_size_m\ncat('Tail'); // Cat-Tail\ncat('Tail', { length: 'small' }); // Cat-Tail_length_small\n\nconst dogPaw = cn('Dog', 'Paw');\n\ndogPaw(); // Dog-Paw\ndogPaw({ color: 'black', exists: true }); // Dog-Paw_color_black Dog-Paw_exists\n```\n\n### License [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawinogradov%2Frecn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawinogradov%2Frecn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawinogradov%2Frecn/lists"}