colorette
npmv2.0.20TypeScriptπEasily set your terminal text color & styles.
Not recommended for new projects
No β colorette should not be adopted for new projects. Last published 1242 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 1242 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 17 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT β permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph β downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding colorette to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the colorette README.
import { blue, bold, underline } from "colorette"
console.log(
blue("I'm blue"),
bold(blue("da ba dee")),
underline(bold(blue("da ba daa")))
)colorette vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| colorettethis page | 0 | 2 | MIT | 3 years ago |
| color-convert | 299.6M | 1 | MIT | 1 day ago |
| supports-hyperlinks | 35.4M | 1 | MIT | 1 day ago |
| terminal-link | 18.8M | 1 | MIT | 1 day ago |
| string-width | 0 | 3 | MIT | 1 day ago |
| color-name | 306.6M | 3 | MIT | 1 day ago |
Dependencies
Declared by colorette v2.0.20. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (2)
Used by
Popular packages that depend on colorette.
Relationship graph
Dependencies (left) and dependents (right) of colorette.
Frequently installed together
the complete solution for node.js command-line programs
Lodash modular utilities.
An AST-based pattern checker for JavaScript.
A tiny (183B to 210B) and fast utility to ascend parent directories
Prettier is an opinionated code formatter
[](https://github.com/mmkal/expect-type/actions/workflows/ci.yml)  [](ht
PostgreSQL client - pure javascript & libpq with the same API
TypeScript execution environment and REPL for node.js, with source map support
Delightful JavaScript Testing.
Functions for dealing with a PostgreSQL connection string
fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
Tomorrow's ECMAScript modules today!
Release history
No releases in the last two years, typically about 1 day apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.0.20latest | 3 years ago | 17 KB | MIT |
| 2.0.19 | 4 years ago | 17 KB | MIT |
| 2.0.18 | 4 years ago | 17 KB | MIT |
| 2.0.17 | 4 years ago | 37 KB | MIT |
| 2.0.16 | 4 years ago | 16 KB | MIT |
| 2.0.15 | 4 years ago | 16 KB | MIT |
| 2.0.14 | 5 years ago | 16 KB | MIT |
| 2.0.13 | 5 years ago | 15 KB | MIT |
| 2.0.12 | 5 years ago | 15 KB | MIT |
| 2.0.11 | 5 years ago | 15 KB | MIT |
| 2.0.10 | 5 years ago | 15 KB | MIT |
| 2.0.9 | 5 years ago | 15 KB | MIT |
| 2.0.8 | 5 years ago | 15 KB | MIT |
| 2.0.7 | 5 years ago | 15 KB | MIT |
| 2.0.6 | 5 years ago | 14 KB | MIT |
Overview
colorette is an npm package that πEasily set your terminal text color & styles. It has 2 known dependents in the graph. The latest version is 2.0.20, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need πEasily set your terminal text color & styles and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Lean dependency tree (2 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use colorette?
No β colorette should not be adopted for new projects. Last published 1242 days ago.
How do I install colorette?
Run `npm install colorette` to add colorette to your npm project.
What license is colorette released under?
colorette is distributed under the MIT license.
How popular is colorette?
npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on colorette.
Is colorette still maintained?
The most recent release of colorette (v2.0.20) was published 3 years ago.
Does colorette run install scripts?
No. colorette does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.