1.0.1 • Published 1 month ago

@nuff-said/time-ago v1.0.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
1 month ago

@nuff-said/time-ago

A compact library to check how far back a date was, in 167 bytes minzipped and brotlied.

import timeAgo from '@nuff-said/time-ago'
console.log(timeAgo(new Date(0))) // 54 years ago

Installation

$ npm i @nuff-said/time-ago

Contributing

All contributions are welcome! Feel free to file an issue, point out an optimization or even push a PR!

License

This project uses the GPL-3.0 license.

1.0.1

1 month ago

1.0.0

1 month ago