-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 1.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"name": "randombytes",
"version": "2.0.1",
"description": "random bytes from browserify stand alone",
"main": "index.js",
"scripts": {
"test": "node test.js | tspec"
},
"repository": {
"type": "git",
"url": "git@github.com:crypto-browserify/randombytes.git"
},
"keywords": [
"crypto",
"random"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/crypto-browserify/randombytes/issues"
},
"homepage": "https://github.com/crypto-browserify/randombytes",
"browser": "browser.js",
"devDependencies": {
"tap-spec": "^2.1.2",
"tape": "^3.0.3"
},
"readme": "randombytes\n===\n\nrandombytes from node that works in the browser. In node you just get crypto.randomBytes, but in the browser it uses .crypto/msCrypto.getRandomValues\n\n```js\nvar randomBytes = require('randombytes');\nrandomBytes(16);//get 16 random bytes\nrandomBytes(16, function (err, resp) {\n // resp is 16 random bytes\n});\n```",
"readmeFilename": "readme.md",
"_id": "randombytes@2.0.1",
"_from": "randombytes@^2.0.0"
}