1.0.0 • Published 9 years ago

pr-edge v1.0.0

Weekly downloads
10
License
ISC
Repository
github
Last release
9 years ago

pr-edge

promisified edge.js

usage

var edge = require('pr-edge')

var hello = edge(function () {/*

  async (name) => {
    return String.Format("Hello {0}", name);
  }

*/})

hello('friend').then(console.log)
// => "Hello friend"

api

see edge.js

Can be called as plain function (npm idiomatic) or .func method (.Net idiomatic).

Created function proxy returns a Promise.

installation

$ npm install pr-edge

running the tests

From package root:

$ npm install
$ npm test

contributors

license

ISC. (c) MMXV jden jason@denizac.org. See LICENSE.md