Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kmturley/decimal-time

Universal decimal calendar and time system for the internet age.
https://github.com/kmturley/decimal-time

Last synced: 1 day ago
JSON representation

Universal decimal calendar and time system for the internet age.

Awesome Lists containing this project

README

        

# decimal-time
![Test](https://github.com/kmturley/decimal-time/workflows/Test/badge.svg)

Universal decimal calendar and time system for the internet age using:

* NodeJS 12.x
* TypeScript 4.x

## Installation

To install the common package, run the command:

npm install decimal-time

## Usage

Import the package using:

import { DateDecimal } from 'decimal-time';

Then use the available methods as normal:

const today = new DateDecimal();
console.log(today.toDecimalString());

## Testing

Run the command:

npm run test

## Deployment

Release an updated version on npm by simply creating a version tag:

npm version patch
git push && git push origin --tags

Then publish to npm using:

npm publish

## Contact

For more information please contact kmturley