0.0.0-2 • Published 7 years ago

@codyjdalton/game-time v0.0.0-2

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

Game Time

Simple utility to track time in JavaScript games.

Installing

npm install game-time

Usage

After installing, use it to track the passage of time.

const GameTime = require('game-time');
const ticker = new GameTime();

ticker.setStart({
    startDate: '01/01/1983',
    timeFactor: 1,
});

ticker.start();

License

This project is licensed under the MIT License - see the LICENSE.md file for details