@jvenema/liveswitch-cloud-console-login

1.0.5 • Public • Published

LiveSwitch Cloud Console Login

Simple login module that logs a user into the LiveSwitch Cloud console and provides an API key and user id back. Useful for getting application ids without having to force a copy/paste from the console manually.

Sample Usage

Install the package

npm install @jvenema/liveswitch-cloud-console-login

Use the package

const login = require('@jvenema/liveswitch-cloud-console-login');

(async function() {
    const loginResult = await login()
    console.log('API key: ', loginResult.apiKey)
})();

Test

cd tests
npm install
node login-test.js

npm package

Readme

Keywords

none

Package Sidebar

Install

npm i @jvenema/liveswitch-cloud-console-login

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

4.26 kB

Total Files

6

Last publish

Collaborators

  • jvenema