node package manager

enb-require-or-eval

enb-require-or-eval

Build Status Build status

Module, which assists in supporting transitional (from 'eval' to 'require') BEM formats.

Usage:

var requireOrEval = require('enb-require-or-eval');
 
function someEvalingFunc() {
    return requireOrEval('path/to/bemjson.js').then(function (result) {
        //process result here 
    }
}