https://github.com/bem/bem-sdk
BEM SDK packages
https://github.com/bem/bem-sdk
bem bundle cell config decl deps entity-name graph naming walk
Last synced: 6 months ago
JSON representation
BEM SDK packages
- Host: GitHub
- URL: https://github.com/bem/bem-sdk
- Owner: bem
- Created: 2014-05-12T11:08:41.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-07-24T01:47:43.000Z (about 5 years ago)
- Last Synced: 2025-04-02T08:11:09.986Z (7 months ago)
- Topics: bem, bundle, cell, config, decl, deps, entity-name, graph, naming, walk
- Language: JavaScript
- Homepage: https://en.bem.info/toolbox/sdk/
- Size: 2.13 MB
- Stars: 90
- Watchers: 22
- Forks: 25
- Open Issues: 55
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# @bem/sdk
![]()
Useful modules to work with projects based on principles of [BEM][] methodology.
## General
* [walk](https://github.com/bem/bem-sdk/tree/master/packages/walk) — traversing a BEM project's file system
* [config](https://github.com/bem/bem-sdk/tree/master/packages/config) — keeping all configuration of BEM project in one place## Naming
* [naming.entity](https://github.com/bem/bem-sdk/tree/master/packages/naming.entity) — the old well-known `bem-naming` package. Contains of `parse` and `stringify` methods — package under consideration, better to use separated packages instead.
* [naming.entity.stringify](https://github.com/bem/bem-sdk/tree/master/packages/naming.entity.stringify) — stringifier for [entity][] representation
* [naming.entity.parse](https://github.com/bem/bem-sdk/tree/master/packages/naming.entity.parse) — parser for [entity][] representation
* [naming.cell.stringify](https://github.com/bem/bem-sdk/tree/master/packages/naming.cell.stringify) — stringifier path to [entity][] inside a BEM project's file system
* [naming.cell.match](https://github.com/bem/bem-sdk/tree/master/packages/naming.cell.match) — loose parser for [entity][] path to [entity][] inside a BEM project's file system
* [naming.presets](https://github.com/bem/bem-sdk/tree/master/packages/naming.presets) — well-known presets for `naming.*` packages## Declarations
* [decl](https://github.com/bem/bem-sdk/tree/master/packages/decl) — working with sets of [entity][], intersecting, merging, substracting...
* [bemjson-to-decl](https://github.com/bem/bem-sdk/tree/master/packages/bemjson-to-decl) – extracting declarations from [bemjson][]
* [bemjson-to-jsx](https://github.com/bem/bem-sdk/tree/master/packages/bemjson-to-jsx) – transforming [bemjson][] to [JSX][] markup
* [import-notation](https://github.com/bem/bem-sdk/tree/master/packages/import-notation) — extracting declarations from es6-import and require strings## Dependencies
* [graph](https://github.com/bem/bem-sdk/tree/master/packages/graph) — working with graph of dependencies
* [deps](https://github.com/bem/bem-sdk/tree/master/packages/deps) — high-level tool for managing [BEM][]-based deps## Containers
* [entity-name](https://github.com/bem/bem-sdk/tree/master/packages/entity-name) — [entity][] name representation
* [cell](https://github.com/bem/bem-sdk/tree/master/packages/cell) — partial [entity][] with tech and layer
* [file](https://github.com/bem/bem-sdk/tree/master/packages/file) — partial cell with full path and level
* [bundle](https://github.com/bem/bem-sdk/tree/master/packages/bundle) — representation of [BEM][] bundles: name, set of cells, and bemjson optionally[BEM]: https://en.bem.info
[entity]: https://en.bem.info/methodology/key-concepts/#bem-entity
[bemjson]: https://en.bem.info/platform/bemjson/
[JSX]: https://facebook.github.io/react/docs/introducing-jsx.html