A database of browser polyfill features, version 3.0.0, released as needed. Provides structured metadata about which browsers support each feature and which modules/files implement it. Supports runtime JS polyfills, recast-based JS transpilation, and postcss-based CSS transpilation. Key differentiator: centralized polyfill data for multiple transpilation targets, manually maintained with community contributions. Release cadence: irregular, stable.
npm install polyfills-dbVerified import paths — ran on the pinned version, not inferred.
Shows basic usage: import database, list features, and check browser support.
Use import syntax or dynamic import().
Update to access data[feature].browsers and data[feature].polyfills.
When using regenerator, omit es7-async-fn from polyfill list.
Cross-check with caniuse.com or MDN for latest data.
Node.js v12+ supports ESM; add 'type':'module' to package.json.
Switch to import: import polyfillsDB from 'polyfills-db'
Check the feature exists in the features array before accessing data[feature].browsers.
Update Node.js to >=12 and add 'type':'module' to your package.json.
No dependency data recorded yet.