UNPKG

pify

Version:

Promisify a callback-style function

55 lines (54 loc) 984 B
{ "name": "pify", "version": "6.1.0", "description": "Promisify a callback-style function", "license": "MIT", "repository": "sindresorhus/pify", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": "./index.js", "types": "./index.d.ts", "engines": { "node": ">=14.16" }, "scripts": { "test": "xo && ava && tsd", "optimization-test": "node --allow-natives-syntax optimization-test.js" }, "files": [ "index.js", "index.d.ts" ], "keywords": [ "promisify", "callback", "promise", "promises", "denodify", "denodeify", "node", "then", "thenify", "convert", "transform", "wrap", "wrapper", "bind", "async", "await", "es2015", "bluebird" ], "devDependencies": { "ava": "^4.3.3", "pinkie-promise": "^2.0.1", "tsd": "^0.23.0", "v8-natives": "^1.2.5", "xo": "^0.52.3" } }