Provided libraries

Chatbot scripts support all standard built-in JavaScript objects. See the MDN web docs for reference.
The following libraries are also available as part of the chatbot scripting platform:

Library   Use Reference
Async Asynchronous JavaScirpt async https://caolan.github.io/async/v3/
AWS SDK Amazon Web Services SDK for JavaScript AWS https://docs.aws.amazon.com/AWSJavaScriptSDK​/latest/
Axios Promise-based HTTP requests axios https://github.com/axios/axios
Buffer Binary data streams Buffer https://nodejs.org/api/buffer.html
Crypto Cryptographic functions crypto https://nodejs.org/api/crypto.html
CSV String Parse and Stringify for CSV strings CSV https://github.com/Inist-CNRS/node-csv-string
Dialogflow Natural language processing dialogflow https://github.com/googleapis/​nodejs-dialogflow
Fast XML Parser Validate XML, Convert XML to JS / JSON and back XML https://github.com/NaturalIntelligence/fast-xml-parser
Google APIs Auth Node.js library for Google's Authentication API google.auth https://github.com/googleapis/google-api-nodejs-client​#authentication-and-authorization
Google Sheets v4 Node.js library for Google Sheets google.spreadsheets https://googleapis.dev/nodejs/googleapis/latest/​sheets/classes/Sheets.html
HTTP Agent HTTP Server / Client Agent http https://nodejs.org/api/http.html
HTTPS Agent HTTPS Server / Client Agent https https://nodejs.org/api/https.html
Libphonenumber JS Phone number parsing and formatting libphonenumber https://github.com/catamphetamine/​libphonenumber-js
Moment JS Date parsing, validating, manipulation and formatting moment https://momentjs.com/docs/
Nanoid Secure URL-friendly unique string ID generator nanoid https://github.com/ai/nanoid
Request HTTP calls request https://github.com/request/request
shortid Short, non-sequential URL-friendly IDs shortid https://github.com/dylang/shortid
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.