mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
263 B
TypeScript
17 lines
263 B
TypeScript
import * as randomstring from "randomstring";
|
|
|
|
randomstring.generate();
|
|
|
|
randomstring.generate(24);
|
|
|
|
randomstring.generate({
|
|
length: 12,
|
|
readable: true,
|
|
capitalization: "",
|
|
charset: "alphabetic"
|
|
});
|
|
|
|
randomstring.generate({
|
|
charset: "abc"
|
|
});
|