0.2.0 • Published 6 years ago

inlining-node-require v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

inlining-node-require Build Status

This module inlining Node's require().

It's similar to browserify, but more simple and more local domain, position closer to concat.

Installation

npm install inlining-node-require

Task

Usage

$ inlining-node-require -h
$ inlining-node-require index.js

Example

See example/

add.js

function add(x, y) {
    return x + y;
}
module.exports = add;

index.js

var add = require("./add");
add(1, 2);

Inlining above module.(entry point is index.js)

$ inlining-node-require index.js

result.js

function add(x, y) {
    return x + y;
}
add(1, 2);

Contributing

  1. Fork it!
  2. traCreate your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

0.2.0

6 years ago

0.1.0

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago