UNPKG

node-ciphers

Version:

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

90 lines (89 loc) 2.18 kB
{ "name": "node-ciphers", "version": "4.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": ">=18.12.1" }, "scripts": { "build": "ts-project-builder ./src/aes/index.ts ./src/des/index.ts --clean --preserve-modules --sourcemaps", "bumplog": "changelogen --bump", "lint": "eslint", "lint:fix": "eslint --fix", "prepack": "pnpm run build", "release": "pnpm run lint && pnpm run build && pnpm run test && changelogen --hideAuthorEmail --push --release && npm publish", "test": "tsc -p ./tsconfig.test-check.json && cross-env NODE_OPTIONS=--openssl-legacy-provider jest --coverage" }, "dependencies": { "type-fest": "^4.40.0" }, "devDependencies": { "@kikiutils/changelogen": "^0.8.0", "@kikiutils/eslint-config": "^0.12.2", "@kikiutils/tsconfigs": "^5.0.1", "@types/jest": "^29.5.14", "@types/node": "^22.14.1", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.3.2", "ts-project-builder": "^5.0.0", "tslib": "^2.8.1" }, "pnpm": { "onlyBuiltDependencies": [ "esbuild" ] } }