1.1.0 • Published 2 years ago

@dviih/randomstring v1.1.0

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
2 years ago

Random String

  • This is a simple thing for generate random strings in NodeJS

Four modes:

  • Basic (Basic string on the range of A-Za-z0-9)
  • Medium (Basic with few more things)
  • Advanced (You mean random?)
  • Custom (Require charset)

How to use:

// ECMAScript
import randomString from "@dviih/randomstring";
// CommonJS
const randomString = require("@dviih/randomstring");

// Usage
new randomString({length: <length>}).<mode>();

// Usage (Custom)
new randomString({length: <length>, charset: "<charset>"}).custom();

Made by @Dviih