[Pkg-javascript-commits] [node-randomfill] 13/47: README: adds npm badge
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 15 09:52:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-randomfill.
commit 9144a22f529b129366e3f189079a75937592fa9c
Author: Daniel Cousens <dcousens at users.noreply.github.com>
Date: Fri Mar 27 13:33:04 2015 +1100
README: adds npm badge
---
README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 01e36fc..13e23ff 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
randombytes
===
+[![Version](http://img.shields.io/npm/v/randombytes.svg)](https://www.npmjs.org/package/randombytes)
+
randombytes from node that works in the browser. In node you just get crypto.randomBytes, but in the browser it uses .crypto/msCrypto.getRandomValues
```js
@@ -9,4 +11,4 @@ randomBytes(16);//get 16 random bytes
randomBytes(16, function (err, resp) {
// resp is 16 random bytes
});
-```
\ No newline at end of file
+```
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-randomfill.git
More information about the Pkg-javascript-commits
mailing list