Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-random-values-esm

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-random-values-esm

A wrapper that rebundles [`get-random-values`](https://www.npmjs.com/package/get-random-values) into ESM, so you can use it in your `vite`, `skypack`, or wherever you need ESM.

  • 0.3.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
96K
decreased by-21.24%
Maintainers
1
Weekly downloads
 
Created
Source

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)))

Keywords

FAQs

Package last updated on 08 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc