promise-call

1.0.1 • Public • Published

promise-call

Install

npm i promise-call

Usage

var pcall = require('promise-call');
pcall(fs.readfile, filename)
  .then(function(content) {

  })
  .catch(function(error) {

  });

Readme

Keywords

Package Sidebar

Install

npm i promise-call

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • ssnau