1.0.5 • Published 2 years ago

@jvenema/liveswitch-cloud-console-login v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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