misode/deepslate

CDN import in browser

WavePlayz opened this issue · 1 comments

how do i make use of the api with cdn ? i cant seem to find the entry point, doc seems to be for node.

There is a global variable called deepslate. So instead if the imports you can use const { NormalNoise, LegacyRandom } = deepslate;