docs
This commit is contained in:
parent
4875c08757
commit
d0fccba180
18
README.md
18
README.md
|
|
@ -102,6 +102,24 @@ import utils from "./shared/utils"
|
||||||
|
|
||||||
Anything in `pub/` is served as-is. Simple stuff.
|
Anything in `pub/` is served as-is. Simple stuff.
|
||||||
|
|
||||||
|
### utils
|
||||||
|
|
||||||
|
`hype` includes helpful utils for your webapp:
|
||||||
|
|
||||||
|
- capitalize
|
||||||
|
- darkenColor
|
||||||
|
- isDarkMode
|
||||||
|
- lightenColor
|
||||||
|
- rand
|
||||||
|
- randIndex
|
||||||
|
- randItem
|
||||||
|
- randomId
|
||||||
|
- randRange
|
||||||
|
- redirectBack
|
||||||
|
- transpile
|
||||||
|
- unique
|
||||||
|
- weightedRand
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
1. Add `dev` and `start` to `package.json`:
|
1. Add `dev` and `start` to `package.json`:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user