chatbot-message-generator
v1.0.10
Published
Library to generate common messages to use along the application.
Downloads
1
Readme
README
This is a library to generate common messages to use along the Dynamo application.
IMPORTANT Clone this proyect outside the Ubuntu vm.
Compile the code by running:
npm run build
You should see a new dist directory that has two files, index.js and index.d.ts. The index.js contains all the logic that we coded compiled to JavaScript and index.d.ts is the file that describes the types of our module for use in TypeScript.
Update npm library
To change the version number in package.json, on the command line, in the package root directory, run the following command, replacing <update_type> with one of the semantic versioning release types (patch, major, or minor):
npm version <update_type>
npm publish
Go to your package page (
https://npmjs.com/package/<package>
) to check that the package version has been updated.
Functions that you can use
- generateMessage
- generateConversationId
Models that you can use
- Message
- Channel