🛠Status: In Development
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.
A browser API compatibility database
What is compat-db?
- Automate browser compatibility testing of APIs
- Be a drop-in replacement for caniuse-db
- Provide a node API for finding compatibility records
npm install compat-db
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
If this project is saving you (or your team) time, please consider supporting it on Patreon
See the roadmap wiki