Skip to content

Instantly share code, notes, and snippets.

@AnthonyLzq
Created January 24, 2023 04:01
Show Gist options
  • Save AnthonyLzq/c3dab044f9fde67d71bc5399121686bc to your computer and use it in GitHub Desktop.
Save AnthonyLzq/c3dab044f9fde67d71bc5399121686bc to your computer and use it in GitHub Desktop.
Script to create Twilio client
import twilio from 'twilio'
const client = twilio(
process.env.TWILIO_ACCOUNT_SID as string,
process.env.TWILIO_AUTH_TOKEN as string
)
export { client }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment