
Security News
TC39 Advances Temporal to Stage 4 Alongside Several ECMAScript Proposals
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.
@types/randombytes
Advanced tools
npm install --save @types/randombytes
This package contains type definitions for randombytes (https://github.com/crypto-browserify/randombytes).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randombytes.
// Type definitions for randombytes 2.0
// Project: https://github.com/crypto-browserify/randombytes
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import { randomBytes as _randomBytes } from "crypto";
export = randomBytes;
declare const randomBytes: typeof _randomBytes;
These definitions were written by BendingBender.
FAQs
TypeScript definitions for randombytes
The npm package @types/randombytes receives a total of 90,648 weekly downloads. As such, @types/randombytes popularity was classified as popular.
We found that @types/randombytes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.

Research
/Security News
Since January 31, 2026, we identified at least 72 additional malicious Open VSX extensions, including transitive GlassWorm loader extensions targeting developers.

Research
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.