An open API service indexing awesome lists of open source software.

https://github.com/smallhelm/simple-timeago.handle-bad-input

simple-timeago wrapper that returns "???" instead of throwing up if you give it something truthy that is not a Date object.
https://github.com/smallhelm/simple-timeago.handle-bad-input

Last synced: about 1 year ago
JSON representation

simple-timeago wrapper that returns "???" instead of throwing up if you give it something truthy that is not a Date object.

Awesome Lists containing this project

README

          

# simple-timeago.handle-bad-input
[simple-timeago](https://www.npmjs.com/package/simple-timeago) wrapper that returns "???" instead of throwing up if you give it something truthy that is not a Date object.

## API
same as [simple-timeago](https://www.npmjs.com/package/simple-timeago)

## Install
```sh
$ npm install --save simple-timeago.handle-bad-input
```

## License
MIT