package
Parse B__E_M identifier
npm install parse-bem-identifierGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Parsing B__E_M identifier.
You can learn about identifier structure from tests.
Parses string as BEM identifier and returns object, that contains:
blockmodmodValelemelemModelemValType: Boolean
Default: false
If true, then elemMod will be stored in mod, modVal and elemVal will be stored in val.
MIT (c) 2014 Vsevolod Strukchinsky (floatdrop@gmail.com)