Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 18.219.206.240
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
node_modules /
npm /
node_modules /
stream-each /
Delete
Unzip
Name
Size
Permission
Date
Action
.npmignore
13
B
-rw-r--r--
2021-03-10 14:36
.travis.yml
62
B
-rw-r--r--
2021-03-10 14:36
LICENSE
1.05
KB
-rw-r--r--
2021-03-10 14:36
README.md
1012
B
-rw-r--r--
2021-03-10 14:36
collaborators.md
352
B
-rw-r--r--
2021-03-10 14:36
index.js
1019
B
-rw-r--r--
2021-03-10 14:36
package.json
1.6
KB
-rw-r--r--
2021-03-10 14:36
test.js
2.03
KB
-rw-r--r--
2021-03-10 14:36
Save
Rename
var eos = require('end-of-stream') var shift = require('stream-shift') module.exports = each function each (stream, fn, cb) { var want = true var error = null var ended = false var running = false var calling = false stream.on('readable', onreadable) onreadable() if (cb) eos(stream, {readable: true, writable: false}, done) return stream function done (err) { if (!error) error = err ended = true if (!running) cb(error) } function onreadable () { if (want) read() } function afterRead (err) { running = false if (err) { error = err if (ended) return cb(error) stream.destroy(err) return } if (ended) return cb(error) if (!calling) read() } function read () { while (!running && !ended) { want = false var data = shift(stream) if (data === null) { want = true return } running = true calling = true fn(data, afterRead) calling = false } } }