Skip to content

Latest commit

 

History

History
86 lines (55 loc) · 3.61 KB

README.md

File metadata and controls

86 lines (55 loc) · 3.61 KB

⚠️ This repository contains security issues - do not use it until consultation with @hejny .

🌐 Loader

NPM Version of Loader Quality of package Loader Known Vulnerabilities Issues Socket

This is simple js and css loader.

Wallpaper of 🌐 Loader

Usage:

Thare should be provided one of these options: ?loader=async ?loader=sync-redirect ?loader=json

In the sync and json loader should be also:

?version=[Semantic version] ?type=[js|css|*]

In async loader should be:

?function=[loaderFunctionName]

Async loader usage

Async loader requires jQuery to be included in window.

window.loaderFunctionName(
{
version: '*',
type: 'js'
},
()=>{
//now you can use loaded scripts
}
);

🖋️ Contributing

I am open to pull requests, feedback, and suggestions. Or if you like this utility, you can ☕ buy me a coffee or donate via cryptocurrencies.

You can also ⭐ star the loader package, follow me on GitHub or various other social networks.

✨ Partners

Collboard       WebGPT       Promptbook

Become a partner