From 383285ecd5292bf9a825e05904955b937de84cc9 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 4 Jun 2022 08:51:01 +0200 Subject: Initial commit --- node_modules/crypto-random-string/index.d.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 node_modules/crypto-random-string/index.d.ts (limited to 'node_modules/crypto-random-string/index.d.ts') diff --git a/node_modules/crypto-random-string/index.d.ts b/node_modules/crypto-random-string/index.d.ts new file mode 100644 index 0000000..dd7576d --- /dev/null +++ b/node_modules/crypto-random-string/index.d.ts @@ -0,0 +1,17 @@ +/** +Generate a [cryptographically strong](https://en.m.wikipedia.org/wiki/Strong_cryptography) random string. + +@param length - Length of the returned string. +@returns A [`hex`](https://en.wikipedia.org/wiki/Hexadecimal) string. + +@example +``` +import cryptoRandomString = require('crypto-random-string'); + +cryptoRandomString(10); +//=> '2cf05d94db' +``` +*/ +declare function cryptoRandomString(length: number): string; + +export = cryptoRandomString; -- cgit