pr-edge

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i pr-edge

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators