Skip to content

rethinkid-js-sdk 0.10.0

Install from the command line:
Learn more about npm packages
$ npm install @mostlytyped/rethinkid-js-sdk@0.10.0
Install via package.json:
"@mostlytyped/rethinkid-js-sdk": "0.10.0"

About this version

The RethinkID JavaScript SDK

An SDK for working with RethinkID.

Using locally

Build the dist folder.

npm run build

# or

npm run watch

Install your locally built package.

npm install <../path/to/rethinkid-js-sdk>

Using via NPM

This repo contains a GitHub Action which triggers when a release is created. The action builds the SDK and publishes to GitHub Packages.

GitHub Packages is added as an NPM registry in .npmrc.

To install from GitHub first you must authenticate.

Then you can install with NPM as usual.

npm install @mostlytyped/rethinkid-js-sdk

Import the package as usual.

import RethinkID from "@mostlytyped/rethinkid-js-sdk";

const rid = new RethinkID({
  /* config... */
});

Using via CDN

The GitHub Action also commits and pushes the built dist folder's contents to the public repo rethinkid-js-sdk-dist. Files can be accessed their via CDN with jsDelivr. e.g. https://cdn.jsdelivr.net/gh/mostlytyped/rethinkid-js-sdk-dist/rethinkid-js-sdk.iife.js

Using the bundled file:

<script src="https://cdn.jsdelivr.net/gh/mostlytyped/rethinkid-js-sdk-dist/rethinkid-js-sdk.iife.js"></script>
<script>
  const rid = new RethinkID({
    /* config... */
  });
</script>

Details


Assets

  • rethinkid-js-sdk-0.10.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all