This is a set of useful utility code for use in Twilio Runtime and Twilio Functions code.
Full reference documentation at twilio-labs.github.io/runtime-helpers/
To use this library in a Twilio Function, see our documentation on adding new dependencies to Functions.
runtime-helpers
is a curated collection of code we've found useful in working
with the Twilio Runtime platform and Twilio Functions. Much of this repository
is adapted from commonly-used Function code written for popular Quick Deploy
apps. Compared with copy-pasted versions of the same code, the utilities in
runtime-helpers
have the following advantages:
- All code is typechecked via Typescript and has a full set of unit tests
- Any improvements we make can easily be incorporated into your app via standard NPM mechanisms
- We provide a single, trusted implementation for security-conscious code
- The
runtime-helpers
API is consistent; multiple conflicting implementations of functions are not possible
This project welcomes contributions from the community. Feel free to open a pull request for any features, bug fixes, or any other contributions you want to make.
Please be aware that this project has a Code of Conduct. The tldr; is to just be excellent to each other ❤️
MIT