An open API service indexing awesome lists of open source software.

https://github.com/peterroe/utils

utils for coding
https://github.com/peterroe/utils

Last synced: 11 months ago
JSON representation

utils for coding

Awesome Lists containing this project

README

          

## @peterroe/utils

utils for conding

### debug

```ts
import { debug } from '@peterroe/utils'

const mode = process.env.NODE_ENV === 'production'

const log = debug(mode)

declare function log(desc: string, content: any, depth: number | null = null)
```

### random

```ts
import { random } from '@peterroe/utils'

declare function random(length: number)
```