happy-load2.12.0 • Public • Published
This is a collection of loading screen messages. We're not a fan of dull loading screens, so we created this repository to hold a collection of entertaining messages to show users while they wait. The raw data is kept in the data folder and categorized by source (usually a domain). We have the pre-compiled the raw data into the file
happy-load.json for easy consumption.
If you have loading messages you'd like to add, please submit a pull request!
$ npm install happy-load --save
The core API is an object with a
data property representing the contents of
happy-load.json as well as three methods:
const happy = ;happydata; // The raw data.happyall source ; // Returns an array of all messages. Optionally filter by source.happy; // Returns a single message by id.happy; // Returns a random message, optionally by source.