BEM class name generator which use common scheme. Elements are delimited with two (2) underscores (__), and Modifiers are delimited by two (2) hyphens (--).
npm install --save common-bem
By common scheme I mean scheme with double underscores and hyphens proposed by Harry Roberts in his article "MindBEMding – getting your head ’round BEM syntax". You can read more about BEM on getbem.com.
;const bem = commonBem;; // grid; // grid__row; // grid__col; // grid grid--fixed; // grid__col grid__col--size-md
Basically, this package is b_ with predefined options for this scheme.
MIT © Vladimir Starkov