amazing-counter
v1.0.1
Published
amazing counter operator
Downloads
3
Readme
AMAZING COUNTER
This is an amazing counter. You must use it!
Installation
$ npm i amazing-counter
Usage
import { counter } from 'amazing-counter'
const x = counter()
x.increment()
x.increment()
x.increment()
x.increment()
x.value // 4
x.get() // 4
x.decrement()
x.get() // 3
Enjoy!