Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

calculate-a11y-combinations

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calculate-a11y-combinations

Calculate a cartesian product of a set of colors and check their contrast ratio according to W3C recommendations.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

calculate-a11y-combinations

Calculate a cartesian product of a set of colors and check their contrast ratio according to W3C recommendations.

Getting started

yarn global add calculate-a11y-combinations
curl https://gist.githubusercontent.com/marionebl/a420cb2991ee656c85ea33fb7dbdb423/raw/1ae7e22b2f97a09a28120ef53ab1c14a09c3b161/color.json > color.json
calculate-a11y-combinations --color-path color.json > colors.csv

Development

git clone git@github.com:marionebl/calculate-a11y-combinations.git
cd calculate-a11y-combinations
yarn
yarn tsc

FAQs

Package last updated on 17 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc