UNPKG

@speckle/shared

Version:

Shared code between various Speckle JS packages

6 lines (4 loc) 165 B
import cryptoRandomString from 'crypto-random-string' export function createRandomString(length?: number) { return cryptoRandomString({ length: length ?? 10 }) }