{"id":17766646,"url":"https://github.com/floatdrop/parse-bem-identifier","last_synced_at":"2025-04-01T13:45:19.084Z","repository":{"id":19182264,"uuid":"22414934","full_name":"floatdrop/parse-bem-identifier","owner":"floatdrop","description":"Parse B__E_M identifier","archived":false,"fork":false,"pushed_at":"2021-08-17T22:42:44.000Z","size":196,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T01:31:43.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"hallelujah/valid_email","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/floatdrop.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}},"created_at":"2014-07-30T07:32:28.000Z","updated_at":"2014-08-19T05:29:13.000Z","dependencies_parsed_at":"2022-09-09T03:01:21.378Z","dependency_job_id":null,"html_url":"https://github.com/floatdrop/parse-bem-identifier","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fparse-bem-identifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fparse-bem-identifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fparse-bem-identifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fparse-bem-identifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floatdrop","download_url":"https://codeload.github.com/floatdrop/parse-bem-identifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246651509,"owners_count":20811991,"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":"2024-10-26T20:33:42.788Z","updated_at":"2025-04-01T13:45:19.062Z","avatar_url":"https://github.com/floatdrop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parse-bem-identifier [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url]\n\nParsing B__E_M identifier.\n\nYou can learn about identifier structure from [tests](https://github.com/floatdrop/parse-bem-identifier/blob/master/test/index.js).\n\n## Disclaimer\n\nUse [`bem-naming`](https://github.com/bem/bem-naming)\n\n## API\n\n### parseBemIdentifier(pattern, [options])\n\nParses `string` as BEM identifier and returns object, that contains:\n\n * `block`\n * `mod`\n * `modVal`\n * `elem`\n * `elemMod`\n * `elemVal`\n\n#### options\n\n##### short\nType: `Boolean`  \nDefault: `false`\n\nIf true, then `elemMod` will be stored in `mod`, `modVal` and `elemVal` will be stored in `val`.\n\n# License\nMIT (c) 2014 Vsevolod Strukchinsky (floatdrop@gmail.com)\n\n[npm-url]: https://npmjs.org/package/parse-bem-identifier\n[npm-image]: http://img.shields.io/npm/v/parse-bem-identifier.svg\n\n[travis-url]: https://travis-ci.org/floatdrop/parse-bem-identifier\n[travis-image]: http://img.shields.io/travis/floatdrop/parse-bem-identifier.svg\n\n[depstat-url]: https://david-dm.org/floatdrop/parse-bem-identifier\n[depstat-image]: https://david-dm.org/floatdrop/parse-bem-identifier.svg?theme=shields.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fparse-bem-identifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloatdrop%2Fparse-bem-identifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fparse-bem-identifier/lists"}