sobriquet

A name generator based on Markov chains

Usage no npm install needed!

<script type="module">
  import sobriquet from 'https://cdn.skypack.dev/sobriquet';
</script>

README

Circle CI

sobriquet

sobriquet is a name generator built in Javascript and based on Markov Chains.

Installation NPM

npm i -g sobriquet

Usage

$ sobriquet swaggy some words -n 1
Random word(s) generated:
dsome

Help documentation

$ sobriquet -h

Options

  --words string[]      List of words injected to the Markov chain
  -n, --number number   Number of words you want to generate       
  -s, --start string    The starting letter                        
  -h, --help            Display the usage of the CLI               

Tests

Tests are run with Jest from Facebook

npm test