@nwylynko/how-long-ago
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

howLongAgo

tiny dependency free package to get human readable time from timestamp

usage

import HowLongAgo from '@nwylynko/how-long-ago'

const timestamp = Date.now() - 2000

console.log(HowLongAgo(timestamp))

----

2 Seconds Ago

Readme

Keywords

none

Package Sidebar

Install

npm i @nwylynko/how-long-ago

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

1.79 kB

Total Files

6

Last publish

Collaborators

  • nwylynko