spa-preloader
v1.4.1
Published
Web resources loader/cacher.
Downloads
11
Maintainers
Readme
Web resources loader/cacher
This cacher module is an instance of Emitter module. Loads images and other web resources to have instant access in the future.
Installation
npm install spa-preloader
Usage
Add to the scope:
var preloader = require('spa-preloader');
Development mode
There is a global var
DEVELOP
which activates additional consistency checks and protection logic not available in release mode.
Contribution
If you have any problems or suggestions please open an issue according to the contribution rules.
License
spa-preloader
is released under the MIT License.