Update README.md

This commit is contained in:
posidron 2018-09-18 08:14:22 +02:00
parent 3158d3a6c4
commit 598f33623e
No known key found for this signature in database
GPG key ID: 799CE5B68FEF404A

View file

@ -38,10 +38,22 @@ yarn add @mozillasecurity/octo
``` ```
``` ```
const {random} = require('@mozillasecurity/octo') const {random, make} = require('@mozillasecurity/octo')
random.init() 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 ### Usage in the Browser
``` ```