Submit
Path:
~
/
/
proc
/
self
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
libnpmconfig
/
node_modules
/
p-try
/
File Content:
index.js
'use strict'; const pTry = (fn, ...arguments_) => new Promise(resolve => { resolve(fn(...arguments_)); }); module.exports = pTry; // TODO: remove this in the next major version module.exports.default = pTry;
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
index.d.ts
1082 bytes
0644
index.js
211 bytes
0644
license
1109 bytes
0644
package.json
1713 bytes
0644
readme.md
1333 bytes
0644
N4ST4R_ID | Naxtarrr