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

eight-colors

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eight-colors - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

lib/index.js

32

package.json
{
"name": "eight-colors",
"version": "1.0.0",
"description": "eight colors",
"main": "index.js",
"files": [
"index.js"
],
"repository": {
"type": "git",
"url": "git+https://github.com/cenfun/eight-colors.git"
},
"devDependencies": {
"eslint": "^7.20.0"
}
"name": "eight-colors",
"version": "1.0.1",
"description": "eight colors",
"main": "lib/index.js",
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/cenfun/eight-colors.git"
},
"scripts": {
"test": "node ./test/test.js"
},
"devDependencies": {
"eslint": "^8.13.0"
},
"dependencies": {}
}

@@ -10,6 +10,6 @@ # Eight Colors

## APIs
* 8 colors: black, red, green, yellow, blue, magenta, cyan, white
* other: reset, bold, faint, italic, underline, inverse, hidden, strike
* remove color: remove
* eight colors: black, red, green, yellow, blue, magenta, cyan, white
* styles: reset, bold, faint, italic, underline, inverse, hidden, strike
* remove color
* log color
## Usage

@@ -38,2 +38,8 @@ ```js

//log color
EC.logColor("string", "red");
EC.logGreen('green string');
EC.logRed('red string');
EC.logCyan('cyan string');
```

@@ -43,2 +49,5 @@

* 1.0.1
* added log color API
* 1.0.0
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