Evercoder/culori

Uncaught TypeError: (0 , _culori.converter) is not a function

weirdyang opened this issue · 1 comments

import {
  converter,
  differenceEuclidean,
  formatHex,
  nearest
} from "culori";

const toLCH = converter("lch");

I'm using the converter like the example above, but it's throwing an error. am I using the wrong syntax?

import { rgb } from 'culori';

console.log(rgb);

For this I'm getting undefined.

import {
  converter,
  differenceEuclidean,
  formatHex,
  nearest
} from "../node_modules/culori/bundled/culori.min.mjs";