{"id":18653226,"url":"https://github.com/babel-utils/babel-identifiers","last_synced_at":"2025-07-25T07:33:59.906Z","repository":{"id":46933782,"uuid":"93455961","full_name":"babel-utils/babel-identifiers","owner":"babel-utils","description":"Classify Babel identifiers","archived":false,"fork":false,"pushed_at":"2022-12-06T21:34:27.000Z","size":251,"stargazers_count":6,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-25T10:41:38.929Z","etag":null,"topics":["babel","babel-util","flow","identifiers"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babel-utils.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":"2017-06-05T23:28:05.000Z","updated_at":"2022-12-19T21:26:08.000Z","dependencies_parsed_at":"2023-01-23T15:16:34.767Z","dependency_job_id":null,"html_url":"https://github.com/babel-utils/babel-identifiers","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/babel-utils/babel-identifiers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel-utils%2Fbabel-identifiers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel-utils%2Fbabel-identifiers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel-utils%2Fbabel-identifiers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel-utils%2Fbabel-identifiers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babel-utils","download_url":"https://codeload.github.com/babel-utils/babel-identifiers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel-utils%2Fbabel-identifiers/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266973357,"owners_count":24014682,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["babel","babel-util","flow","identifiers"],"created_at":"2024-11-07T07:10:37.815Z","updated_at":"2025-07-25T07:33:59.879Z","avatar_url":"https://github.com/babel-utils.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# babel-identifiers\n\n\u003e Classify Babel identifiers\n\n### Installation\n\n```sh\nyarn add babel-identifiers\n```\n\n### Usage\n\nIdentifier nodes fall into one of three kinds:\n\n1. \"binding\" - `let binding = ...`\n2. \"reference\" - `reference;`\n3. \"static\" - `a.static`\n\nAnd into one of four grammars:\n\n1. \"javascript\" - `let javascript = ...`\n1. \"jsx\" - `\u003cjsx/\u003e`\n2. \"flow\" - `({}: flow)`\n3. \"typescript\" - `enum typescript {}`\n\n```js\nimport {getIdentifierKind, getIdentifierGrammar} from 'babel-identifiers';\n\nisIdentifierLike(path); // true | false\ngetIdentifierKind(path); // \"binding\" | \"reference\" | \"static\"\ngetIdentifierGrammar(path); // \"javascript\" | \"flow\" | \"typescript\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabel-utils%2Fbabel-identifiers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabel-utils%2Fbabel-identifiers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabel-utils%2Fbabel-identifiers/lists"}