{"id":13746870,"url":"https://github.com/twilio-labs/function-templates","last_synced_at":"2025-05-15T16:06:52.146Z","repository":{"id":37692599,"uuid":"178963800","full_name":"twilio-labs/function-templates","owner":"twilio-labs","description":"Twilio Function templates for different Voice, SMS, Video, Chat, Sync, etc use cases","archived":false,"fork":false,"pushed_at":"2025-05-06T19:02:21.000Z","size":14073,"stargazers_count":365,"open_issues_count":73,"forks_count":334,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-05-07T14:57:53.074Z","etag":null,"topics":["code-exchange","javascript","sendgrid","serverless","twilio","twilio-api","twilio-functions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twilio-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-04-01T23:41:20.000Z","updated_at":"2025-04-27T08:45:56.000Z","dependencies_parsed_at":"2023-11-07T00:44:12.469Z","dependency_job_id":"b3736f05-4c98-40cf-baa3-0b8b3aae4947","html_url":"https://github.com/twilio-labs/function-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twilio-labs%2Ffunction-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twilio-labs%2Ffunction-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twilio-labs%2Ffunction-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twilio-labs%2Ffunction-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twilio-labs","download_url":"https://codeload.github.com/twilio-labs/function-templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254374475,"owners_count":22060611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-exchange","javascript","sendgrid","serverless","twilio","twilio-api","twilio-functions"],"created_at":"2024-08-03T06:01:03.300Z","updated_at":"2025-05-15T16:06:52.097Z","avatar_url":"https://github.com/twilio-labs.png","language":"JavaScript","readme":"# Twilio Function Templates\n\n[![A Twilio Labs Project](https://img.shields.io/static/v1?label=\u0026message=Twilio-Labs\u0026color=F22F46\u0026labelColor=0D122B\u0026logo=twilio\u0026style=flat-square)](https://www.twilio.com/labs) \n\n[Twilio Functions](https://www.twilio.com/functions) are a serverless environment to build and run Twilio applications so you can get to production faster. You provide the Node.js code to perform the task you need and Twilio runs it. You can read [more about Twilio Functions and how to use them in the introductory blog post](https://www.twilio.com/blog/2017/05/introducing-twilio-functions.html).\n\n### Attention\n\nWith the release of Node v18, the Node.js ecosystem is migrating over from the old CommonJS (CJS) standard to the newer, ES Modules (ESM) standard. Using ESM modules in CJS code is not possible. You can read about the differences in far more detail in this [blog Post.](https://redfin.engineering/node-modules-at-war-why-commonjs-and-es-modules-cant-get-along-9617135eeca1). The following snippets may causes errors. \n\nThese templates are also available through `twilio-run new` inside the [`twilio-run`](https://npm.im/twilio-run) CLI.\n\n## Usage\n\nEach Function lives in its own directory within this repo. The easiest way to use the templates is through the Twilio CLI. [Check out our docs for the different ways you can use these templates](docs/USING_FUNCTIONS.md).\n\n## Available Functions\n\n[Complete list of available functions](docs/templates.md)\n\n### Todo\n\n- [ ] Forward message to email with other API providers\n- [ ] Generate Twilio Client access token\n- [ ] Inbound calls for SIP registration\n- [ ] Outbound calls for SIP registration\n- [ ] Translate webhook from `application/x-www-form-urlencoded` into `application/json` and forward on to another service\n\nPlease add ideas if you have them.\n\n## Contributing\n\nThis project welcomes contributions. Please check out our [Contributing guide](docs/CONTRIBUTING.md) to learn more on how to get started.\n\n## License\n\nMIT © Twilio Inc.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwilio-labs%2Ffunction-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwilio-labs%2Ffunction-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwilio-labs%2Ffunction-templates/lists"}