Welcome to asify
Async loader for scripts and styles. Only 1031 bytes for
min.js
or 551 bytes for commpresed file!!!
Homepage
Install
npm install asify
const asify = ;
Or use script from CDN;
Usage
Load Single file
;
Preload Single file
asify;
Prefetch Single file
asify;
Array of files
;
Files will be loaded async
Array of Arrays of files
;
Callbacks
asify;;
Source Object
Instead of string with URL, you can provide object
;
Author
Grigorii Horos
- Github: @horosgrisa
Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a star if this project helped you!
License
Copyright © 2019 Grigorii Horos.
This project is MIT licensed.
This README was generated with love by readme-md-generator