Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including nexmo-client with all npm packages installed. Try it out:

var nexmoClient = require("nexmo-client")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

nexmo-client v5.2.0

Nexmo Client SDK for JavaScript

Nexmo Client SDK for JavaScript

Twitter

The Client SDK is intended to provide a ready solution for developers who want to integrate chat, voice and video into their apps.

Installation

NPM

A dependency manager for Node packages. You can install the Client SDK with the following command:

npm install nexmo-client

SDK Setup

Include the conversationClient.js script in your web page

<script src="node_modules/nexmo-client/dist/conversationClient.js"></script>

Or the minified version

<script src="node_modules/nexmo-client/dist/conversationClient.min.js"></script>

Testing

We use third party tools for testing the framework:

  • Karma: Karma is our test runner
  • Mocha: Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun.
  • Chai: Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.

Code style & Conventions

  • https://github.com/google/eslint-config-google

License

Copyright (c) 2019 Nexmo, Inc. All rights reserved. Licensed only under the Nexmo Client SDK License Agreement (the "License") located at LICENCE.

By downloading or otherwise using our software or services, you acknowledge that you have read, understand and agree to be bound by the Nexmo Client SDK License Agreement and Privacy Policy.

You may not use, exercise any rights with respect to or exploit this SDK, or any modifications or derivative works thereof, except in accordance with the License.

NEXMO

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free