Skip to content

hejny/loader

Repository files navigation

⚠️ 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

About

This is simple js and css loader.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published