Skip to content
Highly customizable time-formatter
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
test
.editorconfig
.gitignore
.prettierrc
.travis.yml
LICENSE
README.md
package.json
tsconfig.json
tslint.json
yarn.lock

README.md

Aevum

Travis npm Version npm bundle size (minified) Maintainability Test Coverage npm License


Aevum is a highly customizable and lightweight timer formatter, aimed to be used in high-performance applications. Therefore it's optimized in speed but still letting you tune everything you need to do.

It does not have any runtime dependencies and can be used in any modern JavaScript environment.


Installation

yarn add aevum
npm install aevum

Usage

// ES6 Import
import { Aevum } from 'aevum';

// CommonJS Module
const Aevum = require('aevum').Aevum;

const instance = new Aevum('My timer says: (h:[h]:)(m:[m]:)(s:[s].)(ddd)');

instance.format(1234); // "My timer says: 1.234"

Documentation

A more detailed documentation about the installation process, how to build the library as well as as a in-depth description about the usage can be found in the Documentation

You can’t perform that action at this time.