promisified edge.js
var edge = require('pr-edge')
var hello = edge(function () {/*
async (name) => {
return String.Format("Hello {0}", name);
}
*/})
hello('friend').then(console.log)
// => "Hello friend"
see edge.js
Can be called as plain function (npm idiomatic) or .func
method (.Net idiomatic).
Created function proxy returns a Promise.
$ npm install pr-edge
From package root:
$ npm install
$ npm test
- jden jason@denizac.org
ISC. (c) MMXV jden jason@denizac.org. See LICENSE.md