From a8c1e70b4c7ccc3bec35accbd3bfaa312e60ad5c Mon Sep 17 00:00:00 2001 From: philkunz Date: Tue, 16 Aug 2016 03:41:17 +0200 Subject: [PATCH] fix README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 428d698..ba7a65d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ We recommend the use of TypeScript for best in class intellisense. import * as nodehash from "nodehash"; // from stream -let readStream = fs.createReadStream("./somefile.txt"); +let readStream = fs.createReadStream("./somefile.txt") nodehash.sha256FromStream(readStream) .then((resultString){ console.log(resultString); // prints hash of the file @@ -24,10 +24,10 @@ nodehash.sha256FromFile("./somefile.txt") }); // from string -nodehash.sha256FromString("some weird random string"); +nodehash.sha256FromString("some weird random string") .then((resultString){ console.log(resultString); // prints hash of the file }); -let hashString = nodehash.sha256FromStringSync("some weird random string") +let hashString = nodehash.sha256FromStringSync("some weird random string"); ``` \ No newline at end of file