UNPKG

@consento/sync-randombytes

Version:

Synchronous randombytes function that works in node, the browser & react-native!

6 lines (4 loc) 155 B
declare module '@consento/sync-randombytes' { import { Buffer } from 'buffer' export default function <T extends Uint8Array | Buffer>(input: T): T; }