Taxonomy Icon

Node.js

Watson Node SDK is an open source Node.js module, available on npm, under the name watson-developer-cloud. The SDK allows developers to easily integrate Watson services into their applications.

Written in TypeScript, the SDK includes browserify and webpack bundles, so it can be used in TypeScript, Node.js, and most browser-side JavaScript projects. The library simplifies making calls to various Watson services by wrapping easy-to-use methods around complicated networking code. Use this SDK to spend less time writing and handling network requests and more time developing apps around Watson capabilities.

This package includes the following libraries for Watson Developer Cloud services:

  • Assistant (v1 and v2)
  • Conversation
  • Discovery
  • Language Translator
  • Natural Language Classifier
  • Natural Language Understanding
  • Personality Insights (v2 and v3)
  • Speech to Text
  • Text to Speech
  • Tone Analyzer
  • Visual Recognition

Watch our videos to see how it works

The Watson Node SDK videos cover the basic lifecycle of using the SDK, from creating a Watson service to using the included libraries. In the videos, we show you how to:

  • Install and authenticate the SDK
  • Use the streaming functionality over WebSocket with Speech to Text
  • Integrate multiple Watson services within an application

These videos provide visual learners with a fast and interactive way to get up to speed with the Node SDK. We hope you find them useful!

If you have any questions, issues, or feature requests, please open an issue here.

Not a Node developer? SDKs with the same functionality are available here in a number of languages, including Java, Python, and Ruby.