@h0llyw00dzz/crypto-rand
Version:
Cryptographically secure random utilities for Node.js and browsers
68 lines (67 loc) • 2.14 kB
JSON
{
"name": "@h0llyw00dzz/crypto-rand",
"version": "0.1.5",
"description": "Cryptographically secure random utilities for Node.js and browsers",
"main": "dist/crypto_rand.js",
"types": "dist/crypto_rand.d.ts",
"browser": {
"crypto": false
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"clean": "rm -rf dist",
"test": "npm run test:browser && npm run test:node",
"test:node": "cross-env TEST_HACK_CRYPTO_BROWSER_ENV=false jest --selectProjects=node",
"test:browser": "cross-env TEST_HACK_CRYPTO_BROWSER_ENV=true jest --selectProjects=browser",
"test:watch": "jest --watch",
"test:coverage": "cross-env TEST_HACK_CRYPTO_BROWSER_ENV=true jest --coverage --selectProjects=browser && cross-env TEST_HACK_CRYPTO_BROWSER_ENV=false jest --coverage --selectProjects=node",
"coveralls": "cross-env TEST_HACK_CRYPTO_BROWSER_ENV=true jest --coverage --selectProjects=browser && cross-env TEST_HACK_CRYPTO_BROWSER_ENV=false jest --coverage --selectProjects=node && coveralls < coverage/lcov.info",
"prepublishOnly": "npm run clean && npm run build && npm test"
},
"keywords": [
"crypto",
"random",
"secure",
"cryptographic",
"random-number",
"random-string",
"security",
"uuid",
"browser",
"nodejs",
"cryptographic primitives",
"numbers don't lie"
],
"author": "H0llyW00dzZ",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.23.7",
"@babel/preset-typescript": "^7.23.7",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.3",
"babel-jest": "^30.0.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"jest": "^30.0.0",
"jest-environment-jsdom": "^30.0.0",
"typescript": "^5.8.3",
"undici-types": "^7.10.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/H0llyW00dzZ/crypto-rand.git"
},
"bugs": {
"url": "https://github.com/H0llyW00dzZ/crypto-rand/issues"
},
"homepage": "https://github.com/H0llyW00dzZ/crypto-rand#readme",
"engines": {
"node": ">=19.0.0"
}
}