UNPKG

node-ciphers

Version:

Lightweight AES and DES encryption library for Node.js, featuring flexible encoding, multiple cipher modes, and TypeScript support.

97 lines (96 loc) 2.53 kB
{ "name": "node-ciphers", "version": "5.0.0", "description": "Lightweight AES and DES encryption library for Node.js, featuring flexible encoding, multiple cipher modes, and TypeScript support.", "author": "kiki-kanri", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/kiki-kanri/node-ciphers.git" }, "keywords": [ "3des", "aes", "aes ccm", "aes ctr", "aes gcm", "cbc", "cfb", "cfb1", "cfb8", "cipher", "cipher modes", "crypto", "decryption", "des", "ecb", "encryption", "iv generation", "json encryption", "lightweight", "nodejs", "ofb", "result", "secure", "stream" ], "sideEffects": false, "exports": { "./aes": { "types": "./dist/aes/index.d.ts", "import": "./dist/aes/index.mjs", "require": "./dist/aes/index.cjs" }, "./des": { "types": "./dist/des/index.d.ts", "import": "./dist/des/index.mjs", "require": "./dist/des/index.cjs" }, "./types": { "types": "./dist/types/index.d.ts" } }, "files": [ "./dist", "./src" ], "engines": { "node": ">=20.0.0" }, "scripts": { "build": "ts-project-builder ./src/aes/index.ts ./src/des/index.ts --clean --preserve-modules --sourcemaps", "bumplog": "changelogen --bump --hideAuthorEmail", "depcheck": "depcheck", "lint": "eslint --max-warnings 0", "lint:fix": "eslint --fix --max-warnings 0", "prepack": "pnpm run build", "release": "pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build && changelogen --hideAuthorEmail --push --release && npm publish", "test": "cross-env NODE_OPTIONS=--openssl-legacy-provider vitest run --coverage", "test:watch": "cross-env NODE_OPTIONS=--openssl-legacy-provider vitest watch --coverage", "typecheck": "tsc --noEmit", "unused-exports": "ts-unused-exports ./tsconfig.json" }, "dependencies": { "type-fest": "^4.41.0" }, "devDependencies": { "@kikiutils/changelogen": "^0.9.0", "@kikiutils/eslint-config": "^2.0.0", "@kikiutils/tsconfigs": "^5.0.4", "@types/node": "^24.2.1", "@vitest/coverage-v8": "^3.2.4", "cross-env": "^10.0.0", "depcheck": "^1.4.7", "ts-project-builder": "^5.0.2", "ts-unused-exports": "^11.0.1", "tslib": "^2.8.1", "typescript": "^5.9.2", "vitest": "^3.2.4" }, "pnpm": { "onlyBuiltDependencies": [ "esbuild", "unrs-resolver" ] } }