Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/kmturley/decimal-time
- Owner: kmturley
- License: mit
- Created: 2016-12-02T22:30:05.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2023-10-20T03:11:29.000Z (about 1 year ago)
- Last Synced: 2024-10-28T13:12:39.482Z (17 days ago)
- Language: TypeScript
- Homepage: https://kimturley.co.uk/decimal-time/index.html
- Size: 356 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 --tagsThen publish to npm using:
npm publish
## Contact
For more information please contact kmturley