close

@img/colour

The ESM-only 'color' package made compatible for use with CommonJS runtimes

  • Types
  • ESM
  • CJS
License
MIT
Deps
0
Install Size
73.3 kB
Vulns
0
Published

Get started

$npm install @img/colour
$pnpm add @img/colour
$yarn add @img/colour
$bun add @img/colour
$deno add npm:@img/colour
$vlt install @img/colour
$vp add @img/colour

Weekly DownloadsAcross all versions

Node.js
>=18

Versions

View all versions
1.1.0
latest

Readme

@img/colour

The latest version of the color package is now ESM-only, however some JavaScript runtimes do not yet support this, which includes versions of Node.js prior to 20.19.0.

This package converts the color package and its dependencies, all of which are MIT-licensed, to CommonJS.