add installation to README.md

This commit is contained in:
Gustavo Silva 2018-12-17 17:44:56 +00:00 committed by Jonathan Underwood
parent 250e3e3a07
commit 4fce199e73
1 changed files with 4 additions and 0 deletions

View File

@ -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