bemhtml-compat

v0.1.2
ERROR: No README.md file found!

BEMHTML-COMPAT Build Status NPM version

Transpiler from old bemhtml source code to new javascript-compatible code.

Usage

var bemcompat = require('bemhtml-compat');

bemcompat.transpile('block b1, tag: "a"');
/* Returns:
 *   match(this.block === 'b1', this._mode === 'tag')('a');
 */
npm i bemhtml-compat

Metadata

  • MIT
  • Whatever
  • Fedor Indutny
  • released 9/9/2014

Downloads