feat: add encryption and date service utilities

- Implemented EncryptionService for secure data handling with AES encryption.
- Created DateService for advanced date manipulation and formatting.
- Developed EncryptionDemo and DateServiceComponent for interactive demonstrations.
- Added LocalStorage demo for encrypted data storage and retrieval.
- Established ESLint and TypeScript configurations for utils package.
- Included example utility function for demonstration purposes.
This commit is contained in:
Firman Ramdhani
2026-01-09 16:50:25 +07:00
parent 7a6a8b710f
commit ed949e4174
19 changed files with 1238 additions and 3 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"name": "@repo/utils",
"version": "0.0.0",
"exports": {
".": "./src/index.ts"
},
"license": "MIT",
"scripts": {
"lint": "eslint \"**/*.ts\""
},
"dependencies": {
"crypto-js": "^4.2.0",
"dayjs": "^1.11.19"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@types/crypto-js": "^4.2.2",
"eslint": "^8.57.1",
"typescript": "5.5.4"
}
}