Source: index.js

// IBM Watson Speech JavaScript SDK
// Copyright IBM (Apache-2.0)

'use strict';

/**
 * IBM Watson Speech JavaScript SDK
 *
 * Top-level module includes the version, a [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) pollyfill, and both of the speech libraries.
 *
 * If using a bundler such as browserify, you may optionally include sub-modules directly to reduce the size of the final bundle
 *
 * @module watson-speech
 */

/**
 * Example: 'v1.0.0'
 *
 * Will be `undefined` during development
 */
exports.version = process.env.TRAVIS_BRANCH;

/**
 *
 * @see module:watson-speech/speech-to-text
 */
exports.SpeechToText = require('./speech-to-text');

/**
 *
 * @see module:watson-speech/text-to-speech
 */
exports.TextToSpeech = require('./text-to-speech');