Nickelback Plays Music

    require-commonjs

    1.0.3 • Public • Published

    require-commonjs

    Async require commonjs module right within browser.

    Usage:

    include script from html:

    <script src="https://npmcdn.com/require-commonjs/require-commonjs.js"></script>
    

    then:

    window.requireCommonjs(['path/to/a/common/module.js'], function (thatModule) {
      console.log(thatModule)
    })

    Install

    npm i require-commonjs

    DownloadsWeekly Downloads

    4

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • amio