Skip to content

spasdk/preloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web resources loader/cacher

build status npm version dependencies status devDependencies status Gitter

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.