get-random-values-esm
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

get-random-values-esm

A wrapper that rebundles get-random-values into ESM, so you can use it in your vite, skypack, or wherever you need ESM. Also adds support for node v15's WebCrypto support and TypeScript definitions.

Install

$ npm install get-random-values-esm

Usage

Same as before, but now with ESM imports:

import getRandomValues from 'get-random-values-esm'

console.log(getRandomValues(new Uint8Array(16)))

/get-random-values-esm/

    Package Sidebar

    Install

    npm i get-random-values-esm

    Weekly Downloads

    110,580

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    4.24 kB

    Total Files

    7

    Last publish

    Collaborators

    • dam
    • tbeseda
    • ryanbonial-sanity
    • madken
    • tiit.kass.saity
    • christianhg
    • joan_miralles_paez
    • jwoods-sanity
    • armandocerna
    • daniel.malmer
    • jordanl17
    • tambet
    • drewsanity
    • refiito
    • sergeisarviro
    • ash
    • indrek.karner
    • cngonzalez-sanity
    • rdunk
    • rneatherway-sanity
    • ricokahler
    • pedro-sanity
    • jonabc
    • kenjonespizza
    • pauloborgesf
    • binoy14
    • simen.svale
    • svirs
    • josh_sanity_io
    • joneidejohnsen
    • nina.andal
    • rankers
    • snorreeb
    • mattcraig
    • vincentquigley
    • stipsan
    • michael-sanity
    • rubioz
    • tonina
    • ritasdias
    • simeonsanity
    • kmelve
    • bjoerge
    • rexxars
    • skogsmaskin
    • robinpyon
    • mariuslundgard
    • sanity-io
    • evenw
    • radhe_sanity
    • rbotten
    • judofyr
    • obliadp
    • dcilke
    • fredcarlsen
    • hermanw
    • sgulseth
    • atombender