mirror of https://github.com/status-im/bip39.git
add installation to README.md
This commit is contained in:
parent
250e3e3a07
commit
4fce199e73
|
@ -16,6 +16,10 @@ When a checksum is invalid, warn the user that the phrase is not something gener
|
||||||
|
|
||||||
However, there should be other checks in place, such as checking to make sure the user is inputting 12 words or more separated by a space. ie. `phrase.trim().split(/\s+/g).length >= 12`
|
However, there should be other checks in place, such as checking to make sure the user is inputting 12 words or more separated by a space. ie. `phrase.trim().split(/\s+/g).length >= 12`
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
``` bash
|
||||||
|
npm install bip39
|
||||||
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
``` js
|
``` js
|
||||||
|
|
Loading…
Reference in New Issue