You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@types/randombytes

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/randombytes

TypeScript definitions for randombytes

Source
npmnpm
Version
2.0.1
Version published
Weekly downloads
118K
-12%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/randombytes

Summary

This package contains type definitions for randombytes (https://github.com/crypto-browserify/randombytes).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randombytes.

index.d.ts

// 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;

Additional Details

  • Last updated: Wed, 27 Sep 2023 07:12:04 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by BendingBender.

FAQs

Package last updated on 27 Sep 2023

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