promisify-object

1.2.1 • Public • Published

promisify-object

npm Build Status Coverage Status Dependency Status devDependency Status js-standard-style Commitizen friendly semantic-release

Promisify functions in a given object

Installation

The recommended way to install promisify-object is as a dependency of a project:

npm install --save promisify-object

Usage

Promisify methods of a given object:

const fs = require('fs')
const promisify = require('promisify-object')
 
promisify(fs, ['mkdir', 'readFile'])

Contributing

Any contribution is more than welcome. In particular, if:

  • there's something that doesn't work as expected or you have an idea for a nice to have feature, then please submit an issue here
  • you know how to fix a problem or improve the code, then please submit a pull request here

Readme

Keywords

Package Sidebar

Install

npm i promisify-object

Weekly Downloads

4

Version

1.2.1

License

ISC

Last publish

Collaborators

  • jcollado