An open API service indexing awesome lists of open source software.

https://github.com/azer/genpkg

Generate NodeJS Packages from JavaScript files
https://github.com/azer/genpkg

Last synced: 11 months ago
JSON representation

Generate NodeJS Packages from JavaScript files

Awesome Lists containing this project

README

          

genpkg simplifies installation and update of unpackaged JavaScript files.

## Usage Example
```bash
$ 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

```bash
$ npm install genpkg
```

## Tests

```bash
make test
```

## TODO

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