Wondering what’s next for npm?Check out our public roadmap! »

    module-stringify

    1.0.0 • Public • Published

    Module-Stringify

    From WebWorkify - https://github.com/substack/webworkify/blob/master/index.js

    Usage

    var stringifyModule = require('module-stringify')
    var coolModule = require('myCoolModule')
     
    var string = stringifyModule(coolModule)
    // use string in webworker or iframe or whatevs

    Only works b/c of some browserify magic. If browerify changes, this may break.

    Keywords

    none

    Install

    npm i module-stringify

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • avatar