logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

browser-pack — pack Node.js source file information for browserify uses

Description

browser-pack  pack  node-style  source files from a json stream into a browser bundle.  browser-pack will
       input a json file and output a javascript file.  browser-pack will read by default STDIN.

Examples

       browser-pack <<EOF
       [
         {
           "id": "a1b5af78",
           "source": "console.log(require('./foo')(5))",
           "deps": { "./foo": "b8f69fa5" },
           "entry": true
         },
         {
           "id": "b8f69fa5",
           "source": "module.exports = function (n) { return n * 111 }",
           "deps": {}
         }
       ]
       EOF

Name

       browser-pack — pack Node.js source file information for browserify uses

See Also

browserify(1), nodejs(1),

                                                     8/4/17                                      browser-pack(1)

Synopsis

browser-pack [file]

See Also