</>PackageGraphPackageGraph

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.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

17 KB
Install size

Unpacked size of this package plus its entire runtime tree.

β€”
Tree depth

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.

PackageWeekly downloadsDependentsLicenseLast release
colorettethis page02MIT3 years ago
color-convert299.6M1MIT1 day ago
supports-hyperlinks35.4M1MIT1 day ago
terminal-link18.8M1MIT1 day ago
string-width03MIT1 day ago
color-name306.6M3MIT1 day ago

Dependencies

Declared by colorette v2.0.20. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (2)

c8 *twist *

Used by

Popular packages that depend on colorette.

Relationship graph

Dependencies (left) and dependents (right) of colorette.

knexansi-fragmentscolorette
colorette dependencies dependents

Frequently installed together

commandernpm

the complete solution for node.js command-line programs

↓ 451.1M/wkβ—ˆ 11 dependentsβš– MITTS
lodashnpm

Lodash modular utilities.

↓ 147.8M/wkβ—ˆ 20 dependentsβš– MIT
eslintnpm

An AST-based pattern checker for JavaScript.

↓ 138.4M/wkβ—ˆ 279 dependentsβš– MITTS
escaladenpm

A tiny (183B to 210B) and fast utility to ascend parent directories

↓ 136.6M/wkβ—ˆ 3 dependentsβš– MITTS
prettiernpm

Prettier is an opinionated code formatter

↓ 114.2M/wkβ—ˆ 159 dependentsβš– MITTS
expect-typenpm

[![CI](https://github.com/mmkal/expect-type/actions/workflows/ci.yml/badge.svg)](https://github.com/mmkal/expect-type/actions/workflows/ci.yml) ![npm](https://img.shields.io/npm/dt/expect-type) [![X Follow](https://img.shields.io/twitter/follow/mmkal)](ht

↓ 78.4M/wkβ—ˆ 8 dependentsβš– Apache-2.0TS
pgnpm

PostgreSQL client - pure javascript & libpq with the same API

↓ 46.3M/wkβ—ˆ 5 dependentsβš– MIT
ts-nodenpm

TypeScript execution environment and REPL for node.js, with source map support

↓ 42.2M/wkβ—ˆ 38 dependentsβš– MITTS
jestnpm

Delightful JavaScript Testing.

↓ 42.1M/wkβ—ˆ 70 dependentsβš– MITTS
pg-connection-stringnpm

Functions for dealing with a PostgreSQL connection string

↓ 38.9M/wkβ—ˆ 2 dependentsβš– MITTS
mysql2npm

fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS

↓ 10.5M/wkβ—ˆ 3 dependentsβš– MITTS
esmnpm

Tomorrow's ECMAScript modules today!

↓ 6.2M/wkβ—ˆ 5 dependentsβš– MIT

Release history

No releases in the last two years, typically about 1 day apart.

Recent versions of colorette
VersionPublishedSizeLicense
2.0.20latest3 years ago17 KBMIT
2.0.194 years ago17 KBMIT
2.0.184 years ago17 KBMIT
2.0.174 years ago37 KBMIT
2.0.164 years ago16 KBMIT
2.0.154 years ago16 KBMIT
2.0.145 years ago16 KBMIT
2.0.135 years ago15 KBMIT
2.0.125 years ago15 KBMIT
2.0.115 years ago15 KBMIT
2.0.105 years ago15 KBMIT
2.0.95 years ago15 KBMIT
2.0.85 years ago15 KBMIT
2.0.75 years ago15 KBMIT
2.0.65 years ago14 KBMIT

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

Keywords

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.