js-authentication-sdk

rollup demo to show how to create sdk

Usage no npm install needed!

<script type="module">
  import jsAuthenticationSdk from 'https://cdn.skypack.dev/js-authentication-sdk';
</script>

README

js-authentication-sdk

Browser

<script src="$path/js-authentication-sdk/$version/dist/index.umd.js"></script>
new JSAuthenticationSdk({ username: 'admin', password: 'admin' })

ESModules

npm install js-authentication-sdk --save
import JSAuthenticationSdk from 'js-authentication-sdk'

new JSAuthenticationSdk({ username: 'admin', password: 'admin' })

Node.js

npm install js-authentication-sdk --save
const JSAuthenticationSdk = require('js-authentication-sdk')

new JSAuthenticationSdk({ username: 'admin', password: 'admin' })

To see more details