npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

faker-cli

1.4.1 • Public • Published

faker-cli.

Build Status

NPM

A command-line wrapper for faker

Install.

$ npm install -g faker-cli

Examples.

$ faker-cli --helpers userCard

$ faker-cli -n findName

Usage.

 Usage: faker-cli [option]

  A cli wrapper for fakerjs

  Options:

    -h, --help              output usage information
    -V, --version           output the version number
    -a, --address [value]   street address
    -c, --company [value]   company info
    -d, --date    [value]   date options
    -f  --finance [value]   finance field
    -i  --internet [value]  internet goodies
    -l  --lorem    [value]   lorem ipsum goodnes
    -n  --names    [value]  person name(s)
    -s  --system   [value]   System Info'
    -C  --commerce [value]  Commerce related info
    -p  --phone   [value]   phone number options
    -r  --random  [value]   randomness
    -L, --locale  [value]   set locale, defaults to en
    -x, --hacker  [value]   hackers stuff
    -H, --helpers [value]   detailed contextual data
    -I, --image   [value]   image data
    --locales           list available locales

  faker-cli <cmd> help    list options available for <cmd>

  Examples

        $ faker-cli --helpers userCard
        $ faker-cli --random uuid
        $ faker-cli --locale de --helpers userCard

License.

MIT.

install

npm i faker-cli

Downloadsweekly downloads

69

version

1.4.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability