dynamic-umd-loader
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

dynamic-umd-loader

see type definitions here

Usage

npm i dynamic-umd-loader

Example

load dayjs from jsdelivr

import loader from 'dynamic-umd-loader';

loader('https://cdn.jsdelivr.net/npm/dayjs@1.10.7/dayjs.min.js', 'dayjs').then(
  (dayjs) => {
    console.log(dayjs().from());
  }
);

Readme

Keywords

Package Sidebar

Install

npm i dynamic-umd-loader

Weekly Downloads

3

Version

1.1.3

License

MIT

Unpacked Size

5.1 kB

Total Files

7

Last publish

Collaborators

  • misaka