Skip to content

misaka42/dynamic-umd-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/[email protected]/dayjs.min.js', 'dayjs').then(
  (dayjs) => {
    console.log(dayjs().from());
  }
);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published