twilio-common

Twilio Common JavaScript library

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
twilio-common
720.1.75 years ago7 years agoMinified + gzip package size for twilio-common in KB

Readme

twilio-common.js
NPM Build Status
twilio-common.js contains functionality shared between Twilio SDKs, including the Conversations and IP Messaging SDKs.

Including

CDN

Releases of twilio-common.js are hosted on a CDN, and you can include these directly in your web app using a <script> tag.
<script src="//media.twiliocdn.com/sdk/js/common/v0.1/twilio-common.min.js"></script>

NPM & Bower

You can also include twilio-common.js with either npm or bower. Including twilio-common.js this way allows you to integrate flexibly with build systems like Browserify and webpack.
With npm:
npm install twilio-common --save

With bower:
bower install twilio-common --save

Building

Fork and clone the repository. Then, install dependencies with
npm install
npm install gulp -g

Finally, run
gulp

The builds and docs will be placed in the dist/ directory.

Contributing

Bug fixes welcome! If you're not familiar with the GitHub pull request/contribution process, this is a nice tutorial.