1.1.0 • Published 1 year ago

whiteshark v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

whiteshark

This is a simple library for Javascript that contains all of the console functions simplified.

This library is primarily used for nodejs development, creating terminal applications or logging information/errors with simplier functions than without, instead of having multiple "random" numbers and letters for creating a text background/color you can log the same thing with whiteshark but while understanding what your writing.

// Node.js Regular red text
console.log('\u001b[1;41m Red Text \x1b[0m');

However with whitesharkjs it would look something like this:

// Whiteshark red text
ws("Hello World!").fg({ color: "red" }).exec();

Installation

Node.js 18.12.0 or higher required

npm install whiteshark
npm install whiteshark@1.1.0

Usage

Set the whiteshark import

const { } = require("whiteshark");

Then inside of your package.json

  "dependencies": {
    "whiteshark": "^1.1.0"
  }

Links

Contributing

Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation.

Help

If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official whitesharkjs Server.