Sugar for BEM:
- Classes Declaration
- Super Expression
- Arrow Functions
- Default Parameters
- Spread Parameter
- Destruction Assigment
- Play with syntax at: http://greenpoint.github.io/bn/
Usage: bn <file ...> [options]
Options:
-h, --help output usage information
-V, --version output the version number
-o, --output Specify output file
var bn = require('bem-next');
bn.compile(
`"use bem";
class foo {}`
); // output: BEM.decl('foo',{});
- greendizer at yandex-team
- [email protected]