1.2.4 • Published 10 years ago

microlibrary v1.2.4

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

MICROLIBRARY

Testing out creating a microlibrary for GitHub, NPM, etc.

:memo: This library does nothing special. It has a list of games that I've played and it returns all of them, random one or a list starting with whatever criteria is passed in.

For this microlibrary, I wanted to experiment with implementing a CI build system. I'm using Travis CI along with coveralls. Additionally, I use Istanbul for coverage.

Travis CI report: Travis CI

Coverage via Coveralls.io: Coverage Status](https://coveralls.io/github/JasonAMartin/microlibrary?branch=master)

For testing, I'm using mocha / chai.

:collision: I'm using ES2015, but for testing, I point to the ES5 file, which may be why coverage is reporting at under 100%.

Install:

npm install microlibrary

Usage:

var games = require('microlibrary');
console.log(games.all()); // prints out entire list
console.log(games.random()); // prints out a random game.
console.log(games.startsWith('d'); // prints out all games starting with d (not case sensitive)
1.2.4

10 years ago

1.2.0

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago