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.41
Domains :
Cant Read [ /etc/named.conf ]
User : explo
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
bitninja-dispatcher /
node_modules /
cowsay /
Delete
Unzip
Name
Size
Permission
Date
Action
build
[ DIR ]
drwxr-xr-x
2026-02-20 01:17
cows
[ DIR ]
drwxr-xr-x
2026-02-20 01:17
lib
[ DIR ]
drwxr-xr-x
2026-02-20 01:17
LICENSE
1.24
KB
-rw-r--r--
2026-02-18 13:02
README.md
3.63
KB
-rw-r--r--
2026-02-18 13:02
cli.js
2.18
KB
-rwxr-xr-x
2026-02-18 13:02
index.d.ts
3.7
KB
-rw-r--r--
2026-02-18 13:02
index.js
3.38
KB
-rw-r--r--
2026-02-18 13:02
package.json
2.1
KB
-rw-r--r--
2026-02-18 13:02
Save
Rename
var balloon = require("./lib/balloon"); var cows = require("./lib/cows"); var faces = require("./lib/faces"); /** * @param options * ## Face : * Either choose a mode (set the value as true) **_or_** * set your own defined eyes and tongue to `e` and `T`. * - ### `e` : eyes * - ### `T` : tongue * * ## Cow : * Either specify a cow name (e.g. "fox") **_or_** * set the value of `r` to true which selects a random cow. * - ### `r` : random selection * - ### `f` : cow name - from `cows` folder * * ## Modes : * Modes are just ready-to-use faces, here's their list: * - #### `b` : borg * - #### `d` : dead * - #### `g` : greedy * - #### `p` : paranoia * - #### `s` : stoned * - #### `t` : tired * - #### `w` : wired * - #### `y` : youthful * * @example * ``` * // custom cow and face * cowsay.say({ * text: 'Hello world!', * e: '^^', // eyes * T: 'U ', // tongue * f: 'USA' // name of the cow from `cows` folder * }) * * // using a random cow * cowsay.say({ * text: 'Hello world!', * e: 'xx', // eyes * r: true, // random mode - use a random cow. * }) * * // using a mode * cowsay.say({ * text: 'Hello world!', * y: true, // using y mode - youthful mode * }) * ``` * * @returns {string} compiled cow */ exports.say = function (options) { return doIt(options, true); }; /** * @param options * ## Face : * Either choose a mode (set the value as true) **_or_** * set your own defined eyes and tongue to `e` and `T`. * - ### `e` : eyes * - ### `T` : tongue * * ## Cow : * Either specify a cow name (e.g. "fox") **_or_** * set the value of `r` to true which selects a random cow. * - ### `r` : random selection * - ### `f` : cow name - from `cows` folder * * ## Modes : * Modes are just ready-to-use faces, here's their list: * - #### `b` : borg * - #### `d` : dead * - #### `g` : greedy * - #### `p` : paranoia * - #### `s` : stoned * - #### `t` : tired * - #### `w` : wired * - #### `y` : youthful * * @example * ``` * // custom cow and face * cowsay.think({ * text: 'Hello world!', * e: '^^', // eyes * T: 'U ', // tongue * f: 'USA' // name of the cow from `cows` folder * }) * * // using a random cow * cowsay.think({ * text: 'Hello world!', * e: 'xx', // eyes * r: true, // random mode - use a random cow. * }) * * // using a mode * cowsay.think({ * text: 'Hello world!', * y: true, // using y mode - youthful mode * }) * ``` * * @returns {string} compiled cow */ exports.think = function (options) { return doIt(options, false); }; /** * @example * ``` * function get_cows(error, cow_names) { * if (error) { * console.log(error); * } * else if (cow_names) { * console.log(`Number of cows available: ${cow_names.length}`); * } * } * * cowsay.list(get_cows); * ``` * @param callback * @returns {Promise} promise */ exports.list = cows.list; function doIt (options, sayAloud) { var cowFile; if (options.r) { var cowsList = cows.listSync(); cowFile = cowsList[Math.floor(Math.random() * cowsList.length)]; } else { cowFile = options.f || "default"; } var cow = cows.get(cowFile); var face = faces(options); face.thoughts = sayAloud ? "\\" : "o"; var action = sayAloud ? "say" : "think"; return balloon[action](options.text || options._.join(" "), options.n ? null : options.W) + "\n" + cow(face); }