https://github.com/selfkeyfoundation/selfkey-lib
https://github.com/selfkeyfoundation/selfkey-lib
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/selfkeyfoundation/selfkey-lib
- Owner: SelfKeyFoundation
- License: gpl-3.0
- Created: 2018-03-30T15:44:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T01:48:59.000Z (over 3 years ago)
- Last Synced: 2025-03-18T05:57:55.861Z (over 1 year ago)
- Language: JavaScript
- Size: 4.02 MB
- Stars: 0
- Watchers: 11
- Forks: 3
- Open Issues: 22
-
Metadata Files:
- Readme: README.hbs
- License: LICENSE
Awesome Lists containing this project
README
# @selfkey/node-lib
> Selfkey sdk for third party integrations written in Node.js
[![NPM][npm-icon]][npm-url]
[](https://circleci.com/gh/SelfKeyFoundation/selfkey-lib/tree/master)
[npm-icon]: https://img.shields.io/npm/v/@selfkey/node-lib
[npm-url]: https://npmjs.org/package/@selfkey/node-lib
## Contents
- [Install](#install)
- [Usage](#usage)
- [API](#api)
- [Examples](#examples)
- [License](#license)
## Install
Requires [Node](https://nodejs.org/en/) version 10 or above
```sh
npm install --save @selfkey/node-lib
```
## Usage
```js
const sk = require('@selfkey/node-lib');
```
or ES6 syntax
```js
import sk from '@selfkey/node-lib';
```
## Examples
- Login with Selfkey for kycc user https://github.com/SelfKeyFoundation/relying-party-kycc-demo
- Login with Selfkey for direct integrations https://github.com/SelfKeyFoundation/relying-party-direct-demo
- Marketplace integrations with kycc as middleware https://github.com/SelfKeyFoundation/relying-party-mp-kycc-demo
[The GPL-3.0 License](http://opensource.org/licenses/GPL-3.0)
Copyright (c) 2018 SelfKey Foundation