Update README
This commit is contained in:
parent
25743c92d3
commit
59d32cc7f2
12
README.md
12
README.md
|
@ -39,6 +39,18 @@ From [NPM](https://www.npmjs.com/package/merkletreejs):
|
|||
npm install merkletreejs
|
||||
```
|
||||
|
||||
Import as ES6 module
|
||||
|
||||
```js
|
||||
import { MerkleTree } from 'merkletreejs'
|
||||
```
|
||||
|
||||
Import as CommonJs
|
||||
|
||||
```js
|
||||
const { MerkleTree } = require('merkletreejs')
|
||||
```
|
||||
|
||||
### CDN
|
||||
|
||||
Available on [jsDelivr](https://www.jsdelivr.com/) CDN:
|
||||
|
|
Loading…
Reference in New Issue