ansi-escape-sequences
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"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> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17997