Bunch of react.js hooks for your app
npm install some-handy-hooks






Bunch of handy hooks for your react application!
``bash
yarn add some-handy-hooks
npm install some-handy-hooks --save
`
Creates a countdown with 1 sec interval, that will return on each render complete set of time variables as well as total time elapsed + onFinish callback can be passed to handle the logic.
`ts
import { useCountdown } from 'some-handy-hooks'
const { seconds, minutes, totalSeconds } = useCountdown({minutes: 20})
``