@afuggini/namegenerator

    0.1.3 • Public • Published

    Random Name Generator

    Zero-dependencies Javascript version of Docker's random container name generator.

    Based on: https://github.com/moby/moby/blob/master/pkg/namesgenerator/names-generator.go

    Install

    npm i @afuggini/namegenerator

    Usage

    const nameGenerator = require('@afuggini/namegenerator')
    
    const someString = nameGenerator()
    console.log(someString) // "awesome_newton"
    
    const anotherString = nameGenerator('-')
    console.log(anotherString) // "cocky-davinci"
    

    Install

    npm i @afuggini/namegenerator

    DownloadsWeekly Downloads

    199

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    50.3 kB

    Total Files

    3

    Last publish

    Collaborators

    • afuggini