Easy BEM
Easy and much friendly API for @bem/naming package.
Usage
npm i -S easy-bem-naming
const b = ;== 'block';== 'block__elem';== 'block block_m_v block_disabled';== 'block__elem block__elem_m_v block__elem_disabled';// any order of methods== 'block__elem block__elem_m_v block__elem_disabled';// simple mixes== 'block mixed-block mixed__elem';// nested mixes== 'block mixed-block mixed__elem nested-mix';// different namingsconst rb = 'react';const hb = 'two-dashes';== 'Block-Elem';== 'block block--m_v block--disabled';