Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ansi-art/color

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ansi-art/color

@ansi-art/color ===============

  • 3.0.0-alpha3
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@ansi-art/color

Color and color space handling for ansi colors in terminal output.

Color

This handles representation and conversion for a single color value

AsciiArtColor

Context

This handles and optimizes access to a color space for a specific usage context

AsciiArtColorContext

Distance

This is a function that defines how distance between colors is measured

AsciiArtColorDistance

Medium

This represents a variety of output mediums that have different color profiles. Currently supports vga, darwin and xterm.

AsciiArtColorMedium

Palette

This handles conversions of a true color value to something in a colorspace using a particular color perception (distance function).

AsciiArtColorPalette

Space

This handles the available color space.

AsciiArtColorSpace

Testing

just run npm run test or npm run container-test

Contribution

Please PR contributions against develop with jsdoc and mocha tests for the new functionality in place for both commonjs and module suites.

The project uses Conventional Commits and the Fork + PR development model.

All activities in the project are available as npm actions.

Enjoy,

Abbey Hawk Sparrow

FAQs

Package last updated on 22 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc