@web-component-attribute-polyfill/browser
v1.0.5@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 targetsnpm run dev:linting
: Lint filesnpm test
: Run testsnpm 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 8/14/2024