Showing 1-20 of 115,449 packages
JWA implementation (supports all JWS algorithms)
Implementation of JSON Web Signatures
A list of color names and its values
Detect whether a terminal supports color
Implemets the CIEDE2000 color difference algorithm, conversion between RGB and LAB color and mapping all colors in palette X to the closest or most different color in palette Y based on the CIEDE2000 difference.
Fast 2D concave hull algorithm in JavaScript (generates an outline of a point set)
ANSI escape codes for styling strings in the terminal
Color conversion and manipulation with CSS string support
Plain color conversion functions
A JS library for finding optimal label position inside a polygon
The ESM-only 'color' package made compatible for use with CommonJS runtimes
Color spaces! RGB, HSL, Cubehelix, Lab and HCL (Lch).
Resolve package.json exports & imports maps
Finds the closest color name to a given hex, rgb and hsl color (with and without alpha). It uses the Euclidean distance formula to calculate the distance between colors in the RGB color space
Module resolution utilities based on Node.js upstream implementation.
graph algorithm
Parse CSS color values
One Time Password (HOTP/TOTP) library for Node.js, Deno, Bun and browsers
Detect the indentation of code
JavaScript module to use black or white font according to the given background color