Update README.md
This commit is contained in:
parent
3158d3a6c4
commit
598f33623e
1 changed files with 13 additions and 1 deletions
14
README.md
14
README.md
|
@ -38,10 +38,22 @@ yarn add @mozillasecurity/octo
|
|||
```
|
||||
|
||||
```
|
||||
const {random} = require('@mozillasecurity/octo')
|
||||
const {random, make} = require('@mozillasecurity/octo')
|
||||
random.init()
|
||||
|
||||
# Basic operations
|
||||
make.number.any()
|
||||
make.text.any()
|
||||
|
||||
# WebCrypto
|
||||
make.crypto.randomAlgorithm()
|
||||
|
||||
# WebGL
|
||||
make.webgl.randomSamplerParameter()
|
||||
```
|
||||
|
||||
Take a look into the API documentation for further use cases.
|
||||
|
||||
### Usage in the Browser
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue