@twilio-labs/runtime-helpers

A set of common utility code for use in Twilio Functions.

Usage no npm install needed!

<script type="module">
  import twilioLabsRuntimeHelpers from 'https://cdn.skypack.dev/@twilio-labs/runtime-helpers';
</script>

README

@twilio-labs/runtime-helpers

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/


Installation

To use this library in a Twilio Function, see our documentation on adding new dependencies to Functions.

Goals

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

Contributing

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.

Code of Conduct

Please be aware that this project has a Code of Conduct. The tldr; is to just be excellent to each other ❤️

License

MIT