You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compat-db is currently in development. It's on the fast track to a 1.0 release, so we encourage you to use it and give us your feedback, but there are things that haven't been finalized yet and you can expect some changes.
Provide a node API for finding compatibility records
Installation
npm install compat-db
Development Setup
git clone https://github.com/amilajack/compat-db.git
cd compat-db
yarn
# Create your `.env` file# ⚠️ Make sure to add your saucelabs keys to your `.env` file ⚠️
cp .env.example .env
# Migrate the sqlite (the default) or mysql database
yarn migrate
# Build the compatibility database to ./lib/all.json# 💡 You can limit the amount of tests that you run by setting the following ENV's# PROVIDERS_INDEX_START=0 PROVIDERS_INDEX_END=10 in your `.env` to run the first# 10 tests
yarn build-compat-db
# Run tests
yarn test# Serve the front-end browser UI for compat-db
yarn view-compat-db
Support
If this project is saving you (or your team) time, please consider supporting it on Patreon 👍 thank you!