yields-ago

v0.1.0
Date(now - 1e3) => a second ago
browser ago time conversion

ago

Date(now - 1e3) => "a second ago"

Installation

Install with component(1):

$ component install yields/ago

API

ago(date)

Humanize the given date.

Examples

examples

License

MIT

npm i yields-ago

Metadata

  • MIT
  • Whatever
  • Amir Abu Shareb
  • released 11/22/2015

Downloads

Maintainers