@web-component-attribute-polyfill/browser

v1.0.1-beta.0
Package to load the polyfill into a browser

npm version install size Known Vulnerabilities license

@web-component-attribute-polyfill/browser

Package to load the polyfill into a browser

Usage

Ensure to import the polyfill, through an import:

import * as polyfill from '@web-component-attribute-polyfill/browser';

Or from the HTML script tag:

<script defer="defer" src="./node_modules/@web-component-attribute-polyfill/browser/build/bundle.js">

You could find in the build folder various targets

Commands

  • npm run dev:build: Bundle the package for various targets
  • npm run dev:linting: Lint files
  • npm test: Run tests
  • npm run test:coverage: Run tests and see coverage reports

Contributing

npm i @web-component-attribute-polyfill/[email protected]

Metadata

  • MIT
  • ^16.10.0 || ^18.12.0 || >=20.0.0
  • Unknown
  • released 7/21/2024

Downloads

Maintainers