# patchkit-nicedate

> A nice timestamp rendering

Latest version **1.0.0** (published 2016-03-31) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install patchkit-nicedate
pnpm add patchkit-nicedate
yarn add patchkit-nicedate
bun add patchkit-nicedate
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-03-31 |
| First published | 2016-03-31 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Paul Frazee |
| Maintainers | pfraze |
| Keywords | react |

## Links

- npm: https://www.npmjs.com/package/patchkit-nicedate
- Repository: https://github.com/patchkit/patchkit-nicedate
- Homepage: https://github.com/patchkit/patchkit-nicedate#readme
- Issues: https://github.com/patchkit/patchkit-nicedate/issues
- npm.io page: https://npm.io/package/patchkit-nicedate

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^0.14.6
- [patchkit-util](https://npm.io/package/patchkit-util.md) ^1.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-03-31

## README

# NiceDate

```jsx
import NiceDate from 'patchkit-nicedate'

<NiceDate ts={Date.now()} />
// 4:35pm

<NiceDate ts={Date.now() - ONEDAY} />
// Mon 4:35pm

<NiceDate ts={Date.now() - ONEWEEK} />
// Jan 5

<NiceDate ts={Date.now()} ago />
// a few seconds ago

<NiceDate ts={Date.now() - ONEDAY} ago />
// one day ago

<NiceDate ts={Date.now() - ONEWEEK} ago />
// 7 days ago
```

---
_Source: https://npm.io/package/patchkit-nicedate · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
