https://github.com/nascjoao/tikjs
Fast lightweight library for formatting time in JavaScript
https://github.com/nascjoao/tikjs
date dayjs duration format javascript momentjs parse time typescript
Last synced: 11 months ago
JSON representation
Fast lightweight library for formatting time in JavaScript
- Host: GitHub
- URL: https://github.com/nascjoao/tikjs
- Owner: nascjoao
- License: mit
- Created: 2024-08-16T21:15:12.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-21T00:49:00.000Z (almost 2 years ago)
- Last Synced: 2025-05-11T12:18:39.100Z (about 1 year ago)
- Topics: date, dayjs, duration, format, javascript, momentjs, parse, time, typescript
- Language: TypeScript
- Homepage: https://tik.js.org
- Size: 227 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tik.js
Fast **lightweight** library for formatting time in JavaScript
_Tik.js is under development_
> If you want to handle dates like parsing, validating, manipulating, and formatting, you should use [day.js](https://day.js.org/). It is a fast 2kB alternative to Moment.js with the same modern API.
>
> Tik.js is a lightweight library for formatting time only. It is choice for those who do not want to add an extra size to their project.
```js
import tikjs from "tikjs";
tikjs(600).format("Ti[m]e: mm:ss"); // Time: 10:00
```