UNPKG

node-ciphers

Version:

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

93 lines (92 loc) 2.38 kB
{ "name": "node-ciphers", "version": "4.0.4", "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 --hideAuthorEmail", "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" }, "dependencies": { "type-fest": "^4.41.0" }, "devDependencies": { "@kikiutils/changelogen": "^0.8.0", "@kikiutils/eslint-config": "^1.1.0", "@kikiutils/tsconfigs": "^5.0.1", "@types/node": "^22.15.18", "@vitest/coverage-v8": "^3.1.3", "cross-env": "^7.0.3", "ts-project-builder": "^5.0.1", "tslib": "^2.8.1", "typescript": "^5.8.3", "vitest": "^3.1.3" }, "pnpm": { "onlyBuiltDependencies": [ "esbuild", "unrs-resolver" ] } }