Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    enb-require-or-evalpublic

    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
        }
    }

    install

    npm i enb-require-or-eval

    Downloadsweekly downloads

    860

    version

    1.0.2

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar