skyterminal
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published
skyterminal
The fastest Node.js library for formatting terminal text 💖

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.

Package Sidebar

Install

npm i skyterminal

Weekly Downloads

15

Version

0.0.10

License

MIT

Unpacked Size

14.1 kB

Total Files

8

Last publish

Collaborators

  • ratulefad12