@poppinss/colors
Advanced tools
Comparing version 4.0.0-1 to 4.0.0-2
{ | ||
"name": "@poppinss/colors", | ||
"version": "4.0.0-1", | ||
"version": "4.0.0-2", | ||
"description": "A wrapper on top of kleur with ability to write test against the color functions", | ||
@@ -18,3 +18,3 @@ "main": "build/index.js", | ||
"pretest": "npm run lint", | ||
"test": "npm run vscode:test", | ||
"test": "c8 npm run vscode:test", | ||
"clean": "del-cli build", | ||
@@ -42,11 +42,12 @@ "compile": "npm run lint && npm run clean && tsc", | ||
"@japa/run-failed-tests": "^1.1.0", | ||
"@japa/runner": "^2.2.1", | ||
"@japa/spec-reporter": "^1.3.1", | ||
"@swc/core": "^1.3.7", | ||
"@types/node": "^18.8.4", | ||
"@japa/runner": "^2.2.2", | ||
"@japa/spec-reporter": "^1.3.2", | ||
"@swc/core": "^1.3.11", | ||
"@types/node": "^18.11.7", | ||
"c8": "^7.12.0", | ||
"del-cli": "^5.0.0", | ||
"doctoc": "^2.2.1", | ||
"eslint": "^8.24.0", | ||
"eslint": "^8.26.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-adonis": "^3.0.2", | ||
"eslint-plugin-adonis": "^3.0.3", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
@@ -115,3 +116,12 @@ "github-label-sync": "^2.2.0", | ||
"anyBranch": false | ||
}, | ||
"c8": { | ||
"reporter": [ | ||
"text", | ||
"html" | ||
], | ||
"exclude": [ | ||
"tests/**" | ||
] | ||
} | ||
} |
# @poppinss/colors | ||
> **Not yet another** ANSI colors library for Node.js | ||
> Wrapper over [kleur](https://www.npmjs.com/package/kleur) with better support for testing | ||
@@ -7,6 +7,4 @@ [![gh-workflow-image]][gh-workflow-url] [![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url] [![synk-image]][synk-url] | ||
## Why this package exists? | ||
There are already million color libraries in Node.js, so why are you creating another one, moron?. | ||
This package is a wrapper over [kleur](https://www.npmjs.com/package/kleur) with a couple of other implementations to make testing easier and work seamlessly with terminals/stdout streams that do not support colors. | ||
Wait. This is not yet another color library. Instead, this package is a wrapper over [kleur](https://www.npmjs.com/package/kleur) with a couple of other implementations to make testing easier and work seamlessly with terminals/stdout streams that do not support colors. | ||
## Usage | ||
@@ -13,0 +11,0 @@ Install the package from the npm registry as follows. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13789
21
99