UNPKG

string-timing-safe-equal

Version:

crypto.timingSafeEqual, but works with strings

55 lines (54 loc) 1.38 kB
{ "name": "string-timing-safe-equal", "author": "Evan Hahn <me@evanhahn.com> (https://evanhahn.com)", "description": "crypto.timingSafeEqual, but works with strings", "version": "0.1.0", "license": "Unlicense", "keywords": [ "timingSafeEqual", "timing safe equal", "safe equal", "timing attack" ], "homepage": "https://git.sr.ht/~evanhahn/string-timing-safe-equal", "repository": { "type": "git", "url": "https://git.sr.ht/~evanhahn/string-timing-safe-equal" }, "bugs": { "email": "me@evanhahn.com" }, "type": "module", "engines": { "node": ">=18" }, "files": [ "./dist/index.js", "./dist/index.d.ts" ], "exports": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "scripts": { "prepack": "npm run build", "format": "prettier --write .", "build": "tsc", "test:eslint": "eslint --cache .", "test:prettier": "prettier --check .", "test:unit": "tsx --test test.ts", "test:typescript": "tsc --noEmit", "test": "npm-run-all --aggregate-output --parallel test:*" }, "devDependencies": { "@eslint/js": "^9.13.0", "@types/node": "^22.7.9", "eslint": "^9.13.0", "globals": "^15.11.0", "npm-run-all": "^4.1.5", "prettier": "^3.3.3", "tsx": "^4.19.1", "typescript": "^5.6.3", "typescript-eslint": "^8.11.0" } }