Noteworthy Programs Map

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

    1.1.2 • Public • Published

    random-string Build Status

    Generates a random string.

    Install

    $ npm install @emiljohansson/random-string
    

    Usage

    import randomString from 'random-string'
    randomString()
    // => '1k59GeX6Nn'

    API

    randomString(length)

    Returns a random string.

    length

    Type: number

    Optional length of the string. Default is 10.

    License

    MIT © Emil Johansson

    Keywords

    Install

    npm i @emiljohansson/random-string

    DownloadsWeekly Downloads

    5

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    2.81 kB

    Total Files

    7

    Last publish

    Collaborators

    • emiljohansson