@cybjs/random-string
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

random-string

A function that generated simple random string with specified length.

Installation

npm install @cybjs/random-string

Usage

ES6 module use case:

import { randomString } from "@cybjs/random-string";
console.info(randomString(32));

CommonJS module use case:

const { randomString } = require("@cybjs/random-string");
console.info(randomString(32));

/@cybjs/random-string/

    Package Sidebar

    Install

    npm i @cybjs/random-string

    Weekly Downloads

    5

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    2.47 kB

    Total Files

    5

    Last publish

    Collaborators

    • chenyongbin