UNPKG
@consento/sync-randombytes
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Synchronous randombytes function that works in node, the browser & react-native!
@consento/sync-randombytes
/
index.d.ts
6 lines
(4 loc)
•
155 B
TypeScript
View Raw
1
2
3
4
5
6
declare
module
'@consento/sync-randombytes'
{
import
{
Buffer
}
from
'buffer'
export
default
function
<T
extends
Uint8Array
|
Buffer
>(
input
: T): T; }