From a511b328db0c387bdeb6d305158202c2fc330a91 Mon Sep 17 00:00:00 2001 From: Mehdi Bounya Date: Wed, 20 Jun 2018 01:55:26 +0100 Subject: [PATCH] Add npm to readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e3f73b7..f370403 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,12 @@ The library will first hash the password using SHA-1 and then send the first 5 c We then check if the hash exists in the returned list and fire an event `hibpCheck` with the result +## Installation +You can either download the JavaScript file or use npm: +``` +npm i hibp-js +``` + ## Usage You should first load the library ```html