vow-node
=========
Vow-node is a small extension for vow to work with nodejs-style callbacks
Getting Started
---------------


In Node.js###
You can install using Node Package Manager (npm):npm install vow-node
API
---
promisify(fn)####
Transforms given functionfn
to a function that returns promise.
````javascript
var fs = require('fs'),
readFile = vowNode.promisify(fs.readFile);
readFile('package.json').then(function(content) {
console.log(content);
});
````
invoke(fn, ...args)####
Invokes given functionfn
with arguments args
.
````javascript
var fs = require('fs');
vowNode.invoke(fs.readFile, 'package.json').then(function(content) {
console.log(content);
});
````