How to use the caniuse-db/data.json function in caniuse-db

To help you get started, we’ve selected a few caniuse-db examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github emmetio / emmet / bundles / caniuse.js View on Github external
/**
 * Bundler, used in builder script to statically
 * include optimized caniuse.json into bundle
 */
var db = require('caniuse-db/data.json');
var ciu = require('../lib/assets/caniuse');
ciu.load(db, true);