/
var
/
www
/
flurhymez
/
node_modules
/
p-pipe
/
/var/www/flurhymez/node_modules/p-pipe
mkdir
upload
Name
Size
Mode
Actions
index.d.ts
4703
0644
edit
dl
rm
index.js
343
0644
edit
dl
rm
license
1117
0644
edit
dl
rm
package.json
1785
0644
edit
dl
rm
readme.md
1569
0644
edit
dl
rm
Edit:
/var/www/flurhymez/node_modules/p-pipe/index.js
(343B)
'use strict'; module.exports = (...functions) => { if (functions.length === 0) { throw new Error('Expected at least one argument'); } return async input => { let currentValue = input; for (const fn of functions) { currentValue = await fn(currentValue); // eslint-disable-line no-await-in-loop } return currentValue; }; };
Save
cmd:
run