This package is an Api wrapper around Apollon77/alexa-remote, a great package to control your Alexa devices.
npm install alexa-remote-api
Create a config file in ~/.alexa-remote-api/config.json with your amazon credentials
{
"email": "foo@bar.com",
"password": "supersecret",
"bluetooth": false
} node dist/server... or with a custom port
PORT=3000 node dist/servercurl --header "Content-Type: application/json" \
--request POST \
--data '{"device":"echo","text":"hello world"}' \
http://localhost:3000/speak- package updates