From 4fce199e73f7ab68bdf9f7382dc10f7e1adaa499 Mon Sep 17 00:00:00 2001 From: Gustavo Silva Date: Mon, 17 Dec 2018 17:44:56 +0000 Subject: [PATCH] add installation to README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index cee3a0b..d2db081 100644 --- a/README.md +++ b/README.md @@ -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` +## Installation +``` bash +npm install bip39 +``` ## Examples ``` js