Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sisteransi

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sisteransi

ANSI escape codes for some terminal swag

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
25M
increased by6.21%
Maintainers
1
Weekly downloads
 
Created

What is sisteransi?

The sisteransi npm package provides utilities for manipulating ANSI escape codes, which are used to control text formatting, color, and other output options on text terminals.

What are sisteransi's main functionalities?

Text Formatting

This feature allows you to format text with styles such as bold, italic, and underline using ANSI escape codes.

const sisteransi = require('sisteransi');
console.log(sisteransi.bold('This is bold text'));
console.log(sisteransi.italic('This is italic text'));
console.log(sisteransi.underline('This is underlined text'));

Text Color

This feature allows you to change the color of the text using ANSI escape codes. You can set the text to various colors like red, green, and blue.

const sisteransi = require('sisteransi');
console.log(sisteransi.red('This is red text'));
console.log(sisteransi.green('This is green text'));
console.log(sisteransi.blue('This is blue text'));

Background Color

This feature allows you to change the background color of the text using ANSI escape codes. You can set the background to various colors like red, green, and blue.

const sisteransi = require('sisteransi');
console.log(sisteransi.bgRed('This text has a red background'));
console.log(sisteransi.bgGreen('This text has a green background'));
console.log(sisteransi.bgBlue('This text has a blue background'));

Other packages similar to sisteransi

Keywords

FAQs

Package last updated on 18 Mar 2020

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