Counter Is JavaScript Library For Counting
npm install counter-abuzar
import { useCounter } from "counter-abuzar"
import { useCounter } from "counter-abuzar"
const App = () => {
const {count,increment,decrement} = useCounter();
return (
<div>
<button onClick={increment}>+</button>
<h3>{count}</h3>
<button onClick={decrement}>-</button>
</div>
)
}
export default App
if you would like to contribute, you are welcome, Clone repo and open pull request.