puckages
v0.2.8
Published
node package manager for node.js
Downloads
6
Readme
node-puckages
node package manager for node.js
Getting Started
Installation
$ npm install --save puckages
Usage
import { Package } from 'puckages';
// Create writable directory for package
Package.create('/path/to/package')
// Initialize package.json, this accepts parameters for configuration and options.
.then(p => p.init())
// Install a new package and save as dependency
.then(p => p.install('node-foo', { save: true }))
// Uninstall a package and update dependencies
.then(p => p.uninstall('node-foo', { save: true }))
API
You can find documentation here. All documentation has been generated from source code using the typedoc.
Verbose
This package uses debug module. So you can set environment variable to display verbose log messages.
$ DEBUG=puckages node myApp.js
Running Tests/Coverage
$ npm test # runs both test + coverage on source code
License
MIT