Transforms BEMJSON objects to JSX markup.
$ npm install --save bemjson-to-jsx
const bemjsonToJSX = require('bemjson-to-jsx')();
var bemjson = {
block: 'button2',
mods: { theme: 'normal', size: 'm' },
text: 'hello world'
};
var jsxTree = bemjsonToJSX.process(bemjson);
console.log(jsxTree.JSX));
// → "<Button2 theme={'normal'} size={'m'} text={'hello world'}/>"