New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

skyterminal

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skyterminal

allow you to format your text with ansi colors in terminal

  • 0.0.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
increased by36.36%
Maintainers
1
Weekly downloads
 
Created
Source
skyterminal
version downloads install size
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.

Keywords

FAQs

Package last updated on 23 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc