budgie-console
v0.0.1-beta
Published
budgie-console is a node console utility. It adds styling and color to a boring console logs, apart from console styling, it also has capability to add a spinner with auto stop capability using a status variable.
Downloads
1
Maintainers
Readme
Budgie Console
Welcome to the new project, where we can create exciting styling using colours and animated spinners in the Node CLI or browser console.
Installation
Use the package manager npm to install foobar.
$ npm i budgie-console
Usage
const Console = require('budgie-console')
let loading = true;
Console.log(Console.Underscore, Console.BgCyan, "Welcome to Budgie JS");
Console.spinner(Console.BOX_SPINNER, " ...Welcome to Budgie Console...", 100, () => loading);
Included in the package
A set of few background and foreground colors along with text styling like Bold and Underline. 2 set of spinner frames - HEART_BEAT_SPINNER(['-', '+']) and BOX_SPINNER(["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱", "▰▰▰▱▱▱▱", "▰▰▰▰▱▱▱", "▰▰▰▰▰▱▱", "▰▰▰▰▰▰▱", "▰▰▰▰▰▰▰", "▱▱▱▱▱▱▱" ])
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
ISC License
Copyright (c) 2021 Yash Datir
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
In Future release
- More Styles and spinners designs,
- More Font options.