# @kb_lee/react-countdown-hook

> react countdown hook

Latest version **0.1.2** (published 2022-02-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @kb_lee/react-countdown-hook
pnpm add @kb_lee/react-countdown-hook
yarn add @kb_lee/react-countdown-hook
bun add @kb_lee/react-countdown-hook
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2022-02-17 |
| First published | 2022-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kangbok Lee |
| Maintainers | kb_lee |
| Keywords | react, hook, count, countdown |

## Links

- npm: https://www.npmjs.com/package/@kb_lee/react-countdown-hook
- Homepage: https://github.com/pmmm114/react-countdown-hook
- Issues: https://github.com/pmmm114/react-countdown-hook/issue
- npm.io page: https://npm.io/package/@kb_lee/react-countdown-hook

## 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

- 0.1.2 (latest) — 2022-02-17
- 0.1.1 — 2022-02-17

## README

# Welcome to react-countdown-hook!

A simple react hook to towndown seconds between two date object

## Demo
codeSandbox: Demo[https://codesandbox.io/s/usecountdown-kwygye]

## install
```
npm install --save @kb_lee/react-countdown-hook
```

## Example
```javascript
import useCountDown from "@kb_lee/react-countdown-hook";

export default function App() {
  // useCountDown(${secdons}, ${init_time});
  const { useCountDownValue } = useCountDown(10000, 0);

  return (
    <div className="App">
      <h1>Countdown to Zero</h1>
      <span>remain seconds: {useCountDownValue}</span>
    </div>
  );
}
```

---
_Source: https://npm.io/package/@kb_lee/react-countdown-hook · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
