polyfillist
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

polyfillist

Get list of required polyfill.io features based on browserslist

CI codecov

Usage

CLI Usage

Return list of required polyfill.io features

npx polyfillist

Generate url of polyfill.io bundle

npx polyfillist --url

More command, see npx polyfillist --help

Programmatic Usage

import polyfillist from 'polyfillist'

const features = await polyfillist()

console.log(features)
/* [
  'AbortController',
  'ArrayBuffer.isView',
  'Blob',
  'CharacterData.prototype.after',
  'CharacterData.prototype.before',
  'CharacterData.prototype.replaceWith',
  ...
] */

Contribution

  • Clone this repository
  • Play this song in background (very important)
  • Run deps using yarn install
  • Write your additional feature
  • Don't forget to write the test
  • Open PR

License

This project publish under MIT LIcense, see LICENSE for more details.

Readme

Keywords

none

Package Sidebar

Install

npm i polyfillist

Weekly Downloads

281

Version

0.1.1

License

MIT

Unpacked Size

13.1 kB

Total Files

9

Last publish

Collaborators

  • adenvt