0.1.2 • Published 3 years ago
pify-all-methods-pmb v0.1.2
pify-all-methods-pmb
Promisify (using pify) bound versions of almost all methods of an object.
API
This module exports one function:
pam(orig)
Returns a flat copy of orig
, except all own enumerable properties that are
- functions,
- and different from their same-named twin on the Object prototype
are replaced with a pify
-ed bound (to orig
) version of themselves.
Known issues
- Needs more/better tests and docs.
License
ISC