dashpresshq/dashpress

View on GitHub
src/shared/lib/strings/random.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import * as randomstring from "randomstring";

export const generateRandomString = (length = 12): string => {
  return randomstring.generate(length);
};