{"_id":"@anshul28/storage-core-hrms","_rev":"9-44d15506d8ac910a14c07f840e32d204","name":"@anshul28/storage-core-hrms","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.1":{"name":"@anshul28/storage-core-hrms","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@anshul28/storage-core-hrms@1.0.1","maintainers":[{"name":"anshul28","email":"anshul.gupta2@xceedance.com"}],"dist":{"shasum":"53f92e05e8f6367bed0149042ecffe6fa30cb4d4","tarball":"https://registry.npmjs.org/@anshul28/storage-core-hrms/-/storage-core-hrms-1.0.1.tgz","fileCount":20,"integrity":"sha512-0VgbmQD8cT1vnHVpz/slHXg3tsbnNrwUpj+uLa1IeQMPvO42b18eSYUxh+ue++0gd4VsTM7S0BBX7z+frNXvwg==","signatures":[{"sig":"MEUCIEmBgBprpeT7YkvkbDRQVDzW10UNTHQ2NvLn8CX8OW5fAiEAqLj+d1W+OO+wf6ZiIX1SSTgQYODlriz9pKp31OPKVtY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31220},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"a83348b1aeec689f31bc6faee5877ad2a6625d0f","scripts":{"dev":"tsup src/index.ts --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format cjs,esm --dts"},"_npmUser":{"name":"anshul28","email":"anshul.gupta2@xceedance.com"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.20.0","dependencies":{"rxjs":"^7.8.2","crypto-js":"^4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.1","@types/crypto-js":"^4.2.2"},"_npmOperationalInternal":{"tmp":"tmp/storage-core-hrms_1.0.1_1780494712109_0.13759485385746606","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@anshul28/storage-core-hrms","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"@anshul28/storage-core-hrms@1.0.2","maintainers":[{"name":"anshul28","email":"anshul.gupta2@xceedance.com"}],"dist":{"shasum":"973cd9fa0ac457ec095deabd5998f0af9a6bddcc","tarball":"https://registry.npmjs.org/@anshul28/storage-core-hrms/-/storage-core-hrms-1.0.2.tgz","fileCount":22,"integrity":"sha512-g9M8ZJhFGIroSdFBwEDaZyAMN+8encb1ZlMqbNny/LOAJsLIqVUF0RJHwWW+HTXzFjn5a1PISYF5oFsAkOHG3w==","signatures":[{"sig":"MEUCIE26qWYcmPI4N6RUaW9fsgnE7xqwjquekeYBKLNmglKWAiEAmPhM5R+XrFY6b3NK9iCgsCUzZxlHXhtTBmJik/lDCk8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34005},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"a83348b1aeec689f31bc6faee5877ad2a6625d0f","scripts":{"dev":"tsup src/index.ts --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/index.ts --format cjs,esm --dts"},"_npmUser":{"name":"anshul28","email":"anshul.gupta2@xceedance.com"},"_npmVersion":"10.8.2","description":"storage-core-hrms","directories":{},"_nodeVersion":"20.20.0","dependencies":{"rxjs":"^7.8.2","crypto-js":"^4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.1","@types/crypto-js":"^4.2.2"},"_npmOperationalInternal":{"tmp":"tmp/storage-core-hrms_1.0.2_1780499638861_0.001479522253063914","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@anshul28/storage-core-hrms","version":"1.0.3","keywords":[],"author":"","license":"ISC","_id":"@anshul28/storage-core-hrms@1.0.3","maintainers":[{"name":"anshul28","email":"anshul.gupta2@xceedance.com"}],"dist":{"shasum":"7a80e326b3061439cb33027c843b548567ecec2f","tarball":"https://registry.npmjs.org/@anshul28/storage-core-hrms/-/storage-core-hrms-1.0.3.tgz","fileCount":49,"integrity":"sha512-FEKALdBZmIu31wcA6LoQwWg3s1mKUv4Di1ZCZWqJ7AaWcbzNQh2hn3iCACIPiQ/iWRP5pG7r0WDNWd/slqNY3A==","signatures":[{"sig":"MEYCIQDpWn+VNz0gJBZV/po1B5+NTGSN4w4PCjHd2lBjCMRAAgIhANH3tJ0MSoYuVExUUzSGJ3iwN6S26Sk/QBSgdVJJ+Msb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":142188},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"a83348b1aeec689f31bc6faee5877ad2a6625d0f","scripts":{"dev":"tsup src/index.ts --watch","test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","test:watch":"jest --watch"},"_npmUser":{"name":"anshul28","email":"anshul.gupta2@xceedance.com"},"_npmVersion":"10.8.2","description":"storage-core-hrms","directories":{},"_nodeVersion":"20.20.0","dependencies":{"rxjs":"^7.8.2","crypto-js":"^4.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.2","tsup":"^8.5.1","ts-jest":"^29.4.11","typescript":"^6.0.3","@types/jest":"^30.0.0","@types/node":"^25.9.1","@types/crypto-js":"^4.2.2","jest-environment-jsdom":"^30.4.1"},"_npmOperationalInternal":{"tmp":"tmp/storage-core-hrms_1.0.3_1780643074147_0.7982497277225082","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@anshul28/storage-core-hrms","version":"1.0.4","keywords":[],"author":"","license":"ISC","_id":"@anshul28/storage-core-hrms@1.0.4","maintainers":[{"name":"anshul28","email":"anshul.gupta2@xceedance.com"}],"dist":{"shasum":"c6576ff6104ae2491b4364b28fe71180fc3334ba","tarball":"https://registry.npmjs.org/@anshul28/storage-core-hrms/-/storage-core-hrms-1.0.4.tgz","fileCount":48,"integrity":"sha512-hvGQxDVst3FuRGdoCT5Y5vT3bferAWF1LpYoE94c28VEJW5c198bn9ucbJfk6oFtu4DkjVzBh9ftu+/6klc5IQ==","signatures":[{"sig":"MEUCIQD/7LdeO0fdeK2UQlo++ntXtG7Ezj1VdQpl/reyHcAKXQIgMhnpc5VNNHLueYYgPU+AgTUjrsjDy0TZYNCRdzKBvOA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":142600},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"a83348b1aeec689f31bc6faee5877ad2a6625d0f","scripts":{"dev":"tsup src/index.ts --watch","test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","test:watch":"jest --watch"},"_npmUser":{"name":"anshul28","email":"anshul.gupta2@xceedance.com"},"_npmVersion":"10.8.2","description":"storage-core-hrms","directories":{},"_nodeVersion":"20.20.0","dependencies":{"rxjs":"^7.8.2","crypto-js":"^4.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.2","tsup":"^8.5.1","ts-jest":"^29.4.11","typescript":"^6.0.3","@types/jest":"^30.0.0","@types/node":"^25.9.1","@types/crypto-js":"^4.2.2","jest-environment-jsdom":"^30.4.1"},"_npmOperationalInternal":{"tmp":"tmp/storage-core-hrms_1.0.4_1780654462931_0.6774347713461657","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@anshul28/storage-core-hrms","version":"1.0.5","keywords":[],"author":"","license":"ISC","_id":"@anshul28/storage-core-hrms@1.0.5","maintainers":[{"name":"anshul28","email":"anshul.gupta2@xceedance.com"}],"dist":{"shasum":"8b4c17702bed76011d5721cffd75b40f16524c9f","tarball":"https://registry.npmjs.org/@anshul28/storage-core-hrms/-/storage-core-hrms-1.0.5.tgz","fileCount":48,"integrity":"sha512-L6ljbpTpmvjDgIXqkjA0xSlcIRPLtjiqI2L+AAE/M28tXhfjdYH5QRcAoxhdCGPUNeqR9M0ufaFhL4OkkiEzmQ==","signatures":[{"sig":"MEUCIQClJDxVZeptM/m+AUkbpDqT+FqOpqE0PXgS8cif7Tu/9gIgHTClEmAjfukKXkVMtrlSkyR9BAjBkDHkTu8FppkNq2k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141458},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"a83348b1aeec689f31bc6faee5877ad2a6625d0f","scripts":{"dev":"tsup src/index.ts --watch","test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","test:watch":"jest --watch"},"_npmUser":{"name":"anshul28","email":"anshul.gupta2@xceedance.com"},"_npmVersion":"10.8.2","description":"storage-core-hrms","directories":{},"_nodeVersion":"20.20.0","dependencies":{"rxjs":"^7.8.2","crypto-js":"^4.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.2","tsup":"^8.5.1","ts-jest":"^29.4.11","typescript":"^6.0.3","@types/jest":"^30.0.0","@types/node":"^25.9.1","@types/crypto-js":"^4.2.2","jest-environment-jsdom":"^30.4.1"},"_npmOperationalInternal":{"tmp":"tmp/storage-core-hrms_1.0.5_1780655877802_0.41687194149016227","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@anshul28/storage-core-hrms","version":"1.0.6","keywords":[],"author":"","license":"ISC","_id":"@anshul28/storage-core-hrms@1.0.6","maintainers":[{"name":"anshul28","email":"anshul.gupta2@xceedance.com"}],"dist":{"shasum":"4c567fcaef2285d3cc71f39d40db708c4f270029","tarball":"https://registry.npmjs.org/@anshul28/storage-core-hrms/-/storage-core-hrms-1.0.6.tgz","fileCount":48,"integrity":"sha512-haZQOwdUBKRcTQ38zyTfZBGeB563qhuwS76JsphJyVVxq92PZtES/HslHpRewrw2vpKL0v0Zc/t3fBE7cW8stQ==","signatures":[{"sig":"MEUCIQDjsXawPhM98gUbQUXDtnmhZd5PCudMgpu1zbHBkfXI6QIgJhfX135+5PMOwFtbNsOjw30l6Hp+RegYEblyngCcb3w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141482},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"a83348b1aeec689f31bc6faee5877ad2a6625d0f","scripts":{"dev":"tsup src/index.ts --watch","test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","test:watch":"jest --watch"},"_npmUser":{"name":"anshul28","email":"anshul.gupta2@xceedance.com"},"_npmVersion":"10.8.2","description":"storage-core-hrms","directories":{},"_nodeVersion":"20.20.0","dependencies":{"rxjs":"^7.8.2","crypto-js":"^4.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.2","tsup":"^8.5.1","ts-jest":"^29.4.11","typescript":"^6.0.3","@types/jest":"^30.0.0","@types/node":"^25.9.1","@types/crypto-js":"^4.2.2","jest-environment-jsdom":"^30.4.1"},"_npmOperationalInternal":{"tmp":"tmp/storage-core-hrms_1.0.6_1780656154008_0.39043883344932806","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@anshul28/storage-core-hrms","version":"1.0.7","keywords":[],"author":"","license":"ISC","_id":"@anshul28/storage-core-hrms@1.0.7","maintainers":[{"name":"anshul28","email":"anshul.gupta2@xceedance.com"}],"dist":{"shasum":"2d5e3efc4841b247cabc426b45cf926f4600bfa8","tarball":"https://registry.npmjs.org/@anshul28/storage-core-hrms/-/storage-core-hrms-1.0.7.tgz","fileCount":48,"integrity":"sha512-xpxKJjli8mkP2aLArVkiG5O7iLFLKmqpasrLjZIEAzPZChM13uNm3F0niNx1aepb73mEhrYjXiENtjEEsmJRQw==","signatures":[{"sig":"MEQCIGy6Eua0q3zq2jbKutw8ixj6MLEjpZmQoEzht9DixZotAiAVcffEV7UGOiZie3zamXA4HVarZ5xoppp7jSkKcTrV6A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141423},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"a83348b1aeec689f31bc6faee5877ad2a6625d0f","scripts":{"dev":"tsup src/index.ts --watch","test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","test:watch":"jest --watch"},"_npmUser":{"name":"anshul28","email":"anshul.gupta2@xceedance.com"},"_npmVersion":"10.8.2","description":"storage-core-hrms","directories":{},"_nodeVersion":"20.20.0","dependencies":{"rxjs":"^7.8.2","crypto-js":"^4.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.2","tsup":"^8.5.1","ts-jest":"^29.4.11","typescript":"^6.0.3","@types/jest":"^30.0.0","@types/node":"^25.9.1","@types/crypto-js":"^4.2.2","jest-environment-jsdom":"^30.4.1"},"_npmOperationalInternal":{"tmp":"tmp/storage-core-hrms_1.0.7_1780656430403_0.2000979120062465","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@anshul28/storage-core-hrms","version":"1.0.8","keywords":[],"author":"","license":"ISC","_id":"@anshul28/storage-core-hrms@1.0.8","maintainers":[{"name":"anshul28","email":"anshul.gupta2@xceedance.com"}],"dist":{"shasum":"7aa2467865e965bea345b912f367be9101d147b5","tarball":"https://registry.npmjs.org/@anshul28/storage-core-hrms/-/storage-core-hrms-1.0.8.tgz","fileCount":48,"integrity":"sha512-8qmyjkdVnEwgcFdoxWdWHDVxFqWm/MFQopEfiG6Irj9TeRFA8j+CanHdbqsBcQ/IuKWt8RI/2ra89sCw5TJnWg==","signatures":[{"sig":"MEUCIAd9VgM5TNHZLzzxSimq5XBZz8Np5HAvY1qXpffDAdohAiEA2qxD0oG6tU+qcEbR0opF8Y7PkVjoCjeqjmPx8aT/4z4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141247},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"a83348b1aeec689f31bc6faee5877ad2a6625d0f","scripts":{"dev":"tsup src/index.ts --watch","test":"jest","build":"tsup src/index.ts --format cjs,esm --dts","test:watch":"jest --watch"},"_npmUser":{"name":"anshul28","email":"anshul.gupta2@xceedance.com"},"_npmVersion":"10.8.2","description":"storage-core-hrms","directories":{},"_nodeVersion":"20.20.0","dependencies":{"rxjs":"^7.8.2","crypto-js":"^4.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.2","tsup":"^8.5.1","ts-jest":"^29.4.11","typescript":"^6.0.3","@types/jest":"^30.0.0","@types/node":"^25.9.1","@types/crypto-js":"^4.2.2","jest-environment-jsdom":"^30.4.1"},"_npmOperationalInternal":{"tmp":"tmp/storage-core-hrms_1.0.8_1780657577268_0.3020128747013291","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@anshul28/storage-core-hrms","version":"1.0.9","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"tsup src/index.ts --format cjs,esm --dts","dev":"tsup src/index.ts --watch","test":"jest","test:watch":"jest --watch"},"keywords":[],"author":"","license":"ISC","description":"storage-core-hrms","dependencies":{"crypto-js":"^4.2.0","rxjs":"^7.8.2"},"devDependencies":{"@types/crypto-js":"^4.2.2","@types/jest":"^30.0.0","@types/node":"^25.9.1","jest":"^30.4.2","jest-environment-jsdom":"^30.4.1","ts-jest":"^29.4.11","tsup":"^8.5.1","typescript":"^6.0.3"},"publishConfig":{"access":"public"},"_id":"@anshul28/storage-core-hrms@1.0.9","gitHead":"a83348b1aeec689f31bc6faee5877ad2a6625d0f","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-VkKMlMpCbKP0LYN9O48y58J+OVoIeymCJRQpbEIOXhBLqZvi2Eb7mCA2BB1oPYfZwk1SOJPl33jA7+9b4upFpg==","shasum":"f13d3567564b752e262ed49ec0faad71da6f4097","tarball":"https://registry.npmjs.org/@anshul28/storage-core-hrms/-/storage-core-hrms-1.0.9.tgz","fileCount":48,"unpackedSize":141247,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDJE3sAFO5ISiT53bZ1MBoNnjNd6e1YROUalemJ7AtXygIhAM00AZns+QeYRfsRmGBKml/9vwcZJVA6RsFhovYvfNqu"}]},"_npmUser":{"name":"anshul28","email":"anshul.gupta2@xceedance.com"},"directories":{},"maintainers":[{"name":"anshul28","email":"anshul.gupta2@xceedance.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/storage-core-hrms_1.0.9_1780659898950_0.39539791710188954"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-03T13:51:51.961Z","modified":"2026-06-05T11:44:59.211Z","1.0.1":"2026-06-03T13:51:52.264Z","1.0.2":"2026-06-03T15:13:59.020Z","1.0.3":"2026-06-05T07:04:34.307Z","1.0.4":"2026-06-05T10:14:23.107Z","1.0.5":"2026-06-05T10:37:57.961Z","1.0.6":"2026-06-05T10:42:34.191Z","1.0.7":"2026-06-05T10:47:10.565Z","1.0.8":"2026-06-05T11:06:17.432Z","1.0.9":"2026-06-05T11:44:59.094Z"},"license":"ISC","keywords":[],"description":"storage-core-hrms","maintainers":[{"name":"anshul28","email":"anshul.gupta2@xceedance.com"}],"readme":"storage-core-hrms\n\nA type-safe, extensible TypeScript browser storage service designed with an adapter pattern, built-in AES encryption, and RxJS observable support. It defaults to sessionStorage out of the box.FeaturesAdapter Architecture: Easily switch between sessionStorage and localStorage.Built-in AES Encryption: Secure sensitive information using crypto-js.Reactive Events: Listen to storage changes reactively using rxjs observables.Type Safety: Fully typed models, options, and interfaces.Dual Formats: Ships with both CommonJS (.js) and ESM (.mjs) bundles with built-in declaration files (.d.ts).Installationbashnpm install @anshul28/storage-core-hrms\nUse code with caution.Quick Start1. Basic Initialization (Defaults to Session Storage)typescriptimport { StorageService } from '@anshul28/storage-core-hrms';\n\n// Initializes with SessionStorageAdapter by default\nconst storageService = new StorageService();\n\n// Set a value\nstorageService.set('username', 'anshul_dev');\n\n// Get a value\nconst user = storageService.get('username'); // 'anshul_dev'\nUse code with caution.2. Switching to Local Storagetypescriptimport { StorageService, LocalStorageAdapter } from '@anshul28/storage-core-hrms';\n\nconst persistentStorage = new StorageService({\n  adapter: new LocalStorageAdapter()\n});\n\npersistentStorage.set('remember_me', true);\nUse code with caution.3. Using Encrypted StorageLeverage the aes-encryption.service by passing encryption configurations to your storage service options.typescriptimport { StorageService, AesEncryptionService } from '@anshul28/storage-core-hrms';\n\nconst secureStorage = new StorageService({\n  encryption: new AesEncryptionService({ secretKey: 'your-secure-key' })\n});\n\n// Automatically encrypts before saving and decrypts on retrieval\nsecureStorage.set('secureToken', 'secret-jwt-string');\nUse code with caution.4. Listening to Storage Events via Observablestypescript// Subscribe to change streams reactively\nstorageService.watch('username').subscribe((event) => {\n  console.log(`Key ${event.key} changed from ${event.oldValue} to ${event.newValue}`);\n});\nUse code with caution.Directory Architecture ReferenceThe package layout maps directly to clean architecture principles:textsrc/\n├── adapters/          # Storage engines (session, local, custom interfaces)\n├── encryption/        # AES-encryption implementations\n├── models/            # Storage events, items, and option interfaces\n├── observables/       # RxJS reactive stream utilities\n├── services/          # Core StorageService orchestrator\n└── utils/             # Internal helper modules\nUse code with caution.Developmentbash# Start tsup in watch mode\nnpm run dev\n\n# Build production bundles (ESM/CJS)\nnpm run build\nUse code with caution.LicenseISC","readmeFilename":"readme.md"}