This repository was archived by the owner on Feb 3, 2022. It is now read-only.
Version 1.0.0
Production release.
This is a command line tool that generates a Twilio Functions project that can be run locally with twilio-run
.
There are a number of ways to use this tool. The quickest and easiest is with npm init
:
npm init twilio-function function-name
cd function-name
npm start
This will create a new directory named "function-name" and include all the files you need to write and run a Twilio Function locally. Starting the application will host the example function at localhost:3000/example.
See the README for more details