0.2.10 • Published 8 years ago

smooshjs v0.2.10

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

smooshjs

A tool to compile a collection of javascript modules into a single library.

Install

npm install -g smooshjs

Usage (command line)

smoosh [-cjs, -amd] <path-to-main-module.js> [path-to-output]

For example:

smoosh -cjs test/resources/cjs.entrypoint.js test/output/

Usage (within a node app/script)

var smooshjs = require("smooshjs");

var result = smooshjs("-cjs", "-amd", "path/to/main.js", "path/to/output.js");

if (result.code === 0){
    // everything went ok!
} else {
    // something failed
    console.error(result.output);
}

Tests

To run all the tests

node mocha test
0.2.10

8 years ago

0.2.9

9 years ago

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago