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

ansi-codes

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansi-codes - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1-security

28

package.json
{
"name": "ansi-codes",
"version": "0.0.0",
"description": "just an object that returns ANSI styling codes",
"version": "0.0.1-security",
"description": "",
"main": "index.js",
"scripts": {
"test": "mocha"
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"fox": "*"
},
"keywords": [
"ansi",
"styling"
],
"repository": {
"url": "git@github.com:azer\/ansi-codes.git",
"type": "git"
"type": "git",
"url": "git+https://github.com/npm/security-holder.git"
},
"author": "azer",
"license": "BSD"
}
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/npm/security-holder/issues"
},
"homepage": "https://github.com/npm/security-holder#readme"
}

@@ -1,84 +0,9 @@

## ansi-codes
# Security holding package
ANSI Styling codes.
This package name is not currently in use, but was formerly occupied
by a popular package. To avoid malicious use, npm is hanging on to
the package name, but loosely, and we'll probably give it to you if
you want it.
## Install
```bash
$ npm install ansi-codes
```
## Usage
```js
ansiCodes = require('ansi-codes')
ansiCodes.bold
// => \033[1m
ansiCodes.yellow
// => \033[31m
ansiCodes.greenBg
// => \033[42m
```
## Reference
**reset:** \033[0m
**bold:** \033[1m
**italic:** \033[3m
**blink:** \033[5m
**underline:** \033[4m
**underlineOff:** \033[24m
**inverse:** \033[7m
**inverseOff:** \033[27m
**strikethrough:** \033[9m
**strikethroughOff:** \033[29m
**def:** \033[39m
**white:** \033[37m
**black:** \033[30m
**red:** \033[31m
**green:** \033[32m
**blue:** \033[34m
**yellow:** \033[33m
**magenta:** \033[35m
**cyan:** \033[36m
**defBg:** \033[49m
**whiteBg:** \033[47m
**blackBg:** \033[40m
**redBg:** \033[41m
**greenBg:** \033[42m
**blueBg:** \033[44m
**yellowBg:** \033[43m
**magentaBg:** \033[45m
**cyanBg:** \033[46m
![](https://dl.dropboxusercontent.com/s/r19djuexd699h44/npmel_22.jpg)
You may adopt this package by contacting support@npmjs.com and
requesting the name.
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