Socket
Socket
Sign inDemoInstall

@ansi-art/color

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ansi-art/color

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


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Created
Weekly downloads
 

Readme

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

Last updated on 22 Jun 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc