@reclaimprotocol/tls
Version:
TLS 1.2/1.3 for any JavaScript Environment
83 lines (82 loc) • 2.37 kB
JSON
{
"name": "@reclaimprotocol/tls",
"version": "0.1.2",
"description": "TLS 1.2/1.3 for any JavaScript Environment",
"type": "module",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./webcrypto": {
"types": "./lib/crypto/webcrypto.d.ts",
"default": "./lib/crypto/webcrypto.js"
},
"./purejs-crypto": {
"types": "./lib/crypto/pure-js.d.ts",
"default": "./lib/crypto/pure-js.js"
}
},
"scripts": {
"build": "npm exec tsc -- -p tsconfig.build.json",
"build:jsc": "npm run run:tsc src/scripts/build-jsc.ts",
"run:tsc": "node --experimental-strip-types",
"test:pure-js": "npm run run:tsc -- --import=./src/tests/load-purejs-crypto.ts --test",
"test:webcrypto": "npm run run:tsc -- --import=./src/tests/load-webcrypto.ts --test",
"handshake": "npm run run:tsc -- --import=./src/tests/load-webcrypto.ts ./src/scripts/handshake.ts",
"lint": "eslint . --ext .js,.ts,.jsx,.tsx",
"lint:fix": "eslint . --fix --ext .js,.ts,.jsx,.tsx",
"prepare": "npm run build",
"commitlint": "commitlint --edit",
"update:root-ca": "npm run run:tsc -- src/scripts/update-ca-certs.ts"
},
"keywords": [
"tls",
"webcrypto",
"cross-platform",
"cryptography",
"network-security",
"encryption",
"reclaim-protocol",
"asn1",
"x509",
"chacha20poly1305",
"typescript",
"nodejs",
"web-security",
"certificate-handling",
"secure-communication"
],
"author": "Adhiraj Singh",
"license": "See License in <https://github.com/reclaimprotocol/.github/blob/main/LICENSE>",
"bugs": {
"url": "https://github.com/reclaimprotocol/tls/issues"
},
"homepage": "https://github.com/reclaimprotocol/tls/",
"files": [
"lib/*"
],
"dependencies": {
"@noble/ciphers": "^1.3.0",
"@noble/curves": "^1.9.6",
"@noble/hashes": "^1.8.0",
"@peculiar/asn1-ecc": "^2.3.14",
"@peculiar/asn1-schema": "^2.3.13",
"@peculiar/x509": "^1.12.3",
"micro-rsa-dsa-dh": "^0.1.0"
},
"devDependencies": {
"@adiwajshing/eslint-config": "github:adiwajshing/eslint-config",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@types/chance": "^1.1.6",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"chance": "^1.1.12",
"csv-parse": "^5.6.0",
"esbuild": "^0.25.8",
"eslint": "^8.57.1",
"pino": "^9.5.0",
"typescript": "^5.0.0"
}
}