A server name generator for AWS Lambda that will generate names based on various topics like color, adjectives, star wars characters etc.
This is built on top of the good unique-names-generator library. It extends that library along with a few additional dictionaries. See src/custom-names.js for the new list.
nvm use
(Skip this if you don't use nvm/fnm) Requires node 18npm ci
npm start
to start the server in serverless offline mode
curl -i http://localhost:4000
to generate some names
npm run deploy
Will deploy to AWS Lambda
The following parameters are accepted:
length
The number of words to generate. Default:2
style
String stylelowerCase | upperCase | capital
Default:lowerCase
type
The dictionaries to use:person | server
Default:person