Generate NodeJS Packages from JavaScript files
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test
.gitignore
Makefile
README.md
package.json

README.md

genpkg simplifies installation and update of unpackaged JavaScript files.

Usage Example

$ genpkg install https://raw.github.com/azer/sjcl/master/sjcl.js node_modules
Package "sjcl" saved successfully.

$ ls node_modules/sjcl
sjcl.js package.json

$ genpkg update
Checking for updates...
Package sjcl is already up to date
Done.

Installation

$ npm install genpkg

Tests

make test

TODO

  • Add export code if the module doesn't contain any
  • Support rename