task-write

A node-task to write input Records to a destination using any RecordIO interface.

npm install task-write
4 downloads in the last month

task-write

A node-task to write input Records to a destination using any RecordIO interface.

Super rough cut.

Usage

var Write = require('task-write');
var Record = require('record');
var task = new Write();

var config = {
  use: require('recordio-file')
};
var input = [{
  src: new Record('path/to/fake/foo.txt', 'utf8', 'test'),
  dest: 'tmp/test.txt'
}];

task.run(config, input);
npm loves you