Build & Installation
The compilation of sources writed by typescript and is used for javascript project.

Build from Source

1
$ git clone https://github.com/elastos/Elastos.DID.JS.SDK.git
2
$ cd Elastos.DID.JS.SDK
3
$ npm install -D
4
$ cd tests
5
$ npm install -D
6
$ sudo npm link ..
7
$ cd ..
8
$ npm run build
Copied!

Use npm package

进入https://www.npmjs.com/package/@elastosfoundation/did-js-sdk可以了解到相关信息,可使用npm i @elastosfoundation/did-js-sdk安装包使用。
Enter https://www.npmjs.com/package/@elastosfoundation/did-js-sdk to learn relevant information, and the installation package npm i @elastosfoundation/did-js-sdk is available for use.