UNPKG

@alessiofrittoli/crypto-cipher

Version:
124 lines (123 loc) 4.03 kB
{ "name": "@alessiofrittoli/crypto-cipher", "version": "3.1.0", "description": "Node.js Cipher cryptograph utility library", "author": { "name": "Alessio Frittoli", "email": "info@alessiofrittoli.it", "url": "https://alessiofrittoli.it" }, "license": "MIT", "funding": [ { "type": "github", "url": "https://github.com/sponsors/alessiofrittoli" } ], "keywords": [ "nodejs-crypto", "cryptography", "cipher", "aes", "aead", "hybrid-encryption", "stream-encrypt", "stream-decrypt", "ccm", "gcm", "ocb", "cbc" ], "homepage": "https://github.com/alessiofrittoli/crypto-cipher#readme", "bugs": { "url": "https://github.com/alessiofrittoli/crypto-cipher/issues", "email": "info@alessiofrittoli.it" }, "repository": { "type": "git", "url": "git+https://github.com/alessiofrittoli/crypto-cipher.git" }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist" ], "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./types": { "import": { "types": "./dist/types.d.mts" }, "require": { "types": "./dist/types.d.ts" } } }, "sideEffects": false, "scripts": { "//1a": "*********************************************************************", "//1b": "******************** DEV - BUILD - LINT - RELEASE *******************", "//1c": "*********************************************************************", "dev": "cross-env NODE_ENV=development tsup --watch", "build:prod": "cross-env NODE_ENV=production tsup", "build": "pnpm lint && pnpm test:ci && pnpm build:prod", "lint": "eslint", "release": "node scripts/release.js --verbose --npm", "//2a": "*********************************************************************", "//2b": "***************************** UNIT TESTS ****************************", "//2c": "*********************************************************************", "test": "jest --verbose", "test:watch": "jest --watchAll --verbose", "test:ci": "jest --ci --verbose", "//3a": "*********************************************************************", "//3b": "************************ UNIT TESTS COVERAGE ************************", "//3c": "*********************************************************************", "test:coverage": "pnpm test:watch --coverage", "test:coverage:ci": "pnpm test:ci --coverage", "test:serve-coverage": "http-server ./coverage/lcov-report --gzip true -p 0 -o --silent", "test:coverage:serve": "concurrently --prefix none --kill-others \"pnpm test:coverage\" \"pnpm test:serve-coverage\"", "//4a": "*********************************************************************", "//4b": "************************ TARGETED UNIT TESTS ************************", "//4c": "*********************************************************************", "test:buffer-in-memory": "pnpm test:watch buffer-in-memory.test.ts", "test:file-symmetric": "pnpm test:watch file-symmetric.test.ts", "test:file-hybrid": "pnpm test:watch file-hybrid.test.ts", "test:stream-symmetric": "pnpm test:watch stream-symmetric.test.ts", "test:stream-hybrid": "pnpm test:watch stream-hybrid.test.ts", "test:misc": "pnpm test:watch misc.test.ts" }, "devDependencies": { "@alessiofrittoli/node-scripts": "^3.3.0", "@eslint/js": "^10.0.1", "@jest/globals": "^30.3.0", "@types/jest": "^30.0.0", "@types/node": "^25.5.0", "concurrently": "^9.2.1", "cross-env": "^10.1.0", "dotenv": "^17.3.1", "eslint": "^10.0.3", "globals": "^17.4.0", "http-server": "^14.1.1", "jest": "^30.3.0", "ts-jest": "^29.4.6", "ts-node": "^10.9.2", "tsup": "^8.5.1", "typescript": "^5.9.3", "typescript-eslint": "^8.57.0" }, "dependencies": { "@alessiofrittoli/crypto-buffer": "^3.11.0", "@alessiofrittoli/math-utils": "^2.0.0", "@alessiofrittoli/stream-reader": "3.0.0" } }