Promise aware wrapper for Node's fs module
Thin wrapper arround Node's fs module that makes the async functions promise aware. The wrapped methods return a promise the represents the value of the async operation. Traditional callbacks still work, allowing for a transparent drop-in for fs. Sync methods, classes and other helpers are not modified.
var fs = require'fs-then';fsreadFile'path to file';
var fs = require'fs-then';fsreadFile'path to file'then;