-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.hbs
60 lines (38 loc) · 1.3 KB
/
README.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# @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
```
<a name="usage"></a>
## Usage
```js
const sk = require('@selfkey/node-lib');
```
or ES6 syntax
```js
import sk from '@selfkey/node-lib';
```
<a name="api"></a>
## API
{{>main}}
<a name="examples"></a>
## 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
<a name="license"></a>
## License
[The GPL-3.0 License](http://opensource.org/licenses/GPL-3.0)
Copyright (c) 2018 SelfKey Foundation <https://selfkey.org/>