browser-pack(1)

browser-pack1

Pack node.js source file information for browserify uses

Usage

browser-pack [file]

Overview

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

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

From node-browser-pack 6.1.0+ds+~6.1.3-1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.