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
An SDK for working with RethinkID.
Build the dist
folder.
npm run build
# or
npm run watch
Install your locally built package.
npm install <../path/to/rethinkid-js-sdk>
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... */
});
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
- rethinkid-js-sdk
-
mostlytyped
- over 2 years ago
- ISC
- 14 dependencies
Assets
- rethinkid-js-sdk-0.10.0.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0