0.0.10 • Published 12 days ago

skyterminal v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
12 days ago

Owner

Features

  • No dependencies
  • Easy to use
  • Beginner friendly

Install

$ npm install skyterminal@latest 
$ yarn add skyterminal@latest 
$ pnpm add skyterminal@latest

Usage

//import package
const sky = require('skyterminal');

const test = '${(sky.blue().bgWhite("Hello"))}';
console.log(test);

//or
const { bold, yellow } = require('skyterminal'); //add more color as u want

const test = `${bold(yellow('Hello'))}`;
console.log(test);

Note: All the same colors, backgrounds, and modifiers are available.

API

Colors

  • sky.black()
  • sky.red()
  • sky.green()
  • sky.yellow()
  • sky.blue()
  • sky.magenta()
  • sky.cyan()
  • sky.white()
  • sky.gray()

Backgrounds

  • sky.bgBlack()
  • sky.bgRed()
  • sky.bgGreen()
  • sky.bgYellow()
  • sky.bgBlue()
  • sky.bgMagenta()
  • sky.bgCyan()
  • sky.bgWhite()

Modifiers

  • sky.bold()
  • sky.dim()
  • sky.italic()
  • sky.underline()
  • sky.inverse()
  • sky.hidden()
  • sky.strikethrough()

Compatibility

SkyTerminal is compatible with Node.js version v12 and above.

License

SkyTerminal is released under the MIT License.

Conclusion

SkyTerminal is a high-performance Node.js library for formatting terminal text with ANSI colors. It is lightweight, easy to use, and compatible with other terminal libraries. By using SkyTerminal, you can improve the performance and reduce the memory usage of your terminal applications.

0.0.10

12 days ago

0.0.9

13 days ago

0.0.8

13 days ago

0.0.7

13 days ago

0.0.6

13 days ago

0.0.5

13 days ago

0.0.4

13 days ago

0.0.3

13 days ago

0.0.1

13 days ago