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

ansi-escape-sequences

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansi-escape-sequences - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "ansi-escape-sequences",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple library containing all known terminal ansi escape codes and sequences. Useful for adding colour to your command-line output or building a dynamic text user interface.",

@@ -6,0 +6,0 @@ "repository": "https://github.com/75lb/ansi-escape-sequences.git",

@@ -81,5 +81,5 @@ [![view on npm](http://img.shields.io/npm/v/ansi-escape-sequences.svg)](https://www.npmjs.org/package/ansi-escape-sequences)

> ansi.sgrSequence("green")
'\u001b[32m'
> ansi.sgrSequence([ "green", "underline" ])
'\u001b[32;4m'
'\u001b[32m'
> ansi.sgrSequence([ "green", "underline" ])
'\u001b[32;4m'
```

@@ -98,5 +98,5 @@ <a name="module_ansi-escape-sequences.sgr.format"></a>

> ansi.sgr.format("what?", "green")
'\u001b[32mwhat?\u001b[0m'
> ansi.sgr.format("what?", ["green", "bold"])
'\u001b[32;1mwhat?\u001b[0m'
'\u001b[32mwhat?\u001b[0m'
> ansi.sgr.format("what?", ["green", "bold"])
'\u001b[32;1mwhat?\u001b[0m'
```

@@ -103,0 +103,0 @@ <a name="module_ansi-escape-sequences.cursor"></a>

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