node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป

dpkg-squirrel

squirrel

Runs stuff in batch from some data package metadata, give them some inputs and package the outputs adding resources to the datapackage.

NPM

Usage

var Sqrl = require('dpkg-squirrel');
var dpgk = require('/path/to/data/package.json');

var sqrl = new Sqrl(dpkg, {concurrency: 4});
sqrl.start(function(err, newDpkg){
   //everything has been run;  newDpkg contains new resources
});
sqrl.on('step', function(msg){console.log(msg)});

Tests

npm test

Licence

MIT