{"name":"util.promisify","version":"1.1.3","description":"Polyfill/shim for util.promisify in node versions < v8","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint --ext=js,mjs.","postlint":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@'>= 10.2' audit --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/ljharb/util.promisify.git"},"keywords":["promisify","promise","util","polyfill","shim","util.promisify"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/util.promisify/issues"},"homepage":"https://github.com/ljharb/util.promisify#readme","dependencies":{"call-bind":"^1.0.8","call-bound":"^1.0.3","define-data-property":"^1.1.4","define-properties":"^1.2.1","es-errors":"^1.3.0","es-object-atoms":"^1.0.0","for-each":"^0.3.3","get-intrinsic":"^1.2.6","has-proto":"^1.2.0","has-symbols":"^1.1.0","object.getownpropertydescriptors":"^2.1.8","safe-array-concat":"^1.1.3"},"devDependencies":{"@es-shims/api":"^2.5.1","@ljharb/eslint-config":"^21.1.1","auto-changelog":"^2.5.0","encoding":"^0.1.13","eslint":"=8.8.0","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"engines":{"node":">= 0.8"},"_id":"util.promisify@1.1.3","gitHead":"817e1b76aa4b0659b07664b4f788b891d0f1fbc1","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-GIEaZ6o86fj09Wtf0VfZ5XP7tmd4t3jM5aZCgmBi231D0DB1AEBa3Aa6MP48DMsAIi96WkpWLimIWVwOjbDMOw==","shasum":"3d77cf56628b4aad743e5acde8e5c44cea7dbf1c","tarball":"http://registry-npm.ywwl.com/util.promisify/download/util.promisify-1.1.3.tgz","fileCount":16,"unpackedSize":26092,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkaA7MSuJzI5kuyJZeXG7lWHaE3hwN6huFOOjKV/COuwIgdC85Em+vaCO5CI3T99pXitOko9LlBtpaS0VwtmXZJJM="}],"size":9240,"noattachment":false,"key":"/util.promisify/-/util.promisify-1.1.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/util.promisify_1.1.3_1734544183539_0.07651566578138635"},"_hasShrinkwrap":false,"readme":"# util.promisify\nPolyfill for util.promisify in node versions &lt; v8\n\nnode v8.0.0 added support for a built-in `util.promisify`: https://github.com/nodejs/node/pull/12442/\n\nThis package provides the built-in `util.promisify` in node v8.0.0 and later, and a replacement in other environments.\n\n## Usage\n\n**Direct**\n```js\nconst promisify = require('util.promisify');\n// Use `promisify` just like the built-in method on `util`\n```\n\n**Shim**\n```js\nrequire('util.promisify/shim')();\n// `util.promisify` is now defined\nconst util = require('util');\n// Use `util.promisify`\n```\n\nNote: this package requires a native ES5 environment, and for `Promise` to be globally available. It will throw upon requiring it if these are not present.\n\n## Promisifying modules\n\nIf you want to promisify a whole module, like the `fs` module, you can use [`util.promisify-all`](https://www.npmjs.com/package/util.promisify-all).\n","publish_time":1734544183884,"_cnpm_publish_time":1734544183884,"dist-tags":{"latest":"1.1.3"}}