https://github.com/peterroe/utils
utils for coding
https://github.com/peterroe/utils
Last synced: 11 months ago
JSON representation
utils for coding
- Host: GitHub
- URL: https://github.com/peterroe/utils
- Owner: peterroe
- License: mit
- Created: 2023-04-09T07:48:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-12T11:44:41.000Z (about 1 year ago)
- Last Synced: 2025-04-12T12:43:06.203Z (about 1 year ago)
- Language: TypeScript
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
```