Awesome
@bem/sdk
<div align="center"> <img width="300" height="300" src="https://rawgithub.com/bem/bem-sdk/master/logo.svg" alt="logo" /> </div>Useful modules to work with projects based on principles of BEM methodology.
General
- walk — traversing a BEM project's file system
- config — keeping all configuration of BEM project in one place
Naming
- naming.entity — the old well-known
bem-naming
package. Contains ofparse
andstringify
methods — package under consideration, better to use separated packages instead. - naming.entity.stringify — stringifier for entity representation
- naming.entity.parse — parser for entity representation
- naming.cell.stringify — stringifier path to entity inside a BEM project's file system
- naming.cell.match — loose parser for entity path to entity inside a BEM project's file system
- naming.presets — well-known presets for
naming.*
packages
Declarations
- decl — working with sets of entity, intersecting, merging, substracting...
- bemjson-to-decl – extracting declarations from bemjson
- bemjson-to-jsx – transforming bemjson to JSX markup
- import-notation — extracting declarations from es6-import and require strings