Skip to content

A collection of tested, reusable JS utilities and snippets.

License

Notifications You must be signed in to change notification settings

ianmcgregor/usfl

Repository files navigation

usfl

NPM version Bower version Build Status

A collection of tested, reusable JS utilities and snippets.

Installation

npm install usfl --save

Usage

// individual module
import randomChoice from 'usfl/array/random-choice';
const chosen = randomChoice([1, 2, 3]);

// group
import array from 'usfl/array';
const chosen = array.randomChoice([1, 2, 3]);

// everything
import usfl from 'usfl';
const chosen = usfl.array.randomChoice([1, 2, 3]);

Docs

usfl/array

usfl/dom

usfl/events

usfl/fps

usfl/fullscreen

usfl/graphics

usfl/http

usfl/input

usfl/linked-list

usfl/loop

usfl/math

usfl/media

usfl/object-pool

usfl/platform

usfl/polyfill

usfl/popup

usfl/share

usfl/storage

usfl/string

usfl/track

usfl/visibility

Dev setup

To install dependencies:

$ npm i

To run tests:

$ npm i -g karma-cli
$ karma start

About

A collection of tested, reusable JS utilities and snippets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published