Socket
Book a DemoInstallSign in
Socket

polyfillist

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polyfillist

Get list of required https://cdnjs.cloudflare.com/polyfill/ features based on browserslist.

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
129
50%
Maintainers
0
Weekly downloads
 
Created
Source

polyfillist

Get list of required https://cdnjs.cloudflare.com/polyfill/ features based on browserslist

CI codecov

Usage

CLI Usage

Return list of required https://cdnjs.cloudflare.com/polyfill/ 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.

FAQs

Package last updated on 05 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.