get-contrast-ratio

v0.2.1
Calculate contrast ratio between two CSS color strings.
luminance relative-luminance contrast contrast-ratio wcag accessibility a11y color color-contrast and 1 more...

build

babel src -d build

lint

eslint --max-warnings=0 src

mocha

mocha --require @babel/register

postpublish

git push --tags

prepublish

yarn build && yarn test

release

np

test

yarn lint && yarn mocha

Metadata

  • GPL-3.0
  • Whatever
  • Just Thomas Hiorth Misund
  • released 7/16/2019

Downloads

Maintainers