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

has-ansi-cli

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

has-ansi-cli - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

4

cli.js

@@ -9,4 +9,4 @@ #!/usr/bin/env node

Usage
$ has-ansi <string>
$ echo <string> | has-ansi
$ has-ansi <text>
$ echo <text> | has-ansi

@@ -13,0 +13,0 @@ Example

{
"name": "has-ansi-cli",
"version": "2.0.0",
"version": "3.0.0",
"description": "Check if a string has ANSI escape codes",

@@ -12,7 +12,2 @@ "license": "MIT",

},
"maintainers": [
"Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)",
"Joshua Appelman <jappelman@xebia.com> (jbnicolai.com)",
"JD Ballard <i.am.qix@gmail.com> (github.com/qix-)"
],
"bin": {

@@ -58,13 +53,10 @@ "has-ansi": "cli.js"

"get-stdin": "^5.0.1",
"has-ansi": "^2.0.0",
"meow": "^3.5.0"
"has-ansi": "^3.0.0",
"meow": "^3.7.0"
},
"devDependencies": {
"ava": "*",
"pify": "^2.3.0",
"execa": "^0.7.0",
"xo": "*"
},
"xo": {
"esnext": true
}
}
# has-ansi-cli [![Build Status](https://travis-ci.org/chalk/has-ansi-cli.svg?branch=master)](https://travis-ci.org/chalk/has-ansi-cli)
> Check if a string has [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)
> Check if a string has [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)

@@ -19,4 +19,4 @@

Usage
$ has-ansi <string>
$ echo <string> | has-ansi
$ has-ansi <text>
$ echo <text> | has-ansi

@@ -35,4 +35,10 @@ Example

## Maintainers
- [Sindre Sorhus](https://github.com/sindresorhus)
- [Josh Junon](https://github.com/qix-)
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)
MIT

Sorry, the diff of this file is not supported yet

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