bem-graph
JSON →bem-graph is a JavaScript library (v0.0.3, latest) for managing dependency graphs of BEM entities. It allows defining ordered and unordered links between entities (blocks, elements, modifiers) and resolving dependencies for a given declaration of entities, returning the full set of required entities per technology. It works with BemEntityName objects and bem-decl format. Key differentiators: lightweight, simple API, supports naturalization of links, and detects cycles in ordered links. Current status: active but low release cadence (last release likely 2016). Requires Node >=4.
Resources
packagebem-graph ↗