node-get-random-values
Version:
crypto.getRandomValues polyfill for node
57 lines (56 loc) • 1.39 kB
JSON
{
"name": "node-get-random-values",
"version": "1.1.0",
"description": "crypto.getRandomValues polyfill for node",
"main": "polyfill.cjs",
"module": "polyfill.js",
"type": "module",
"files": [
"*.js",
"*.cjs"
],
"exports": {
"./phonyfill": {
"import": "./phonyfill.js",
"require": "./phonyfill.cjs"
},
"./polyfill": {
"import": "./polyfill.js",
"require": "./polyfill.cjs"
},
".": {
"import": "./polyfill.js",
"require": "./polyfill.cjs"
}
},
"scripts": {
"clean": "rm *.cjs",
"build": "for f in *.js; do babel $f --plugins=@babel/plugin-transform-modules-commonjs > \"${f%.js}.cjs\"; done",
"prepack": "npm run build"
},
"keywords": [
"node",
"crypto",
"getrandombytes",
"random",
"bytes",
"webcrypto",
"web-cryptography",
"web-cryptography-api"
],
"author": "Florian Klampfer <mail@qwtel.com> (https://qwtel.com/)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/qwtel/node-get-random-values.git"
},
"bugs": {
"url": "https://github.com/qwtel/node-get-random-values/issues"
},
"homepage": "https://github.com/qwtel/node-get-random-values#readme",
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.0",
"@babel/plugin-transform-modules-commonjs": "^7.10.4"
}
}