tinyrainbow
npmv3.1.1TypeScriptA small library to print colourful messages.
Safe to adopt
Yes — tinyrainbow scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 43 days ago. 9 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 43 days ago. 9 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 7.3 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 2 maintainers, and a contained dependency surface.
- 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 tinyrainbow 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
- node >=14.0.0
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the tinyrainbow README.
import c from 'tinyrainbow'
console.log(c.red(c.bold('Hello World!')))tinyrainbow 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 |
|---|---|---|---|---|
| tinyrainbowthis page | 0 | 10 | MIT | 1 month ago |
| mongodb-connection-string-url | 8.8M | 1 | Apache-2.0 | 1 day ago |
| picocolors | 0 | 16 | ISC | 1 day ago |
| @csstools/color-helpers | 0 | 1 | MIT-0 | 1 day ago |
Used by
Popular packages that depend on tinyrainbow.
Next generation testing framework powered by Vite
AST-aware v8-to-istanbul
UI for Vitest
Fork of pretty-format with support for ESM
V8 coverage provider for Vitest
Istanbul coverage provider for Vitest
Browser running for Vitest using playwright
Browser running for Vitest
Jest's expect matchers as a Chai plugin
Shared Vitest utility functions
Relationship graph
Dependencies (left) and dependents (right) of tinyrainbow.
Frequently installed together
Next generation testing framework powered by Vite
Universal filesystem path utils
Shared Vitest utility functions
Native-ESM powered web dev build tool
Trace the original position through a source map
A comprehensive library for mime-type mapping
A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.
Browser running for Vitest
Public API for OpenTelemetry
Vitest module mocker implementation
TypeScript definitions for node
Browser running for Vitest using playwright
Release history
9 releases in the last two years, typically about 1 day apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.1.1latest | 1 month ago | 7.3 KB | MIT |
| 3.1.1-pre.1 | 1 month ago | 7.2 KB | MIT |
| 3.1.1-pre.0 | 1 month ago | 7.7 KB | MIT |
| 3.1.0 | 6 months ago | 7.2 KB | MIT |
| 3.0.3 | 1 year ago | 6.8 KB | MIT |
| 3.0.2 | 1 year ago | 6.8 KB | MIT |
| 3.0.1 | 1 year ago | 6.8 KB | MIT |
| 3.0.0 | 1 year ago | 6.7 KB | MIT |
| 2.0.0 | 1 year ago | 7.9 KB | MIT |
| 1.2.0 | 2 years ago | 7.7 KB | MIT |
| 1.1.2 | 2 years ago | 6.6 KB | MIT |
| 1.1.1 | 3 years ago | 6.6 KB | MIT |
| 1.1.0 | 3 years ago | 6.4 KB | MIT |
| 1.0.0 | 3 years ago | 5.5 KB | MIT |
Overview
tinyrainbow is an npm package that a small library to print colourful messages. It has 10 known dependents in the graph. The latest version is 3.1.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a small library to print colourful messages 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).
- Zero runtime dependencies — minimal footprint.
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use tinyrainbow?
Yes — tinyrainbow scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 43 days ago. 9 releases in the last 2 years.
How do I install tinyrainbow?
Run `npm install tinyrainbow` to add tinyrainbow to your npm project.
What license is tinyrainbow released under?
tinyrainbow is distributed under the MIT license.
How popular is tinyrainbow?
npm does not publish download counts. Within PackageGraph's crawl, 10 known packages depend on tinyrainbow.
Is tinyrainbow still maintained?
The most recent release of tinyrainbow (v3.1.1) was published 1 month ago.
Does tinyrainbow run install scripts?
No. tinyrainbow does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.