Current Path: > > lib > node_modules > npm > node_modules > util-promisify
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
.npmignore | File | 13 bytes | March 10 2021 14:36:36. | |
.travis.yml | File | 69 bytes | March 10 2021 14:36:36. | |
LICENSE | File | 54027 bytes | March 10 2021 14:36:36. | |
README.md | File | 1086 bytes | March 10 2021 14:36:36. | |
index.js | File | 2983 bytes | March 10 2021 14:36:36. | |
package.json | File | 1319 bytes | March 10 2021 14:36:36. |
# util-promisify Node 8's [`require('util').promisify`](https://nodejs.org/api/util.html#util_util_promisify_original) as a node module, so you can use it right now! Supports [all major node versions](https://github.com/nodejs/LTS#lts-schedule1). [](http://travis-ci.org/juliangruber/util-promisify) [](https://www.npmjs.org/package/util-promisify) [](https://greenkeeper.io/) ## Usage ```js const promisify = require('util-promisify'); const fs = require('fs'); const stat = promisify(fs.stat); stat('/tmp/').then(s => { // ... }); ``` ## Installation ```bash $ npm install util-promisify ``` ## API See `util.promisify`'s [API docs](https://nodejs.org/api/util.html#util_util_promisify_original). ### promisify(original) ### (Symbol) promisify.custom If available, the Symbol is reexported from node core's `util` module. ## License MIT
SILENT KILLER Tool