Collection of TypeScript utils to solve trivial tasks in browser and NodeJs environments.
yarn add overshom-utils
# or
npm i overshom-utils
import { randi, sleep } from 'overshom-utils'
const pulsar = async () => {
while (true) {
console.log(randi(0, 9))
await sleep(500)
}
}
pulsar()
- sleep
- randi
Integrate Circle CI + badge