{"_id":"@automate-army/common","_rev":"11-cdb8eedcacd132b32b4f8c19e627e36c","name":"@automate-army/common","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.1":{"name":"@automate-army/common","version":"1.0.1","keywords":["typescript","utilities","encryption","crypto","security","automate-army","common","shared"],"author":{"name":"Automate Army"},"license":"MIT","_id":"@automate-army/common@1.0.1","maintainers":[{"name":"automatearmy","email":"team@automatearmy.com"},{"name":"guilhermebarroso-sys","email":"guibarrosodeoliveira5@gmail.com"}],"homepage":"https://github.com/automatearmy/common#readme","bugs":{"url":"https://github.com/automatearmy/common/issues"},"dist":{"shasum":"813bd3fa98697157ea8ce76c0ccad40a8ea6fbb7","tarball":"https://registry.npmjs.org/@automate-army/common/-/common-1.0.1.tgz","fileCount":23,"integrity":"sha512-3Qo75ZFogLvocXbotqwqKJys+ajVKwz0JyO54Qoe526S7D2lqGAf8TD3uDWs/qE1C33RIwuLAQMJ+KmUE/TViQ==","signatures":[{"sig":"MEQCICpxFYDSiIngPciONDC9EHm27pCbAXSAXMQ9r7ZElfPGAiAiuONAlCEfDgdTd3mhjj5LatSFTHoX/gP1Ue96o99XeA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48352},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js"},"./security":{"types":"./dist/security/index.d.ts","require":"./dist/security/index.js"}},"gitHead":"7de54f0c92b04f6a22a59cba74d68f9931dff167","scripts":{"docs":"typedoc src/index.ts","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rm -rf dist","format":"prettier --write src/**/*.ts","lint:fix":"eslint src/**/*.ts --fix","test:watch":"jest --watch","build:watch":"tsc --watch","test:coverage":"jest --coverage","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"automatearmy","actor":{"name":"automatearmy","type":"user","email":"team@automatearmy.com"},"email":"team@automatearmy.com"},"repository":{"url":"git+https://github.com/automatearmy/common.git","type":"git"},"_npmVersion":"10.9.2","description":"A professional TypeScript utility package containing shared services and utilities for encryption, validation, and common operations","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.3","tslib":"^2.8.1","eslint":"^9.29.0","globals":"^16.2.0","ts-jest":"^29.4.0","typedoc":"^0.28.5","prettier":"^3.6.1","@types/jest":"^30.0.0","@types/node":"^24.0.4","typescript-eslint":"^8.35.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.5.1","@typescript-eslint/parser":"^8.35.0","@typescript-eslint/eslint-plugin":"^8.35.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.1_1750891022846_0.8139584179057844","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@automate-army/common","version":"1.0.2","keywords":["typescript","utilities","encryption","crypto","security","automate-army","common","shared"],"author":{"name":"Automate Army"},"license":"MIT","_id":"@automate-army/common@1.0.2","maintainers":[{"name":"automatearmy","email":"team@automatearmy.com"},{"name":"guilhermebarroso-sys","email":"guibarrosodeoliveira5@gmail.com"}],"homepage":"https://github.com/automatearmy/common#readme","bugs":{"url":"https://github.com/automatearmy/common/issues"},"dist":{"shasum":"e0b39ddd08c63bbdf0347197b23d392a8c66f77d","tarball":"https://registry.npmjs.org/@automate-army/common/-/common-1.0.2.tgz","fileCount":23,"integrity":"sha512-U2wSTnVQBWbOTOEJh49C7qOMhAfBK9J9MXeEhV0fAzl7QdeJ0iBfpKs8WwKgNTlOLAvskqcTwgZOL25RpRtvhQ==","signatures":[{"sig":"MEUCIQCxXdYTFtvv2kcB2la4IbUpamWaj/D78QV6OaRsStlgLAIgDeH8B5pULL7q6QbFwSbvpe0E2pPaJ1FxWev28n5HP9U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47957},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js"},"./security":{"types":"./dist/security/index.d.ts","require":"./dist/security/index.js"}},"gitHead":"2b0a223d2107b9b06f587c160194b8c1e8228467","scripts":{"docs":"typedoc src/index.ts","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rm -rf dist","format":"prettier --write src/**/*.ts","lint:fix":"eslint src/**/*.ts --fix","test:watch":"jest --watch","build:watch":"tsc --watch","test:coverage":"jest --coverage","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"automatearmy","actor":{"name":"automatearmy","type":"user","email":"team@automatearmy.com"},"email":"team@automatearmy.com"},"repository":{"url":"git+https://github.com/automatearmy/common.git","type":"git"},"_npmVersion":"10.9.2","description":"A professional TypeScript utility package containing shared services and utilities for encryption, validation, and common operations","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.3","tslib":"^2.8.1","eslint":"^9.29.0","globals":"^16.2.0","ts-jest":"^29.4.0","typedoc":"^0.28.5","prettier":"^3.6.1","@types/jest":"^30.0.0","@types/node":"^24.0.4","typescript-eslint":"^8.35.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.5.1","@typescript-eslint/parser":"^8.35.0","@typescript-eslint/eslint-plugin":"^8.35.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.2_1750891949205_0.30218534986445955","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@automate-army/common","version":"1.0.3","keywords":["typescript","utilities","encryption","crypto","security","automate-army","common","shared"],"author":{"name":"Automate Army"},"license":"MIT","_id":"@automate-army/common@1.0.3","maintainers":[{"name":"automatearmy","email":"team@automatearmy.com"},{"name":"guilhermebarroso-sys","email":"guibarrosodeoliveira5@gmail.com"}],"homepage":"https://github.com/automatearmy/common#readme","bugs":{"url":"https://github.com/automatearmy/common/issues"},"dist":{"shasum":"1f2568910de90303940fc1a061fc583ed93fcbb7","tarball":"https://registry.npmjs.org/@automate-army/common/-/common-1.0.3.tgz","fileCount":23,"integrity":"sha512-LNaoDWVkdKEOvMyfmwjb1A6oWRv8i3P5WxWhKqOtcsSd7a6K3VQ2KMqW5n+WKRByOBuXwMImiUmheJHBJGPEDQ==","signatures":[{"sig":"MEYCIQCYJVtH2tB0mf9l65w3yzkJKVMcWGrtKr2igXkmEgskbAIhAOhsSBL1vAn2jQmcO2N9iogrHSlb4Rg72kK49RucVghE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47674},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js"},"./security":{"types":"./dist/security/index.d.ts","require":"./dist/security/index.js"}},"gitHead":"021ee5aa1e1ab5b511f22133c44950f1e415b0ec","scripts":{"docs":"typedoc src/index.ts","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rm -rf dist","format":"prettier --write src/**/*.ts","lint:fix":"eslint src/**/*.ts --fix","test:watch":"jest --watch","build:watch":"tsc --watch","test:coverage":"jest --coverage","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"automatearmy","actor":{"name":"automatearmy","type":"user","email":"team@automatearmy.com"},"email":"team@automatearmy.com"},"repository":{"url":"git+https://github.com/automatearmy/common.git","type":"git"},"_npmVersion":"10.9.2","description":"A professional TypeScript utility package containing shared services and utilities for encryption, validation, and common operations","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.3","tslib":"^2.8.1","eslint":"^9.29.0","globals":"^16.2.0","ts-jest":"^29.4.0","typedoc":"^0.28.5","prettier":"^3.6.1","@types/jest":"^30.0.0","@types/node":"^24.0.4","typescript-eslint":"^8.35.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.5.1","@typescript-eslint/parser":"^8.35.0","@typescript-eslint/eslint-plugin":"^8.35.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.3_1750892229752_0.5714329195291608","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@automate-army/common","version":"1.0.4","keywords":["typescript","utilities","encryption","crypto","security","automate-army","common","shared"],"author":{"name":"Automate Army"},"license":"MIT","_id":"@automate-army/common@1.0.4","maintainers":[{"name":"automatearmy","email":"team@automatearmy.com"},{"name":"guilhermebarroso-sys","email":"guibarrosodeoliveira5@gmail.com"}],"homepage":"https://github.com/automatearmy/common#readme","bugs":{"url":"https://github.com/automatearmy/common/issues"},"dist":{"shasum":"2e58486c436ec545c7a0bf02f5ab405e559331a6","tarball":"https://registry.npmjs.org/@automate-army/common/-/common-1.0.4.tgz","fileCount":23,"integrity":"sha512-biHV6nNpB3eyEmgV5VHBomWSZL+wUgv7OVkp/1CEqjaE5eDaiqO/eO589Y0FxCBaJVMbAwnwzxA0YIv49Mr18w==","signatures":[{"sig":"MEQCIAkne/MbEu7h3KAu7CX4B4d6hQUf1K4zOLeCHU2EgeVCAiAaSUK780g8YcuYdE+HrAWJVqRDtTyHiFS9Pi3Hezoz7A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47674},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js"},"./security":{"types":"./dist/security/index.d.ts","require":"./dist/security/index.js"}},"gitHead":"acd393360b0d183cb2f7aaa28888b7eb479c4c78","scripts":{"docs":"typedoc src/index.ts","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rm -rf dist","format":"prettier --write src/**/*.ts","lint:fix":"eslint src/**/*.ts --fix","test:watch":"jest --watch","build:watch":"tsc --watch","test:coverage":"jest --coverage","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"automatearmy","actor":{"name":"automatearmy","type":"user","email":"team@automatearmy.com"},"email":"team@automatearmy.com"},"repository":{"url":"git+https://github.com/automatearmy/common.git","type":"git"},"_npmVersion":"10.9.2","description":"A professional TypeScript utility package containing shared services and utilities for encryption, validation, and common operations","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.3","tslib":"^2.8.1","eslint":"^9.29.0","globals":"^16.2.0","ts-jest":"^29.4.0","typedoc":"^0.28.5","prettier":"^3.6.1","@types/jest":"^30.0.0","@types/node":"^24.0.4","typescript-eslint":"^8.35.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.5.1","@typescript-eslint/parser":"^8.35.0","@typescript-eslint/eslint-plugin":"^8.35.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.4_1750947962189_0.8645754501685925","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@automate-army/common","version":"1.0.5","keywords":["typescript","utilities","encryption","crypto","security","automate-army","common","shared"],"author":{"name":"Automate Army"},"license":"MIT","_id":"@automate-army/common@1.0.5","maintainers":[{"name":"automatearmy","email":"team@automatearmy.com"},{"name":"guilhermebarroso-sys","email":"guibarrosodeoliveira5@gmail.com"}],"homepage":"https://github.com/automatearmy/common#readme","bugs":{"url":"https://github.com/automatearmy/common/issues"},"dist":{"shasum":"572870677c36b1f8ed1b6973ddb8fd869ede8536","tarball":"https://registry.npmjs.org/@automate-army/common/-/common-1.0.5.tgz","fileCount":23,"integrity":"sha512-cgqoEhPSeNenFAtMLBh0BBzoyFsjGZ/THzbjFH632zbvfsmHUpPUPYjwZ6Ah3uygrTqKk5Yx34fLGRgWxhJXsA==","signatures":[{"sig":"MEUCIB0rV7uICg0Yuo0T0WMLS5Bv5T+ozjcdwRGB1AqgL09UAiEAvefYt7a77QlqV9dFR9S8ZQp4ZzmAgp4+KYSqImQivnE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48500},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js"},"./security":{"types":"./dist/security/index.d.ts","require":"./dist/security/index.js"}},"gitHead":"f87d114777b84682a0e36561c7f7191402439ea2","scripts":{"docs":"typedoc src/index.ts","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rm -rf dist","format":"prettier --write src/**/*.ts","lint:fix":"eslint src/**/*.ts --fix","test:watch":"jest --watch","build:watch":"tsc --watch","test:coverage":"jest --coverage","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"automatearmy","actor":{"name":"automatearmy","type":"user","email":"team@automatearmy.com"},"email":"team@automatearmy.com"},"repository":{"url":"git+https://github.com/automatearmy/common.git","type":"git"},"_npmVersion":"10.9.2","description":"A professional TypeScript utility package containing shared services and utilities for encryption, validation, and common operations","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.3","tslib":"^2.8.1","eslint":"^9.29.0","globals":"^16.2.0","ts-jest":"^29.4.0","typedoc":"^0.28.5","prettier":"^3.6.1","@types/jest":"^30.0.0","@types/node":"^24.0.4","typescript-eslint":"^8.35.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.5.1","@typescript-eslint/parser":"^8.35.0","@typescript-eslint/eslint-plugin":"^8.35.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.5_1750948426596_0.3628113460484448","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@automate-army/common","version":"1.0.6","keywords":["typescript","utilities","encryption","crypto","security","automate-army","common","shared"],"author":{"name":"Automate Army"},"license":"MIT","_id":"@automate-army/common@1.0.6","maintainers":[{"name":"automatearmy","email":"team@automatearmy.com"},{"name":"guilhermebarroso-sys","email":"guibarrosodeoliveira5@gmail.com"}],"homepage":"https://github.com/automatearmy/common#readme","bugs":{"url":"https://github.com/automatearmy/common/issues"},"dist":{"shasum":"bb431dd39dd1070e5faf42bef734109f2ad1ef87","tarball":"https://registry.npmjs.org/@automate-army/common/-/common-1.0.6.tgz","fileCount":23,"integrity":"sha512-f5BBalwqJQvYuzgZ66Z0MYt/8yHi66nFQwB56KmJFLKzD7z7SFxZ7T/Lzz2O1uXjBpj8GHc2y/wZX3gkag9SxQ==","signatures":[{"sig":"MEUCIBbFmPPKk3xTTpLy4hKXkrEKBimlwoDS4z5X2C1I4q3IAiEA9eN0IbpFQ7A6khzRzADrNeyiwo04BgiAmuC1jMQyCQ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48668},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js"},"./security":{"types":"./dist/security/index.d.ts","require":"./dist/security/index.js"}},"gitHead":"8ca09be2aabde3047ffd14ec24909f67078d9902","scripts":{"docs":"typedoc src/index.ts","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rm -rf dist","format":"prettier --write src/**/*.ts","lint:fix":"eslint src/**/*.ts --fix","test:watch":"jest --watch","build:watch":"tsc --watch","test:coverage":"jest --coverage","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"automatearmy","actor":{"name":"automatearmy","type":"user","email":"team@automatearmy.com"},"email":"team@automatearmy.com"},"repository":{"url":"git+https://github.com/automatearmy/common.git","type":"git"},"_npmVersion":"10.9.2","description":"A professional TypeScript utility package containing shared services and utilities for encryption, validation, and common operations","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.3","tslib":"^2.8.1","eslint":"^9.29.0","globals":"^16.2.0","ts-jest":"^29.4.0","typedoc":"^0.28.5","prettier":"^3.6.1","@types/jest":"^30.0.0","@types/node":"^24.0.4","typescript-eslint":"^8.35.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.5.1","@typescript-eslint/parser":"^8.35.0","@typescript-eslint/eslint-plugin":"^8.35.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.6_1750949221023_0.8269229442706809","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@automate-army/common","version":"1.0.7","keywords":["typescript","utilities","encryption","crypto","security","automate-army","common","shared"],"author":{"name":"Automate Army"},"license":"MIT","_id":"@automate-army/common@1.0.7","maintainers":[{"name":"automatearmy","email":"team@automatearmy.com"},{"name":"guilhermebarroso-sys","email":"guibarrosodeoliveira5@gmail.com"}],"homepage":"https://github.com/automatearmy/common#readme","bugs":{"url":"https://github.com/automatearmy/common/issues"},"dist":{"shasum":"ffbdf4e4694f0e34dca1434ec0086072de4047a5","tarball":"https://registry.npmjs.org/@automate-army/common/-/common-1.0.7.tgz","fileCount":23,"integrity":"sha512-YIm7klFaiqSZPyuVdq8kcFJpSnKDoUkc/tIq7i1esJkVFVoA9ljWhTHyrvdR0+p1BUCanbhMq1k31tCvJzw0YQ==","signatures":[{"sig":"MEYCIQCMpLufYLtnEUkAlUOrqMSqdfx5VjrK0uHYJVF9rVS+gwIhAKG3j8BLCUyIJ2INLZc3ZHQc8O4dWvxyaQ5KszlQNxiB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48500},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js"},"./security":{"types":"./dist/security/index.d.ts","require":"./dist/security/index.js"}},"gitHead":"dfec5a0725021e033f6d5fe1d3f1bf4a2e887c59","scripts":{"docs":"typedoc src/index.ts","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rm -rf dist","format":"prettier --write src/**/*.ts","lint:fix":"eslint src/**/*.ts --fix","test:watch":"jest --watch","build:watch":"tsc --watch","test:coverage":"jest --coverage","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"automatearmy","actor":{"name":"automatearmy","type":"user","email":"team@automatearmy.com"},"email":"team@automatearmy.com"},"repository":{"url":"git+https://github.com/automatearmy/common.git","type":"git"},"_npmVersion":"10.9.2","description":"A professional TypeScript utility package containing shared services and utilities for encryption, validation, and common operations","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.3","tslib":"^2.8.1","eslint":"^9.29.0","globals":"^16.2.0","ts-jest":"^29.4.0","typedoc":"^0.28.5","prettier":"^3.6.1","@types/jest":"^30.0.0","@types/node":"^24.0.4","typescript-eslint":"^8.35.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.5.1","@typescript-eslint/parser":"^8.35.0","@typescript-eslint/eslint-plugin":"^8.35.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.7_1750950148522_0.5080291274019997","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@automate-army/common","version":"1.0.8","keywords":["typescript","utilities","encryption","crypto","security","automate-army","common","shared"],"author":{"name":"Automate Army"},"license":"MIT","_id":"@automate-army/common@1.0.8","maintainers":[{"name":"automatearmy","email":"team@automatearmy.com"},{"name":"guilhermebarroso-sys","email":"guibarrosodeoliveira5@gmail.com"}],"homepage":"https://github.com/automatearmy/common#readme","bugs":{"url":"https://github.com/automatearmy/common/issues"},"dist":{"shasum":"1e2ff3322d017e00e12c60d24831ea98f84b9913","tarball":"https://registry.npmjs.org/@automate-army/common/-/common-1.0.8.tgz","fileCount":23,"integrity":"sha512-/MhM5+EdiOlxKGBlWg/bUeY825q4Ojn+sJh1LiYUtYjZPXI0UfucaUgZ6LO3KSVkxhCo7frXnujmt1KWLAITzA==","signatures":[{"sig":"MEYCIQChXGDOoa2LCGftxrjjlnJRQoGOuC+mxy1GyNCNyoJhUgIhALXPsMHIAIjTqaqgJ0qiTWK/RAqe+Qs1cG7MVk/DWDJi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48656},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js"},"./security":{"types":"./dist/security/index.d.ts","require":"./dist/security/index.js"}},"gitHead":"6e741c07b3addc30d22ff1ae58fe0d9ad6468043","scripts":{"docs":"typedoc src/index.ts","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rm -rf dist","format":"prettier --write src/**/*.ts","lint:fix":"eslint src/**/*.ts --fix","test:watch":"jest --watch","build:watch":"tsc --watch","test:coverage":"jest --coverage","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"automatearmy","actor":{"name":"automatearmy","type":"user","email":"team@automatearmy.com"},"email":"team@automatearmy.com"},"repository":{"url":"git+https://github.com/automatearmy/common.git","type":"git"},"_npmVersion":"10.9.2","description":"A professional TypeScript utility package containing shared services and utilities for encryption, validation, and common operations","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.3","tslib":"^2.8.1","eslint":"^9.29.0","globals":"^16.2.0","ts-jest":"^29.4.0","typedoc":"^0.28.5","prettier":"^3.6.1","@types/jest":"^30.0.0","@types/node":"^24.0.4","typescript-eslint":"^8.35.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.5.1","@typescript-eslint/parser":"^8.35.0","@typescript-eslint/eslint-plugin":"^8.35.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.8_1750953795900_0.7100074379337771","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@automate-army/common","version":"1.0.9","keywords":["typescript","utilities","encryption","crypto","security","automate-army","common","shared"],"author":{"name":"Automate Army"},"license":"MIT","_id":"@automate-army/common@1.0.9","maintainers":[{"name":"automatearmy","email":"team@automatearmy.com"},{"name":"guilhermebarroso-sys","email":"guibarrosodeoliveira5@gmail.com"}],"homepage":"https://github.com/automatearmy/common#readme","bugs":{"url":"https://github.com/automatearmy/common/issues"},"dist":{"shasum":"46df6219c09bc7618931e9614f6c0af65f477121","tarball":"https://registry.npmjs.org/@automate-army/common/-/common-1.0.9.tgz","fileCount":23,"integrity":"sha512-7QuQkmjyDhbQ+tfUxRU1tYgH8wJ9XEAm/DYju4/4aYSOPa+vMY/xJJoTfHlWAy6MBvGZTJ5rjmDSscdK8AuBgw==","signatures":[{"sig":"MEUCIQDRZJdFeohbF2qbUz6bb6cW1gqOtQhZTTR23xJVffCSVQIgQKNd+K9ZFmhhIWdAH7nkQzqVIKqDoOHP5TGMpSKQ90U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48580},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js"},"./security":{"types":"./dist/security/index.d.ts","require":"./dist/security/index.js"}},"gitHead":"19af19b077b7abbe43af5164bf04a58cadcd3206","scripts":{"docs":"typedoc src/index.ts","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rm -rf dist","format":"prettier --write src/**/*.ts","lint:fix":"eslint src/**/*.ts --fix","test:watch":"jest --watch","build:watch":"tsc --watch","test:coverage":"jest --coverage","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"automatearmy","actor":{"name":"automatearmy","type":"user","email":"team@automatearmy.com"},"email":"team@automatearmy.com"},"repository":{"url":"git+https://github.com/automatearmy/common.git","type":"git"},"_npmVersion":"10.9.2","description":"A professional TypeScript utility package containing shared services and utilities for encryption, validation, and common operations","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.3","tslib":"^2.8.1","eslint":"^9.29.0","globals":"^16.2.0","ts-jest":"^29.4.0","typedoc":"^0.28.5","prettier":"^3.6.1","@types/jest":"^30.0.0","@types/node":"^24.0.4","typescript-eslint":"^8.35.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.5.1","@typescript-eslint/parser":"^8.35.0","@typescript-eslint/eslint-plugin":"^8.35.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.9_1750954410045_0.756166349409475","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@automate-army/common","version":"1.0.10","keywords":["typescript","utilities","encryption","crypto","security","automate-army","common","shared"],"author":{"name":"Automate Army"},"license":"MIT","_id":"@automate-army/common@1.0.10","maintainers":[{"name":"automatearmy","email":"team@automatearmy.com"},{"name":"guilhermebarroso-sys","email":"guibarrosodeoliveira5@gmail.com"}],"homepage":"https://github.com/automatearmy/common#readme","bugs":{"url":"https://github.com/automatearmy/common/issues"},"dist":{"shasum":"6751fa6769459823949957f05773953243924ad9","tarball":"https://registry.npmjs.org/@automate-army/common/-/common-1.0.10.tgz","fileCount":23,"integrity":"sha512-NAqGHBHyZWQpln63ZOqIrbtQFUccJMqkx9yE5sBkqBhPR6JjvNr7BYzNFCl/sJ6I9FyoysKUcCJO7kuXISCfgQ==","signatures":[{"sig":"MEQCIClOkg5O30WNJkI8kdncTJvSsmHOK/DFpBRz+NrPYlcWAiAEAdW4YizFGz++Em4Ha1IDB/dD0w2UxW8oN2mT8k3pDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48501},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js"},"./security":{"types":"./dist/security/index.d.ts","require":"./dist/security/index.js"}},"gitHead":"16dc2b17afdacd509260830bddc0512a194fe7a6","scripts":{"docs":"typedoc src/index.ts","lint":"eslint src/**/*.ts","test":"jest","build":"tsc","clean":"rm -rf dist","format":"prettier --write src/**/*.ts","lint:fix":"eslint src/**/*.ts --fix","test:watch":"jest --watch","build:watch":"tsc --watch","test:coverage":"jest --coverage","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"automatearmy","actor":{"name":"automatearmy","type":"user","email":"team@automatearmy.com"},"email":"team@automatearmy.com"},"repository":{"url":"git+https://github.com/automatearmy/common.git","type":"git"},"_npmVersion":"10.9.2","description":"A professional TypeScript utility package containing shared services and utilities for encryption, validation, and common operations","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.3","tslib":"^2.8.1","eslint":"^9.29.0","globals":"^16.2.0","ts-jest":"^29.4.0","typedoc":"^0.28.5","prettier":"^3.6.1","@types/jest":"^30.0.0","@types/node":"^24.0.4","typescript-eslint":"^8.35.0","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.5.1","@typescript-eslint/parser":"^8.35.0","@typescript-eslint/eslint-plugin":"^8.35.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.10_1750954949242_0.7894819242411875","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-06-25T22:37:02.782Z","modified":"2026-03-31T18:22:51.265Z","1.0.1":"2025-06-25T22:37:03.024Z","1.0.2":"2025-06-25T22:52:29.522Z","1.0.3":"2025-06-25T22:57:09.947Z","1.0.4":"2025-06-26T14:26:02.363Z","1.0.5":"2025-06-26T14:33:46.803Z","1.0.6":"2025-06-26T14:47:01.210Z","1.0.7":"2025-06-26T15:02:28.701Z","1.0.8":"2025-06-26T16:03:16.094Z","1.0.9":"2025-06-26T16:13:30.230Z","1.0.10":"2025-06-26T16:22:29.411Z"},"bugs":{"url":"https://github.com/automatearmy/common/issues"},"author":{"name":"Automate Army"},"license":"MIT","homepage":"https://github.com/automatearmy/common#readme","keywords":["typescript","utilities","encryption","crypto","security","automate-army","common","shared"],"repository":{"url":"git+https://github.com/automatearmy/common.git","type":"git"},"description":"A professional TypeScript utility package containing shared services and utilities for encryption, validation, and common operations","maintainers":[{"email":"team@automatearmy.com","name":"automatearmy"},{"email":"adamjwattis@gmail.com","name":"adamwattis"},{"email":"guibarrosodeoliveira5@gmail.com","name":"guilhermebarroso-sys"}],"readme":"# @automate-army/common\n\n[![npm version](https://badge.fury.io/js/@automate-army%2Fcommon.svg)](https://badge.fury.io/js/@automate-army%2Fcommon)\n![npm bundle size](https://img.shields.io/bundlephobia/min/%40automate-army%2Fcommon)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA professional TypeScript utility library providing shared services and common operations for modern applications. Built with modularity, type safety, and developer experience in mind.\n\n## Overview\n\n`@automate-army/common` is a comprehensive utilities package designed to provide robust, well-tested, and type-safe solutions for common development needs. Each module is independently usable while maintaining consistent patterns and professional standards.\n\n## Features\n\n- 🏗️ **Modular Architecture** - Import only what you need\n- 📝 **Full TypeScript Support** - Complete type definitions and IntelliSense\n- 🛡️ **Professional Error Handling** - Comprehensive error classes with detailed information\n- ✅ **Thoroughly Tested** - High test coverage with comprehensive test suites\n- 🔧 **Flexible Configuration** - Environment variables and constructor options\n- 🚀 **Production Ready** - Battle-tested and optimized for performance\n\n## Installation\n\n```bash\nnpm install @automate-army/common\n```\n\n## Available Modules\n\n### 🔐 Security\n\nProfessional encryption and security utilities with AES-256-CBC encryption, flexible key management, and batch operations.\n\n```typescript\nimport { CryptoService } from '@automate-army/common';\n\nconst crypto = new CryptoService();\nconst result = crypto.encrypt('sensitive-data');\nconst decrypted = crypto.decrypt(result.encrypted, result.iv);\n```\n\n**Key Features:**\n- AES encryption with multiple algorithm support\n- Environment variable and constructor-based key management\n- Batch encryption/decryption operations\n- Comprehensive error handling\n\n[📖 Security Module Documentation](#security-module)\n\n### 🛡️ Validation *(Coming Soon)*\n\nInput validation, sanitization, and data verification utilities.\n\n### 📅 Date & Time *(Coming Soon)*\n\nDate manipulation, formatting, and timezone utilities.\n\n### 🌐 Network *(Coming Soon)*\n\nHTTP utilities, request helpers, and network-related tools.\n\n## Quick Start\n\n### Basic Usage\n\n```typescript\n// Import main utilities\nimport { CryptoService } from '@automate-army/common';\n\n// Use the service\nconst crypto = new CryptoService({\n  encryptionKey: 'your-256-bit-key-in-hex-format'\n});\n\nconst result = crypto.encrypt('Hello, World!');\nconsole.log('Encrypted:', result.encrypted);\nconsole.log('IV:', result.iv);\n```\n\n### Modular Imports\n\n```typescript\n// Import from specific modules for advanced usage\nimport { CryptoService, InvalidKeyError } from '@automate-army/common/security';\n\n// Tree-shakable imports\nimport { CryptoService } from '@automate-army/common';\n```\n\n## Security Module\n\nThe Security module provides professional-grade encryption services with flexible configuration and comprehensive error handling.\n\n### CryptoService\n\n#### Constructor\n\n```typescript\nnew CryptoService(options?: CryptoOptions)\n```\n\n**Configuration Options:**\n- `algorithm?: string` - Encryption algorithm (default: 'aes-256-cbc')\n- `encryptionKey?: string` - Hex-encoded encryption key\n\n**Key Management Priority:**\n1. Constructor parameter\n2. `AUTOMATE_ARMY_ENCRYPTION_KEY` environment variable\n3. Throws `InvalidKeyError` if neither provided\n\n#### Core Methods\n\n##### `encrypt(data: string, iv?: string): EncryptResult`\n\nEncrypts data using the configured algorithm.\n\n```typescript\nconst crypto = new CryptoService({ encryptionKey: 'your-key' });\n\n// With random IV (recommended)\nconst result = crypto.encrypt('sensitive-data');\n\n// With specific IV (for deterministic encryption)\nconst result = crypto.encrypt('sensitive-data', 'your-iv-in-hex');\n```\n\n##### `decrypt(encryptedData: string, iv: string): string`\n\nDecrypts previously encrypted data.\n\n```typescript\nconst decrypted = crypto.decrypt(result.encrypted, result.iv);\n```\n\n##### `batchEncrypt(params: BatchEncryptParams): BatchEncryptResult`\n\nEfficiently encrypts multiple items.\n\n```typescript\nconst result = crypto.batchEncrypt({\n  tokens: ['item1', 'item2', 'item3']\n});\n```\n\n##### `batchDecrypt(params: BatchDecryptParams): BatchDecryptResult`\n\nEfficiently decrypts multiple items.\n\n```typescript\nconst result = crypto.batchDecrypt({\n  encryptedData: [\n    { encrypted: 'data1', iv: 'iv1' },\n    { encrypted: 'data2', iv: 'iv2' }\n  ]\n});\n```\n\n### Environment Configuration\n\n```bash\n# Set encryption key via environment variable\nexport AUTOMATE_ARMY_ENCRYPTION_KEY=\"your-256-bit-key-in-hex\"\n```\n\n**Key Requirements:**\n- Valid hexadecimal string\n- Length must match algorithm:\n  - AES-256: 64 hex characters (32 bytes)\n  - AES-192: 48 hex characters (24 bytes)\n  - AES-128: 32 hex characters (16 bytes)\n\n### Error Handling\n\nComprehensive error handling with detailed error information:\n\n```typescript\nimport { CryptoService, InvalidKeyError } from '@automate-army/common/security';\n\ntry {\n  const crypto = new CryptoService();\n  const result = crypto.encrypt('data');\n} catch (error) {\n  if (error instanceof InvalidKeyError) {\n    console.log('Error:', error.message);\n    console.log('Code:', error.code);\n    console.log('Timestamp:', error.timestamp);\n  }\n}\n```\n\n**Available Error Types:**\n- `CryptoError` - Base error class\n- `InvalidKeyError` - Key-related issues\n- `EncryptionError` - Encryption failures\n- `DecryptionError` - Decryption failures\n- `InvalidIVError` - IV validation errors\n- `InvalidInputError` - Input validation errors\n- `UnsupportedAlgorithmError` - Algorithm support errors\n\n### Supported Algorithms\n\n- `aes-256-cbc` (default) - 32-byte key\n- `aes-192-cbc` - 24-byte key\n- `aes-128-cbc` - 16-byte key\n- Any algorithm supported by Node.js crypto module\n\n## TypeScript Support\n\nFull TypeScript support with comprehensive type definitions:\n\n```typescript\nimport { CryptoService, EncryptResult } from '@automate-army/common';\n\nconst crypto = new CryptoService();\nconst result: EncryptResult = crypto.encrypt('data');\n```\n\n## Development\n\n### Setup\n\n```bash\ngit clone https://github.com/automatearmy/common.git\ncd common\nnpm install\n```\n\n### Available Scripts\n\n```bash\nnpm run build          # Build the package\nnpm run test           # Run tests\nnpm run test:coverage  # Run tests with coverage\nnpm run lint           # Run ESLint\nnpm run format         # Format code with Prettier\nnpm run docs           # Generate documentation\n```\n\n### Testing\n\nComprehensive test coverage including:\n- Unit tests for all functionality\n- Integration tests with real operations\n- Edge cases and error scenarios\n- Performance tests for large datasets\n\n```bash\nnpm test\n```\n\n## Security Best Practices\n\n1. **Key Management**: Use secure key management systems in production\n2. **Environment Variables**: Store sensitive keys in environment variables\n3. **Key Rotation**: Implement regular key rotation policies\n4. **IV Usage**: Never reuse initialization vectors with the same key\n5. **Error Handling**: Implement proper error handling for all operations\n\n## Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'feat: add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n### Commit Convention\n\nThis project uses [Conventional Commits](https://conventionalcommits.org/) for automatic versioning:\n\n- `feat:` - New features (minor version bump)\n- `fix:` - Bug fixes (patch version bump)\n- `feat!:` or `BREAKING CHANGE:` - Breaking changes (major version bump)\n\n## Roadmap\n\n- ✅ Security Module (Encryption/Decryption)\n- 🔄 Validation Module (Input validation and sanitization)\n- 📋 Date & Time Module (Date manipulation and formatting)\n- 📋 Network Module (HTTP utilities and helpers)\n- 📋 String Module (String manipulation and utilities)\n- 📋 Array Module (Array operations and transformations)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\n- 🐛 Issues: [GitHub Issues](https://github.com/automatearmy/common/issues)\n- 📖 Documentation: [GitHub Wiki](https://github.com/automatearmy/common/wiki)\n- 💬 Discussions: [GitHub Discussions](https://github.com/automatearmy/common/discussions)\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md) for a detailed list of changes.\n\n---\n\nMade with ❤️ by [Automate Army](https://github.com/automatearmy)\n","readmeFilename":"README.md"}