dpmjs
v0.8.2
Published
Data Package manager (dpm) library and command line tool
Readme
Data Package Manager - in JavaScript
dpm is a library and command line manager for Data Packages.
Starting from v0.8.0 package on NPM has been renamed to
dpmjs.
Install
dpm is implemented in node, so to install dpm just do:
npm install dpmjs -gCommand Line Usage
To get an overview and list of commands check out the command line help:
dpm --helpUsing DPM programaticaly
You can also use dpm programatically.
var Dpm = require('dpmjs');
var dpm = new Dpm(conf);
dpm.install(['[email protected]', '[email protected]'], {cache: true}, function(err, dpkgs){
//done!
});
dpm.on('log', console.log); //if you like stuff on stdoutChangelog
- v0.7.0: new ckan command
- v0.6.0: much better validation via v0.2 of datapackage-validate
References
Previous dpm (python-based) can still be found at
http://github.com/okfn/dpm-old.

