Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
amatya /
node_modules /
p-pipe /
[ HOME SHELL ]
Name
Size
Permission
Action
index.js
415
B
-rw-r--r--
license
1.08
KB
-rw-r--r--
package.json
858
B
-rw-r--r--
readme.md
1.36
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : readme.md
# p-pipe [](https://travis-ci.org/sindresorhus/p-pipe) > Compose promise-returning & async functions into a reusable pipeline ## Install ``` $ npm install p-pipe ``` ## Usage ```js const pPipe = require('p-pipe'); const addUnicorn = str => Promise.resolve(`${str} Unicorn`); const addRainbow = str => Promise.resolve(`${str} Rainbow`); const pipeline = pPipe(addUnicorn, addRainbow); pipeline('❤️').then(console.log); //=> '❤️ Unicorn Rainbow' ``` ## API ### pPipe(input, …) The `input` functions are applied from left to right. You can also specify an array as the first argument instead of multiple function arguments. Mostly only useful if you have to support Node.js 4. With Node.js 6 and above you can just use spread syntax. #### input Type: `Function` Expected to return a `Promise` or any value. ## Related - [p-each-series](https://github.com/sindresorhus/p-each-series) - Iterate over promises serially - [p-series](https://github.com/sindresorhus/p-series) - Run promise-returning & async functions in series - [p-waterfall](https://github.com/sindresorhus/p-waterfall) - Run promise-returning & async functions in series, each passing its result to the next - [More…](https://github.com/sindresorhus/promise-fun) ## License MIT © [Sindre Sorhus](https://sindresorhus.com)
Close