recordio-file
A node-task RecordIO interface for local filesystems.
API
read(path, options)
Read a file from the local filesystem and return a promise which resolves to a node-task Record representing it.
The options
object supports these keys:
encoding
The encoding of the file to be read.
var recordio = ; recordio;
write(record, options)
Save a node-task Record to the local filesystem.
The options
object supports these keys:
n/a
var Record = ;var recordio = ; var record = 'tmp/test.txt' 'utf8' 'test file';recordio;