Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

picocolors

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Issues
File Explorer

Advanced tools

picocolors

The tiniest and the fastest library for terminal output formatting with ANSI colors

    1.0.0latest

Version published
Maintainers
1
Weekly downloads
43,944,058
decreased by-2.85%

Weekly downloads

Changelog

Source

v1.0.0

  • Removed several code elements to reduce the package size (#31)
  • Fixed optional flag for createColors() in TypeScript typings (#34)

Readme

Source

picocolors

The tiniest and the fastest library for terminal output formatting with ANSI colors.

import pc from "picocolors" console.log( pc.green(`How are ${pc.italic(`you`)} doing?`) )
  • No dependencies.
  • 14 times smaller and 2 times faster than chalk.
  • Used by popular tools like PostCSS, SVGO, Stylelint, and Browserslist.
  • Node.js v6+ & browsers support. Support for both CJS and ESM projects.
  • TypeScript type declarations included.
  • NO_COLOR friendly.

Docs

Read full docs on GitHub.

Keywords

FAQs

What is picocolors?

The tiniest and the fastest library for terminal output formatting with ANSI colors

Is picocolors popular?

The npm package picocolors receives a total of 35,312,614 weekly downloads. As such, picocolors popularity was classified as popular.

Is picocolors well maintained?

We found that picocolors demonstrated a healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.

Last updated on 13 Oct 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc