kolors-logger
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "kolors-logger", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "console.log framework with colors, underlines, reverse and more", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"clean": "prettier --write ." | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC" | ||
"author": "mallusrgreat", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"prettier": "^2.3.2" | ||
} | ||
} |
# kolors-logger | ||
--- | ||
## Kolors-Logger is an NPM Package that allows you to add COLORS to your console! | ||
--- | ||
## Install | ||
```javascript | ||
@@ -12,12 +17,22 @@ // NPM | ||
``` | ||
## Use | ||
```javascript | ||
// CommonJS | ||
const kolors = require('kolors-logger'); | ||
const kolors = require("kolors-logger"); | ||
// ModuleJS | ||
import kolors from 'kolors-logger'; | ||
const { black, blue, cyan, green, /* and more colors you would like in your terminal */ } = kolors; | ||
import kolors from "kolors-logger"; | ||
const { | ||
black, | ||
blue, | ||
cyan, | ||
green /* and more colors you would like in your terminal */, | ||
} = kolors; | ||
``` | ||
--- | ||
## Example: | ||
```javascript | ||
@@ -29,21 +44,23 @@ // with commonjs example | ||
``` | ||
## Example Image | ||
![Example Image](https://i.imgur.com/xswYHyU.png) | ||
Things | Type | ||
------- | ------ | ||
black | color | ||
blue | color | ||
cyan | color | ||
green | color | ||
magenta | color | ||
red | color | ||
white | color | ||
yellow | color | ||
blink | decoration | ||
bright | decoration | ||
dim | decoration | ||
hidden | decoration | ||
reset | decoration | ||
reverse | decoration | ||
underline | decoration | ||
| Things | Type | | ||
| --------- | ---------- | | ||
| black | color | | ||
| blue | color | | ||
| cyan | color | | ||
| green | color | | ||
| magenta | color | | ||
| red | color | | ||
| white | color | | ||
| yellow | color | | ||
| blink | decoration | | ||
| bright | decoration | | ||
| dim | decoration | | ||
| hidden | decoration | | ||
| reset | decoration | | ||
| reverse | decoration | | ||
| underline | decoration | |
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
6418
1
1
65
1