Package Exports
- ffs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ffs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ffs

A high-level promised wrapper on Node's FS module. For fuck's sake!
Everything is curried and promised for your convenience. Take a look at the
docs/api.doll file for an overview of the types and functions in the API.
Example
var ffs = require('ffs')
var combinators = require('pinky-combinators')
var all = combinators.all
files = all([ffs.read('a.txt'), ffs.read('b.txt'), ffs.read('c.txt')])
all([ffs.makeRecursive('foo/bar/baz'), files])
.then(function(xs){ return xs.reduce(function(a,b){ return a + b }, '') })
.then(ffs.write('utf8', 'foo/bar/baz/'))Installing
Just grab it from NPM:
$ npm install ffsDocumentation
A quick reference of the API can be built using Calliope:
$ npm install -g calliope
$ calliope buildTests
You can run all tests using Mocha:
$ npm testLicence
MIT/X11. ie.: do whatever you want.