@twilio/runtime-handler
    TypeScript icon, indicating that this package has built-in type declarations

    1.2.4 • Public • Published

    @twilio/runtime-handler

    How to use

    Define the version of the @twilio/runtime-handler inside your dependencies section of the package.json. For example:

    {
      "dependencies": {
        "@twilio/runtime-handler": "1.1.0"
      }
    }

    Important: You need to specify the exact version you want to use. Semver ranges are at the moment not supported.

    Local Development Feature

    The following features are primarily designed to be used by twilio-run and the Serverless Toolkit. This part of the package emulates Twilio Functions for local development and is NOT available when deployed to Twilio Functions.

    If for some reason you are trying to set up your own local development environment outside of the Serverless Toolkit you can do so through

    const { LocalDevelopmentServer } = require('@twilio/runtime-handler/dev');
    
    const server = new LocalDevelopmentServer(port, config);
    server.getApp().listen(port);

    Contributing

    This project welcomes contributions from the community. Please see the CONTRIBUTING.md file for more details.

    License

    MIT

    Install

    npm i @twilio/runtime-handler

    DownloadsWeekly Downloads

    824

    Version

    1.2.4

    License

    MIT

    Unpacked Size

    64.5 kB

    Total Files

    43

    Last publish

    Collaborators

    • twilio-labs-ci