Linux bear.hostingplus.cl 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
LiteSpeed
Server IP : 192.140.57.17 & Your IP : 216.73.216.106
Domains :
Cant Read [ /etc/named.conf ]
User : explo
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
bitninja-threat-hunting /
node_modules /
yn /
Delete
Unzip
Name
Size
Permission
Date
Action
index.d.ts
1.32
KB
-rw-r--r--
2024-07-01 08:57
index.js
711
B
-rw-r--r--
2024-07-01 08:57
lenient.js
1.41
KB
-rw-r--r--
2024-07-01 08:57
license
1.08
KB
-rw-r--r--
2024-07-01 08:57
package.json
1.59
KB
-rw-r--r--
2024-07-01 08:57
readme.md
1.06
KB
-rw-r--r--
2024-07-01 08:57
Save
Rename
'use strict'; const lenient = require('./lenient'); const yn = (input, options) => { input = String(input).trim(); options = Object.assign({ lenient: false, default: null }, options); if (options.default !== null && typeof options.default !== 'boolean') { throw new TypeError(`Expected the \`default\` option to be of type \`boolean\`, got \`${typeof options.default}\``); } if (/^(?:y|yes|true|1)$/i.test(input)) { return true; } if (/^(?:n|no|false|0)$/i.test(input)) { return false; } if (options.lenient === true) { return lenient(input, options); } return options.default; }; module.exports = yn; // TODO: Remove this for the next major release module.exports.default = yn;