Reverse browserify: unpackjs is a tool to split a single file in multiple files
Last updated 5 years ago by rob-w .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install unpackjs 
SYNC missed versions from official npm registry.


browserify takes a project and generates a single file.
This tool, unpackjs does the opposite: It takes a list of files, and creates a directory with separate modules for each file.

This has only been tested with browserify, but other bundlers such as RequireJS or Webpack may be supported in the future if I need such a tool.


$ npm install -g unpackjs
$ unpackjs path/to/file.js path/to/file2.js

# Now there are directories "path-to-file" and "path-to-file2" that contain
# the modules.


Rob Wu rob@robwu.nl (https://robwu.nl)

Current Tags

  • 0.0.1                                ...           latest (5 years ago)

1 Versions

  • 0.0.1                                ...           5 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |