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

strip-ansi-cli

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strip-ansi-cli - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

11

cli.js
#!/usr/bin/env node
'use strict';
const meow = require('meow');
const stripAnsi = require('strip-ansi');
import meow from 'meow';
import stripAnsi from 'strip-ansi';
import getStdin from 'get-stdin';

@@ -29,4 +29,5 @@ const cli = meow(`

} else {
process.stdin.setEncoding('utf8');
process.stdin.on('data', init);
(async () => {
init(await getStdin());
})();
}
{
"name": "strip-ansi-cli",
"version": "2.0.0",
"description": "Strip ANSI escape codes",
"license": "MIT",
"repository": "chalk/strip-ansi-cli",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bin": {
"strip-ansi": "cli.js"
},
"engines": {
"node": ">=4"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"cli.js"
],
"keywords": [
"cli-app",
"cli",
"strip",
"trim",
"remove",
"ansi",
"styles",
"color",
"colour",
"colors",
"terminal",
"console",
"string",
"tty",
"escape",
"formatting",
"rgb",
"256",
"shell",
"xterm",
"log",
"logging",
"command-line",
"text"
],
"dependencies": {
"meow": "^3.7.0",
"strip-ansi": "^4.0.0"
},
"devDependencies": {
"ava": "*",
"execa": "^0.7.0",
"xo": "*"
}
"name": "strip-ansi-cli",
"version": "3.0.0",
"description": "Strip ANSI escape codes",
"license": "MIT",
"repository": "chalk/strip-ansi-cli",
"funding": "https://github.com/chalk/strip-ansi-cli?sponsor=1",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"bin": {
"strip-ansi": "./cli.js"
},
"engines": {
"node": ">=12"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"cli.js"
],
"keywords": [
"cli-app",
"cli",
"strip",
"trim",
"remove",
"ansi",
"styles",
"color",
"colour",
"colors",
"terminal",
"console",
"string",
"tty",
"escape",
"formatting",
"rgb",
"256",
"shell",
"xterm",
"log",
"logging",
"command-line",
"text"
],
"dependencies": {
"get-stdin": "^9.0.0",
"meow": "^9.0.0",
"strip-ansi": "^7.0.0"
},
"devDependencies": {
"ava": "^3.15.0",
"execa": "^5.0.0",
"xo": "^0.38.2"
}
}

@@ -1,6 +0,5 @@

# strip-ansi-cli [![Build Status](https://travis-ci.org/chalk/strip-ansi-cli.svg?branch=master)](https://travis-ci.org/chalk/strip-ansi-cli)
# strip-ansi-cli
> Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)
## Install

@@ -12,3 +11,2 @@

## Usage

@@ -27,3 +25,2 @@

## Related

@@ -33,3 +30,2 @@

## Maintainers

@@ -39,6 +35,1 @@

- [Josh Junon](https://github.com/qix-)
## License
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