Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inDemoInstall

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
    Github

Version published
Maintainers
1
Weekly downloads
56,630,820
increased by12.96%

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 54,343,082 weekly downloads. As such, picocolors popularity was classified as popular.

Is picocolors well maintained?

We found that picocolors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 13 Oct 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket[email protected]

Product

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc