i want to be able to simply install a script which compares 2 colors and outputs a contrast number. I cannot use your code if it's not on NPM, sorry. I only use published packages for obvious reasons.
Also, you have huge amount of dependencies. for such simple task this is absurd:
this repo is not meant to be a package you install to compute a contrast number (there are some of them on npm already). It is the source code of a website.
i want to be able to simply install a script which compares 2 colors and outputs a contrast number. I cannot use your code if it's not on NPM, sorry. I only use published packages for obvious reasons.
Also, you have huge amount of dependencies. for such simple task this is absurd: