UNPKG

829 BMarkdownView Raw
1# Installation
2> `npm install --save @types/randombytes`
3
4# Summary
5This package contains type definitions for randombytes (https://github.com/crypto-browserify/randombytes).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randombytes.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randombytes/index.d.ts)
10````ts
11/// <reference types="node" />
12
13import { randomBytes as _randomBytes } from "crypto";
14
15export = randomBytes;
16
17declare const randomBytes: typeof _randomBytes;
18
19````
20
21### Additional Details
22 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
23 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
24
25# Credits
26These definitions were written by [BendingBender](https://github.com/BendingBender).
27
\No newline at end of file