{"_id":"@bjnstnkvc/local-storage","_rev":"26-d06eca97342d58866b58b9188672384f","name":"@bjnstnkvc/local-storage","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@bjnstnkvc/local-storage","version":"1.0.0","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.0.0","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"82810b11f8704e5ea424dc7ed4a8b555720b4aa3","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.0.0.tgz","fileCount":7,"integrity":"sha512-A9nGMD/ow/nUeK5SJsUuBMDAOImylG5sobFfy/Cf9FZl0uw0LCXQUYMshp56Eanq9HmiXF44JkSBTnff2j0ZWw==","signatures":[{"sig":"MEQCIFRxNqH+cubB96TqvL8Slbn8MbeZD0ervGfwNt1PgK7hAiB9cpEZ53lv1kzFoY2ofHZzpkGN3UrVOa0CknMY3H+/7g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17799},"main":"lib/main.js","source":"src/main.ts","gitHead":"392c5baf5706c1de2238169d459f4ce3743dd970","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"10.2.4","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"21.3.0","dependencies":{"undici-types":"^5.26.5"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.6"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.0.0_1706727244079_0.6018660559577604","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@bjnstnkvc/local-storage","version":"1.0.1","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.0.1","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"8e7fb98aee09dafcc85dacdb63cb4008788c9782","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.0.1.tgz","fileCount":7,"integrity":"sha512-lQhSE1jtkVccBNYAtRr4+nY1Uvx+0idmowFPpobVdxUaV+1FODOuMY7BnzhXe3dDIMoggSsSfXu9aQglP2zyBA==","signatures":[{"sig":"MEUCIAs/RWTwLaIkn+JAWOMMsPBoeBkXEkr9akUZ8nnTrvVJAiEA9NdEHOozGr8phIwFcd6dSMo9X/MZMBnjcpjALMwUGH8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17952},"main":"lib/main.js","source":"src/main.ts","gitHead":"76f6bf0d81ec9cb9a4ae76196662a8cf42f9ab75","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"10.2.4","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"21.3.0","dependencies":{"undici-types":"^5.26.5"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.6"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.0.1_1706729484375_0.318412899720224","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@bjnstnkvc/local-storage","version":"1.0.2","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.0.2","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"a1da5a1575f8fae95070085cd0489740b375d8d6","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.0.2.tgz","fileCount":7,"integrity":"sha512-S/r+QQSqd3pairlNQ8Ss+eL0qX0hyvFzMfHWjmE/YRM7gUdJg2Jv+VbFEi9OPwAWYv/X/Nk8c/2tgHgMkdW+Ew==","signatures":[{"sig":"MEUCICTlJ6cJA6A0cjk0e89FGYF9kR23d8joBoMiu3S3jzp8AiEAlk4NmA0nBLxANcEY0PxWDOsZfQ6Gz7Seg8zqmbJsHhw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17925},"main":"lib/main.js","source":"src/main.ts","gitHead":"b7e30812c855b9b66a448df2d72a2d27492941a4","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"10.2.4","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"21.3.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.6","undici-types":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.0.2_1706913414783_0.6063586088570458","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@bjnstnkvc/local-storage","version":"1.0.3","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.0.3","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"c9a86cb7b6e8306a77e0daf3625f583e6eeacad0","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.0.3.tgz","fileCount":7,"integrity":"sha512-yCBFS5UvodhIGYs2jzEShHUKVG7gcoK6+qT+sFKxCg7XlghM49OTK+1wmT0/ZvJ6V4iK6DQUqn8VxzD8BwKXXA==","signatures":[{"sig":"MEQCIGtcNk2FGwy2jq9QCoY0vat2qKBo05kV6ECaE6MkKKlCAiAXtCHw7yCh7mkZT7drEbmMuGQk9NE9zynFY7wRaQqCYw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20049},"main":"lib/main.js","source":"src/main.ts","gitHead":"fa41689d751942adfbe69fe5f546ba1fa7d68189","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"10.2.4","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"21.3.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.6","undici-types":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.0.3_1707166313425_0.9818198334372539","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@bjnstnkvc/local-storage","version":"1.0.4","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.0.4","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"60445d6ba63f68b35e35da5486b3df2947c0caf5","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.0.4.tgz","fileCount":7,"integrity":"sha512-YtOSMh59rCZU4weiZfvGibBxCZsExwZnuaIHXS0in7lkAqPfP6akfXiPcMkMrID8L9EYt7qhqVeV+omJEB0xaA==","signatures":[{"sig":"MEUCIQCoNB7LrEMy27x/bq815OWhQAux9vv6cJEY1T+IEdYXrQIgI/W/+w4HINBwti+8pJRjp/SODiNGx4nDKSd6/U62I0g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20984},"main":"lib/main.js","source":"src/main.ts","gitHead":"0b99e428357354b0f6c401c21f5ac1cc80d48320","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"10.2.4","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"21.3.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.6","undici-types":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.0.4_1707244593868_0.7078907335607894","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@bjnstnkvc/local-storage","version":"1.0.5","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.0.5","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"5626e5af6c24e661cf064bcc87706e8d5471203d","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.0.5.tgz","fileCount":8,"integrity":"sha512-bylwy94L/CrF2af6OoBaGqt7cgM6ZOC3/FzmsdZPHpBafNzEL81lFdVPCeTzTIaXWyJSd5FEhKEdS4iVc0/uHQ==","signatures":[{"sig":"MEUCIQDoPkLFuYzaiLhR0ALutoypLE6Va+LXUhcyx4mdGQFWwAIgYO4Npl39fh7oYqWDY5nD7oAYuFfGBqvQhucxRkXhmQg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21975},"main":"lib/main.js","source":"src/main.ts","gitHead":"c2ad9bd92c284f14dc3f63c8620b462de1c39dfe","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","minify":"tsc && uglifyjs lib/main.js -c -m -o lib/main.min.js"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"10.2.4","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"21.3.0","_hasShrinkwrap":false,"devDependencies":{"uglify-js":"^3.19.2","typescript":"^5.3.3","@types/node":"^20.11.6","undici-types":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.0.5_1723375767242_0.3996800946872756","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@bjnstnkvc/local-storage","version":"1.0.6","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.0.6","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"22377c258e4cb7ef5bfe42d14f7d78eb60ead633","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.0.6.tgz","fileCount":8,"integrity":"sha512-uWnhDa4DN443uVbSqOMu9891AqBM/11gkt90MXjD5bVb2VI8E4rC5r3m5BgJPQfCFMWbqyAjrkMWPeMkJJfC6Q==","signatures":[{"sig":"MEUCIH9zJLCXGOjwUNQO1i6RMMjw7hC0xifJ+S94s72HSSTLAiEAwAEYEXedBQVFVseAIUTSCVJozLrAoMUWz6250nOIzOA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22005},"main":"lib/main.js","source":"src/main.ts","gitHead":"162a9eab957223e1f283bc322253dc43d8fcaf70","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","minify":"tsc && uglifyjs lib/main.js -c -m -o lib/main.min.js"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"10.2.4","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"21.3.0","_hasShrinkwrap":false,"devDependencies":{"uglify-js":"^3.19.2","typescript":"^5.3.3","@types/node":"^20.11.6","undici-types":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.0.6_1723376642370_0.28731537023670684","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@bjnstnkvc/local-storage","version":"1.0.7","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.0.7","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"760bd0af4cd2d23e1e03cace0553bba67b59d139","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.0.7.tgz","fileCount":8,"integrity":"sha512-6d4WD5JzVJVkR37aAMZyUVHKgAhOX8XIQVgdG8zeMy9arVnGbLbMtaLXaGLdcVWeQiEYE/qpgPPCstyB4Efu9w==","signatures":[{"sig":"MEQCIGhJaBN0U569UWicnKJY7Vx+L/mixmte0sQjHuvGubdwAiA8qRoUstqcsgcKGrFhAMo5uIFQj8gODz5BofJ069yo+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21997},"main":"lib/main.js","source":"src/main.ts","gitHead":"2f2424a21bef5e923749612dacb6b044f36f1bc9","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","minify":"tsc && uglifyjs lib/main.js -c -m -o lib/main.min.js"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"10.2.4","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"21.3.0","_hasShrinkwrap":false,"devDependencies":{"uglify-js":"^3.19.2","typescript":"^5.3.3","@types/node":"^20.11.6","undici-types":"^6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.0.7_1723376935500_0.26331588655884985","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@bjnstnkvc/local-storage","version":"1.0.8","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.0.8","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"8c68f7215c774b8d2b997adc27064a62e7823ac8","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.0.8.tgz","fileCount":10,"integrity":"sha512-gKnung8/TtmVdcCMkWj0wC8uNgYQo+/UC16gWANhQxbQEJX2IiWG4Pz+WW+HcOD79V2I51aybp+Uf1+nXDf3zQ==","signatures":[{"sig":"MEUCIGr0XY2i2nRxaeBgCyPKtvILOZUukBocW/DBFQndp1iUAiEA8HwWsQXyN4+IhMcfnmHFkBcDlYbWu9CI7Rs9kQaaV8Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41768},"main":"lib/main.js","source":"src/main.ts","gitHead":"b539c5be6f78febc4baa2dc4e8c455172b36c93e","scripts":{"test":"jest --config jestconfig.json ./tests","build":"tsc","minify":"tsc && uglifyjs lib/main.js -c -m -o lib/main.min.js"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"10.2.4","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"21.3.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.4","uglify-js":"^3.19.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.19","undici-types":"^6.6.0","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.0.8_1724019235655_0.30383889926373797","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@bjnstnkvc/local-storage","version":"1.0.9","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.0.9","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"ebc0616d179f7cb2bf197e8d09d6aca51f67798d","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.0.9.tgz","fileCount":10,"integrity":"sha512-sziwULbUKnX/ssGPDGy9PM1+xOQ93J5hldYPa311GdulaNMzaHEk5EkLbxmWpBcASsKqA5PSPb3za2fku5kJAA==","signatures":[{"sig":"MEQCIDneemNyOaAh8PPGonoP8QqLMA9Jv8dVPD9l2NyDDF/+AiAnhduoKttz3isI9jmgB5wXep3fyzovVOML/3JpFeWRaw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41989},"main":"lib/main.js","source":"src/main.ts","gitHead":"0c000b9d4971c4e14a9e34e8bb1f5355b851fe63","scripts":{"test":"jest --config jestconfig.json ./tests","build":"tsc","minify":"tsc && uglifyjs lib/main.js -c -m -o lib/main.min.js"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"10.2.4","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"21.3.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.4","uglify-js":"^3.19.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.19","undici-types":"^6.6.0","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.0.9_1724095974137_0.09344316567011379","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@bjnstnkvc/local-storage","version":"1.1.0","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.1.0","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"b2eaab5d961475063d355c851628a358b04203ea","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.1.0.tgz","fileCount":10,"integrity":"sha512-gCYueADiPzqrwGOTEUtF7gg8iGIkcnJ9oYmtPXA+21DWFfyrbnHS4l61KWurH7fcbW7Rw5S7fYZiGJGiugVilg==","signatures":[{"sig":"MEUCIA4qfzpVRAjmWlWSWsn48hiG/joXbgrsVlu3Do9k1mD7AiEA7Iu+U644zwmeClYBcxQ3H1Q9SmbBazH0hiSxk/OSj8c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46388},"main":"lib/main.js","source":"src/main.ts","gitHead":"5b94758e52320ba575616475f77bb50f8f28cdba","scripts":{"test":"jest --config jestconfig.json ./tests","build":"tsc","minify":"tsc && uglifyjs lib/main.js -c -m -o lib/main.min.js"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"10.2.4","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"21.3.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.4","uglify-js":"^3.19.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.19","undici-types":"^6.6.0","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.1.0_1724268353974_0.425302884952679","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@bjnstnkvc/local-storage","version":"1.1.1","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.1.1","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"aa5f62570eaad5b124b99f78fd2673f3ac3b6ffc","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.1.1.tgz","fileCount":10,"integrity":"sha512-XlLMmDPnv5n+uDGjJeir8PsuL0L/HjNCafSxohdOmqc5P8gyOmUph3o5QOrR8+rLDRFL/4fGMP/HGi6dAVV0lw==","signatures":[{"sig":"MEQCIHS1NPGHsMRlvQ8qG6Mo6wKubHfJ02CE9LjxvARsN5/2AiA85+jqMhn79bJX/IZc/CAVEeul4iQ6Q+PYv2J1NvpH6g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46951},"main":"lib/main.js","source":"src/main.ts","gitHead":"6a6b2241336a4da09959d485bcadc77a49a717b0","scripts":{"test":"jest --config jestconfig.json ./tests","build":"tsc","minify":"tsc && uglifyjs lib/main.js -c -m -o lib/main.min.js"},"_npmUser":{"name":"bjnstnkvc","actor":{"name":"bjnstnkvc","type":"user","email":"dev.bojan.stankovic@gmail.com"},"email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.3.0","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.4","uglify-js":"^3.19.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.19","undici-types":"^6.6.0","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.1.1_1750454121843_0.3049003519152469","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@bjnstnkvc/local-storage","version":"1.1.2","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.1.2","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"5d3ef3dbd689c1d212e4f4b26a5548344a504178","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.1.2.tgz","fileCount":10,"integrity":"sha512-ol2+UF6SxgTOs35PWdGGDKsG/GPicl2C1FAciPQsQ79BFZRJXxU8wEW6m9oF1Nfbo+Ka2uuoi7dC/vMP82yj+g==","signatures":[{"sig":"MEUCIQCYI1HJHyUFFsrgcFlLmC9EG1UUDCEItZ8aITHKHkBPjgIgOWHueNMU3dMb+5GeDagVBFsB6j/UxurWJb2kbAsWoTs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48089},"main":"lib/main.js","types":"src/types.d.ts","source":"src/main.ts","gitHead":"e80d4fe7c4d990a854308469f5428c3203d4cb3d","scripts":{"test":"jest --config jestconfig.json ./tests","build":"tsc","minify":"tsc && uglifyjs lib/main.js -c -m -o lib/main.min.js"},"_npmUser":{"name":"bjnstnkvc","actor":{"name":"bjnstnkvc","type":"user","email":"dev.bojan.stankovic@gmail.com"},"email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","uglify-js":"^3.19.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/node":"^20.19.1","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.1.2_1750972155159_0.18154705909112256","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@bjnstnkvc/local-storage","version":"1.1.3","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.1.3","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"b998c5a15f2049109ac52dd7c9bbb5aeb7abd124","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.1.3.tgz","fileCount":11,"integrity":"sha512-3aMNwZmnkgZG5jZMS28f5hfMzOBHD1KSjHxk4EhIxkEouuZzLsCLibBf/rUbbsDes4cEhT2OKAlFnQnB9jULQQ==","signatures":[{"sig":"MEUCIC6NnX82qsGujZ15BtpGmDRH1uQ94P9yGyKGXuF05/EeAiEAmXyxdIrimDsbe2hhL4XIt59/3G69oMwJqGrqVeESVyM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49045},"main":"lib/main.js","types":"src/types.d.ts","source":"src/main.ts","gitHead":"17c054ad4fe19246f49f1ee574430515fb4837d9","scripts":{"test":"jest --config jestconfig.json ./tests","build":"tsc","minify":"tsc && uglifyjs lib/main.js -c -m -o lib/main.min.js"},"_npmUser":{"name":"bjnstnkvc","actor":{"name":"bjnstnkvc","type":"user","email":"dev.bojan.stankovic@gmail.com"},"email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","uglify-js":"^3.19.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/node":"^20.19.1","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.1.3_1751141020806_0.18293129443852285","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@bjnstnkvc/local-storage","version":"1.1.4","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.1.4","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"05cc5a7358ed6d1fa13d120a1062f3b228e8da02","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.1.4.tgz","fileCount":9,"integrity":"sha512-Lz+ozZfW+iJAUa5pMygzNZimUgpjpmMO/aGLWnSpCBWesTCr8ZLCKD7GLAxBW7wWE0iVqLjk1n5xQ3K/emdxZg==","signatures":[{"sig":"MEQCIFs1NE6EczDn1iccwH8o7V37uw/Xd6o1nClMuJI3gcBAAiA+MsPb1m9+5/DJScqlQ63QCsaZifR88nySCDduEtiNZg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56869},"main":"lib/main.umd.js","type":"module","module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"eefcb97025c93ff6e527b791dc0ebd11c0506e8b","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c"},"_npmUser":{"name":"bjnstnkvc","actor":{"name":"bjnstnkvc","type":"user","email":"dev.bojan.stankovic@gmail.com"},"email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.44.1","terser":"^5.43.1","ts-jest":"^29.4.0","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/node":"^20.19.1","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^28.0.6","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.1.4_1751146967945_0.6077295759816002","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@bjnstnkvc/local-storage","version":"1.1.5","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.1.5","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"172471fef77f9e11f8a69f6b0724d98df5bc600d","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.1.5.tgz","fileCount":14,"integrity":"sha512-j1Jf7Y47BMkfLJjHRHFMDfuBFnXzchiHGP+/oZCn3E6dPoMtKArHf7vEHEZHEeZgUe65VOofSqBV+D6TS6ObEA==","signatures":[{"sig":"MEUCIQDldSI2SZGrvsiBhdkFEnMnlbi7UXSMMb8Uw9NOFUJXzwIgFcnvOPE9rg5aj2O6eXDVxUPvHqYADFmuNmEhDFpjJa4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":84848},"main":"lib/main.js","type":"module","types":"src/main.ts","module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"49bab488a06ae5c64127992abda4418ddf2cc5f4","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c"},"_npmUser":{"name":"bjnstnkvc","actor":{"name":"bjnstnkvc","type":"user","email":"dev.bojan.stankovic@gmail.com"},"email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.44.1","terser":"^5.43.1","ts-jest":"^29.4.0","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/node":"^20.19.1","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^28.0.6","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.1.5_1751149146035_0.7115434789927926","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"@bjnstnkvc/local-storage","version":"1.1.6","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.1.6","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"17193447ddee8329f491673119ad1803e3cb0d71","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.1.6.tgz","fileCount":14,"integrity":"sha512-TxuGmYlT3DVUMlzwhc3gKZ9PFzQICZHuo3EV7AdhUyFT8wDiCE91b0L+XgtDNB8kxbvMKkBZIKhAq3rV+04b9Q==","signatures":[{"sig":"MEUCIQD7v6gBYo9UU73CKa+fmN3vCPxuMBJUS7NR2QdwjKMz5gIgV8Edj206WeUr4gCmbB5+5/zfx47DReEeO5rSQExPYsQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89670},"main":"lib/main.js","type":"module","types":"src/main.ts","module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"d831991316a5a60f73d8828cfbb7739303e7b281","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c"},"_npmUser":{"name":"bjnstnkvc","actor":{"name":"bjnstnkvc","type":"user","email":"dev.bojan.stankovic@gmail.com"},"email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.4.2","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.44.1","terser":"^5.43.1","ts-jest":"^29.4.0","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/node":"^20.19.1","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^28.0.6","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.1.6_1751208059068_0.8373012335380254","host":"s3://npm-registry-packages-npm-production"}},"1.1.7":{"name":"@bjnstnkvc/local-storage","version":"1.1.7","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.1.7","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"010fa0b4c0da69120803eec23fd5d56818a920c4","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.1.7.tgz","fileCount":14,"integrity":"sha512-BVBZwlOFaolrhfRuhi3DQAXaaSvLGUfXds1EuXlLdFGNKPM7wV+m/vZfcniSXfpwAVnCkco94jnBPqyO1nHfYQ==","signatures":[{"sig":"MEUCIDzRjouqRZTYZ8ZzG15XIWt3WrTCdWS44h77NrLJji8+AiEAnJBjcSyG4+EwuZ3mUE3MZXt7sKVWcOsLNFu28eYCXUY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90025},"main":"lib/main.js","type":"module","types":"src/main.ts","module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"4df7d46a3e0075d68f0fcd0fe6268d5c2e38d895","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.5.2","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.44.1","terser":"^5.43.1","ts-jest":"^29.4.0","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/node":"^20.19.1","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^28.0.6","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.1.7_1756135973096_0.6753131886929937","host":"s3://npm-registry-packages-npm-production"}},"1.1.8":{"name":"@bjnstnkvc/local-storage","version":"1.1.8","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.1.8","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"eab6d7609bc17aa02cd6c4338afc29204c1daa65","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.1.8.tgz","fileCount":14,"integrity":"sha512-RqBYcyzi4diweRIS3ecLCs6iWjiqskKSJEU1oIyqha5fasv98+ENUXjKFOpp2uW2a3IA3GIqGp8N2l0HxtJr0g==","signatures":[{"sig":"MEQCIFkJHu4oLU+P49s+dcMhlUg4tbVXuGO6L8cdtTapNGWoAiAS1iCTT/Ulty3INpUvtg+QtN3oWrLIMcIvZhUpt4071Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112426},"main":"lib/main.js","type":"module","types":"src/main.ts","module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"50252852f2c40c5095972c3db3aef8003097859d","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.6.0","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.52.0","terser":"^5.44.0","ts-jest":"^29.4.4","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^20.19.17","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^28.0.6","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.1.8_1762987621327_0.06456208875243963","host":"s3://npm-registry-packages-npm-production"}},"1.1.9":{"name":"@bjnstnkvc/local-storage","version":"1.1.9","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.1.9","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"19e41409badf64adc3b7a7ae78aa3cbd8f4f5d22","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.1.9.tgz","fileCount":40,"integrity":"sha512-xEBuyqXLJmYxt41a0GHTAavM573FR6aYi7vOpv47BLEkFfmUC2CIHDlHu3OD8XL0FEd548wxOpJXSAiR70rOzA==","signatures":[{"sig":"MEQCIHxXkvUd1f1gxF0gSKpuTPIzO9Vy/QFRlv47/3OBIz2fAiAfUjbZzwuzi73D63ajFlAMCTGCFD01XKe3HJpIdU13EQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":285429},"main":"lib/main.js","type":"module","types":"src/main.ts","module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"dd7ed8fcc0f7f025f2dcbb59f5649639bf4a5677","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.7.0","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.52.0","terser":"^5.44.0","ts-jest":"^29.4.4","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^20.19.17","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^28.0.6","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.1.9_1766071269326_0.3747853187809924","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@bjnstnkvc/local-storage","version":"1.2.0","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.2.0","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"3f0f7ab6f860b8baf9a57b596001f3fb5f3641d2","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.2.0.tgz","fileCount":40,"integrity":"sha512-DNrxpvesO8J6BCjd0Yghux1kilTGDq2U/pFklLNrI+dPq98QzSgXKVlyW3vc/I3MjWl41YBK6E+ukeewOf90BA==","signatures":[{"sig":"MEYCIQCT8cY/kGjDDwUi+S1rFpExt9dj+dXSH0wYqQGngYLqyAIhALaqVQsMRSChs5oTlolR3Rf0p+aqADYulSNns5RxiLFf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":285401},"main":"lib/main.js","type":"module","types":"src/main.ts","module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"5b40f42641b68a36b34c98999228d166bbf85117","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.7.0","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.52.0","terser":"^5.44.0","ts-jest":"^29.4.4","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^20.19.17","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^28.0.6","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.2.0_1774865084404_0.6089317804369729","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@bjnstnkvc/local-storage","version":"1.2.1","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.2.1","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"4c323fbea2b9516cfe89a5c967d88f53300caf2a","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.2.1.tgz","fileCount":40,"integrity":"sha512-lIYNGFhUfP/I+BsjL41BriZ/Sv1t1v+7TxsEpG6ILnMBrEugEiQw3gkyJaRahM5L6nE9DDDhkEXscUF3pB2cpA==","signatures":[{"sig":"MEYCIQDHIPCT24HTKdJKazOecSHwW/uhuKrrtTTAfR8yg6n/awIhAJM+pfAr/1gZWdHX/L9EG6QGDiPOzIUldSgXUKBD30eM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":285473},"main":"lib/main.js","type":"module","types":"src/main.ts","module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"2192a2266d7177b45d663092a4cf55ba2a61289f","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.7.0","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.60.1","terser":"^5.46.1","ts-jest":"^29.4.6","typescript":"^5.9.3","@types/jest":"^29.5.14","@types/node":"^20.19.37","@rollup/plugin-terser":"^1.0.0","jest-environment-jsdom":"^30.3.0","@rollup/plugin-commonjs":"^28.0.9","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.2.1_1774865967331_0.8434589967188455","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@bjnstnkvc/local-storage","version":"1.2.2","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.2.2","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"fa958e017bd67c61bace300eb93337d43673535b","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.2.2.tgz","fileCount":40,"integrity":"sha512-ftX03jp96GV6hqHS3GV2c8iTMp0hv+RzRxb4zyPhWS/wsnvDhXxB/A27JXE8U09N1mnrLb+m4tw6uvggaGK31w==","signatures":[{"sig":"MEUCIG8Jtbnb5W5MZeqcjDJYJWZPM1ks7OnyqhNW1rcVkQ8JAiEA6CQMPYPk6/b92Wd0cs/RGA9YGh1cPRi0r1YMBp+Fcno=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":283533},"main":"lib/main.js","type":"module","types":"src/main.ts","module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"ce82a554ab39e41511d79f7ab261dff5cfba874b","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.7.0","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.60.1","terser":"^5.46.1","ts-jest":"^29.4.6","typescript":"^5.9.3","@types/jest":"^29.5.14","@types/node":"^20.19.37","@rollup/plugin-terser":"^1.0.0","jest-environment-jsdom":"^30.3.0","@rollup/plugin-commonjs":"^28.0.9","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.2.2_1774878185456_0.2455996846019104","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@bjnstnkvc/local-storage","version":"1.2.3","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.2.3","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"3919edef0dc065b91ecb6d1b63513fa44909fe97","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.2.3.tgz","fileCount":41,"integrity":"sha512-nQqxXzSIqJtQ2iwm4YACYgjOlpZlnZViQ77sPgGTyOi19exSouQaFmtDP0jI3A4d73LpLiCLDv2UFVNl/DHvtA==","signatures":[{"sig":"MEUCIHMnWrDP69XNkhQrbt7nbR6pqx91VWDqSuFoyDLeSK0BAiEAqQ5WlY8DLgxXCOCHI5kLc4yf5REgteC9O1D7yWZt5uw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDFq4YYpDw+OXCZt+SFaua/Ty0aidM46xfhtrhG9kZ2LAIgSClIsNBKAP9kn08AaEmEoH4UXy0qfl64cz1vT4uAsM0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":284444},"main":"lib/main.js","type":"module","types":"src/main.ts","module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"types":"./src/main.ts","import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"9e101558297cf2692b9718077fcb85329376edb8","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c","coverage":"jest --config jestconfig.json --coverage ./tests","typecheck":"tsc --noEmit"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.7.0","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.60.1","terser":"^5.46.1","ts-jest":"^29.4.6","typescript":"^5.9.3","@types/jest":"^29.5.14","@types/node":"^20.19.37","@rollup/plugin-terser":"^1.0.0","jest-environment-jsdom":"^30.3.0","@rollup/plugin-commonjs":"^28.0.9","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.2.3_1789676508503_0.05293037929368016","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@bjnstnkvc/local-storage","version":"1.2.4","keywords":["storage"],"author":{"name":"Bojan Stankovic"},"license":"MIT","_id":"@bjnstnkvc/local-storage@1.2.4","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"491408976c3164004255a43d69e6e66afef360d6","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.2.4.tgz","fileCount":41,"integrity":"sha512-XZGxMo9nhXlZ+A+COGOFMK70suhLtFWgJgaYuoxas8lETiAyp35I6C6VyzCVCd3B2lMrcc8S4bfiX15g2YK0YA==","signatures":[{"sig":"MEUCIHlqCF3OSFNtIjJ2G1tHNbL7cJE/iGuANY00WpqpA0cfAiEAiO6sufi8mDVRDn0VlMLtcOLtTCWqQ107zQQcR55cg1Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGr7mZFnvhY2XsKQL77S1q8Th3wPUdKIi3zcno8u3I87AiEAp6n+1rxfPXwiZxmJujrVjD1fdrygDGKwj948JX6e+mU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":281611},"main":"lib/main.js","type":"module","types":"src/main.ts","module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"types":"./src/main.ts","import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"b81d7479d3309e4823b0b618c56d154dcaa08abb","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c","coverage":"jest --config jestconfig.json --coverage ./tests","typecheck":"tsc --noEmit"},"_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.7.0","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.60.1","terser":"^5.46.1","ts-jest":"^29.4.6","typescript":"^5.9.3","@types/jest":"^29.5.14","@types/node":"^20.19.37","@rollup/plugin-terser":"^1.0.0","jest-environment-jsdom":"^30.3.0","@rollup/plugin-commonjs":"^28.0.9","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/local-storage_1.2.4_1789722109167_0.5073314460002656","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"_id":"@bjnstnkvc/local-storage@1.3.0","bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"dist":{"shasum":"2cc1d6704e20f5d06c9f405c4cfc2a915ca5c0ac","tarball":"https://registry.npmjs.org/@bjnstnkvc/local-storage/-/local-storage-1.3.0.tgz","fileCount":41,"integrity":"sha512-Q1/drdp9fReZ6B0cKh4iS0wG5muQ8b4feblrQ2bJHzShnogieEp+pArx1gCCgAVm5gyGWfjPPa2vf14r+XD96g==","signatures":[{"sig":"MEQCIDvD5dWxf1f1Pwds/ZW512HXKUpYvnWmtovArZ1Ck+/KAiA/BIE57aBvwxctnbhBbIGBSvWa17kS0pfOXjesQWCDLA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDdD1MxvwoSLpJhZxbfP0zTSLMkCPZv6M5BzsRcxoy78AiEA6jDetu4f/Z9t2vVrprCatA+39suiepEhz6z+WhgVbb0="}],"unpackedSize":305181},"main":"lib/main.js","name":"@bjnstnkvc/local-storage","type":"module","types":"src/main.ts","author":{"name":"Bojan Stankovic"},"module":"lib/main.esm.js","source":"src/main.ts","exports":{".":{"types":"./src/main.ts","import":"./lib/main.esm.js","default":"./lib/main.umd.js","require":"./lib/main.umd.js"}},"gitHead":"fa9c73e855b8a1f78e4133c413bf9eeea77a4599","license":"MIT","scripts":{"test":"jest --config jestconfig.json ./tests","build":"rollup -c","coverage":"jest --config jestconfig.json --coverage ./tests","typecheck":"tsc --noEmit"},"version":"1.3.0","_npmUser":{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"},"homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","keywords":["storage"],"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"_npmVersion":"11.7.0","description":"Simple wrapper for JavaScript Local Storage API.","directories":{"lib":"lib"},"maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.60.1","terser":"^5.46.1","ts-jest":"^29.4.6","typescript":"^5.9.3","@types/jest":"^29.5.14","@types/node":"^20.19.37","@rollup/plugin-terser":"^1.0.0","jest-environment-jsdom":"^30.3.0","@rollup/plugin-commonjs":"^28.0.9","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/local-storage_1.3.0_1789736542194_0.46200474099249145"}}},"time":{"created":"2024-01-31T18:54:03.956Z","modified":"2026-09-18T13:02:22.441Z","1.0.0":"2024-01-31T18:54:04.253Z","1.0.1":"2024-01-31T19:31:24.545Z","1.0.2":"2024-02-02T22:36:54.957Z","1.0.3":"2024-02-05T20:51:53.586Z","1.0.4":"2024-02-06T18:36:34.015Z","1.0.5":"2024-08-11T11:29:27.421Z","1.0.6":"2024-08-11T11:44:02.521Z","1.0.7":"2024-08-11T11:48:55.688Z","1.0.8":"2024-08-18T22:13:55.824Z","1.0.9":"2024-08-19T19:32:54.317Z","1.1.0":"2024-08-21T19:25:54.167Z","1.1.1":"2025-06-20T21:15:22.019Z","1.1.2":"2025-06-26T21:09:15.323Z","1.1.3":"2025-06-28T20:03:40.989Z","1.1.4":"2025-06-28T21:42:48.131Z","1.1.5":"2025-06-28T22:19:06.249Z","1.1.6":"2025-06-29T14:40:59.307Z","1.1.7":"2025-08-25T15:32:53.297Z","1.1.8":"2025-11-12T22:47:01.508Z","1.1.9":"2025-12-18T15:21:09.464Z","1.2.0":"2026-03-30T10:04:44.594Z","1.2.1":"2026-03-30T10:19:27.488Z","1.2.2":"2026-03-30T13:43:05.617Z","1.2.3":"2026-09-17T20:21:48.609Z","1.2.4":"2026-09-18T09:01:49.268Z","1.3.0":"2026-09-18T13:02:22.274Z"},"bugs":{"url":"https://github.com/BJNSTNKVC/js-local-storage/issues"},"author":{"name":"Bojan Stankovic"},"license":"MIT","homepage":"https://github.com/BJNSTNKVC/js-local-storage#readme","keywords":["storage"],"repository":{"url":"git+https://github.com/BJNSTNKVC/js-local-storage.git","type":"git"},"description":"Simple wrapper for JavaScript Local Storage API.","maintainers":[{"name":"bjnstnkvc","email":"dev.bojan.stankovic@gmail.com"}],"readme":"# LocalStorage\r\n\r\nA class that provides a set of methods for interacting with the browser's local storage.\r\n\r\n## Installation & setup\r\n\r\n### NPM\r\n\r\nYou can install the package via npm:\r\n\r\n```bash\r\nnpm install @bjnstnkvc/local-storage\r\n````\r\n\r\nand then import it into your project\r\n\r\n```javascript\r\nimport { LocalStorage } from '@bjnstnkvc/local-storage';\r\n```\r\n\r\n### CDN\r\n\r\nYou can install the package via jsDelivr CDN:\r\n\r\n```html\r\n\r\n<script src=\"https://cdn.jsdelivr.net/npm/@bjnstnkvc/local-storage/lib/main.min.js\"></script>\r\n```\r\n\r\n## Usage\r\n\r\n### set\r\n\r\nSet the value for a given key in the Local Storage.\r\n\r\n#### Parameters\r\n\r\n- **key** - String containing the name of the key.\r\n- **value** - The value to be stored. Can also be a function, a Promise or an async function (see below).\r\n- **ttl** *(optional)* - Time to live in seconds for the key. Defaults to `null` (no expiration) or equal\r\n  to [LocalStorage.ttl](#ttl) value.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.set('key', 'value', 60); \r\n```\r\n\r\nYou can also pass a closure as the value. The closure will be executed and its result stored:\r\n\r\n```javascript\r\nLocalStorage.set('key', () => 'value');\r\n```\r\n\r\nIn case the closure is async (or you pass a Promise directly), the key is stored once the Promise resolves and `set`\r\nreturns a Promise resolving to `true` or `false`:\r\n\r\n```javascript\r\nawait LocalStorage.set('user', async () => {\r\n    const response = await fetch('/api/user');\r\n\r\n    return response.json();\r\n}, 60);\r\n```\r\n\r\n> **Note:** The TTL of an async value is counted from the moment the Promise resolves. If the Promise rejects, nothing\r\n> is stored and the returned Promise rejects with the same error.\r\n\r\n### get\r\n\r\nRetrieve the value associated with the given key from the Local Storage.\r\n\r\n#### Parameters\r\n\r\n- **key** - String containing the name of the key.\r\n- **fallback** *(optional)* - The fallback value in case the key does not exist. Defaults to `null`.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.get('key', 'default');\r\n````\r\n\r\nYou can also pass a closure as the default value. If the specified item is not found in the Local Storage, the closure\r\nwill be executed and its result returned.\r\nThis allows you to lazily load default values from other sources:\r\n\r\n```javascript\r\nLocalStorage.get('key', () => 'default');\r\n````\r\n\r\nThe closure can also be async. In case the key does not exist, `get` returns a Promise resolving to the result of the\r\nclosure. Since `await` works on plain values too, awaiting the call is safe whether the key exists or not:\r\n\r\n```javascript\r\nconst user = await LocalStorage.get('user', async () => {\r\n    const response = await fetch('/api/user');\r\n\r\n    return response.json();\r\n});\r\n```\r\n\r\n> **Note:** The result of the fallback closure is not stored in the Local Storage. Use [remember](#remember) if you\r\n> would like to store it.\r\n\r\n> **Note:** When you attempt to retrieve a value using the `get` method, it checks if the item has expired based on its\r\n> TTL (Time-To-Live). If the item has indeed expired, it is automatically removed from the LocalStorage, ensuring that\r\n> your application only works with valid, up-to-date data.\r\n\r\n### remember\r\n\r\nRetrieve the value associated with the given key, or execute the given callback and store the result in the Local\r\nStorage.\r\n\r\n#### Parameters\r\n\r\n- **key** - String containing the name of the key.\r\n- **callback** - Function you want to execute. Can also be an async function.\r\n- **ttl** *(optional)* - Time to live in seconds for the key. Defaults to `null` (no expiration) or equal\r\n  to [LocalStorage.ttl](#ttl) value.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.remember('key', () => 'default', 60);\r\n````\r\n\r\nIn case the callback is async and the key does not exist, `remember` returns a Promise resolving to the stored value.\r\nIf the key already exists, its value is returned right away without executing the callback, so awaiting the call works\r\nin both cases:\r\n\r\n```javascript\r\nconst user = await LocalStorage.remember('user', async () => {\r\n    const response = await fetch('/api/user');\r\n\r\n    return response.json();\r\n}, 60);\r\n```\r\n\r\n> **Note:** If the async callback rejects, nothing is stored and the returned Promise rejects with the same error. If\r\n> the result cannot be stored (e.g. the storage quota is exceeded), the Promise resolves to `null`.\r\n\r\n### all\r\n\r\nRetrieve an array containing all keys and their associated values stored in the Local Storage.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.all();\r\n```\r\n\r\n> **Note:** The `all` method returns an array of objects with `key` and `value` properties (e.g.\r\n`[{ key: 'key', value: 'value' }]`)\r\n\r\n### remove\r\n\r\nRemove the key and its associated value from the Local Storage.\r\n\r\n#### Parameters\r\n\r\n- **key** - String containing the name of the key to be deleted.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.remove('key');\r\n```\r\n\r\n### clear\r\n\r\nClear all keys and their associated values from the Local Storage.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.clear();\r\n```\r\n\r\n### has\r\n\r\nCheck if a key exists in the Local Storage.\r\n\r\n#### Parameters\r\n\r\n- **key** - String containing the name of the key to be checked.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.has('key');\r\n```\r\n\r\n### missing\r\n\r\nCheck if a key does not exist in the Local Storage.\r\n\r\n#### Parameters\r\n\r\n- **key** - String containing the name of the key to be checked.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.missing('key');\r\n```\r\n\r\n### hasAny\r\n\r\nCheck if any of the provided keys exist in the Local Storage.\r\n\r\n#### Parameters\r\n\r\n- **keys** - String or an array of strings containing the names of the keys to be checked.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.hasAny(['key1', 'key2']);\r\n```\r\n\r\n### isEmpty\r\n\r\nCheck if the Local Storage is empty.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.isEmpty();\r\n```\r\n\r\n### isNotEmpty\r\n\r\nCheck if the Local Storage is not empty.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.isNotEmpty();\r\n```\r\n\r\n### keys\r\n\r\nRetrieve an array containing all keys stored in the Local Storage.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.keys();\r\n```\r\n\r\n### count\r\n\r\nRetrieve the total number of items stored in the Local Storage.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.count();\r\n```\r\n\r\n### touch\r\n\r\nUpdate the expiration time of a key in the Local Storage.\r\n\r\n#### Parameters\r\n\r\n- **key** - String containing the name of the key.\r\n- **ttl** *(optional)* - Time to live in seconds for the key. Defaults to `null` (no expiration) or equal\r\n  to [LocalStorage.ttl](#ttl) value.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.touch('key', 60);\r\n```\r\n\r\n### expiry\r\n\r\nRetrieve the expiration date for a given key.\r\n\r\n#### Parameters\r\n\r\n- **key** - String containing the name of the key you want to check against\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.expiry('key');\r\n```\r\n\r\nYou can also pass a boolean as the second parameter to return the expiration date as a Date object:\r\n\r\n```javascript\r\nLocalStorage.expiry('key', true);\r\n```\r\n\r\n### dump\r\n\r\nPrint the value associated with a key to the console.\r\n\r\n#### Parameters\r\n\r\n- **key** - String containing the name of the key.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.dump('key');\r\n```\r\n\r\n### fake\r\n\r\nReplace the Local Storage instance with a fake implementation. This is particularly useful for testing purposes where\r\nyou want to avoid interacting with the actual browser's Local Storage.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.fake();\r\n```\r\n\r\n### restore\r\n\r\nRestore the original Local Storage instance. This is typically used after [fake()](#fake) to return to using the real\r\nbrowser's Local Storage.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.restore();\r\n```\r\n\r\n### isFake\r\n\r\nCheck if a fake Local Storage instance is currently being used.\r\n\r\n#### Example\r\n\r\n```javascript\r\nif (LocalStorage.isFake()) {\r\n    // ...\r\n}\r\n```\r\n\r\n### ttl\r\n\r\nDefine a global Time-To-Live (TTL) in seconds for all items saved using the [LocalStorage.set](#set)\r\nor [LocalStorage.touch](#touch) method, without specifying a TTL for each item. This can be particularly useful for\r\napplications needing a consistent expiry policy for most stored data.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.ttl(7200);\r\n```\r\n\r\nIf a default TTL has been set using `LocalStorage.ttl`, it will be applied to all items set without a specified TTL.\r\n\r\n## Events\r\n\r\nIn case you would like to execute a callback on Local Storage operation, you may listen for various events dispatched by\r\nthe Local Storage.\r\n\r\n| Type            | Event           |\r\n|-----------------|-----------------|\r\n| `retrieving`    | RetrievingKey   |\r\n| `hit`           | KeyHit          |\r\n| `missed`        | KeyMissed       |\r\n| `writing`       | WritingKey      |\r\n| `written`       | KeyWritten      |\r\n| `write-failed`  | KeyWriteFailed  |\r\n| `forgot`        | KeyForgotten    |\r\n| `forgot-failed` | KeyForgotFailed |\r\n| `flushing`      | StorageFlushing |\r\n| `flushed`       | StorageFlushed  |\r\n\r\n### listen\r\n\r\nRegister an event listener for one or more storage events.\r\n\r\n#### Parameters\r\n\r\n- **events** - String or an object of strings containing the type and a callback function.\r\n- **callback** - Function to be executed when the event is dispatched in case an event is passed as a string.\r\n\r\n#### Example\r\n\r\n```javascript\r\nLocalStorage.listen('retrieving', (event) => {\r\n    console.log(event);\r\n});\r\n```\r\n\r\nIn case you would like to register multiple events, you can pass an object containing the type and a callback function:\r\n\r\n```javascript\r\nLocalStorage.listen({\r\n    'retrieving': (event) => {\r\n        // ...\r\n    },\r\n    'hit': (event) => {\r\n        // ...\r\n    },\r\n    'missed': (event) => {\r\n        // ...\r\n    },\r\n    'writing': (event) => {\r\n        // ...\r\n    },\r\n    'written': (event) => {\r\n        // ...\r\n    },\r\n    'write-failed': (event) => {\r\n        // ...\r\n    },\r\n    'forgot': (event) => {\r\n        // ...\r\n    },\r\n    'forgot-failed': (event) => {\r\n        // ...\r\n    },\r\n    'flushing': (event) => {\r\n        // ...\r\n    },\r\n    'flushed': (event) => {\r\n        // ...\r\n    },\r\n});\r\n```\r\n\r\nConveniently, you can also use the following methods to register event listeners for a specific event:\r\n\r\n### onRetrieving\r\n\r\nTriggered when a key is about to be retrieved from storage.\r\n\r\n```javascript\r\nLocalStorage.onRetrieving((event) => {\r\n  // ...\r\n});\r\n```\r\n\r\n### onHit\r\n\r\nTriggered when a requested key is found in the storage.\r\n\r\n```javascript\r\nLocalStorage.onHit((event) => {\r\n  // ...\r\n});\r\n```\r\n\r\n### onMissed\r\n\r\nTriggered when a requested key is not found in the storage.\r\n\r\n```javascript\r\nLocalStorage.onMissed((event) => {\r\n  // ...\r\n});\r\n```\r\n\r\n### onWriting\r\n\r\nTriggered when a key is about to be written to storage.\r\n\r\n```javascript\r\nLocalStorage.onWriting((event) => {\r\n  // ...\r\n});\r\n```\r\n\r\n### onWritten\r\n\r\nTriggered after a key has been successfully written to storage.\r\n\r\n```javascript\r\nLocalStorage.onWritten((event) => {\r\n  // ...\r\n});\r\n```\r\n\r\n### onWriteFailed\r\n\r\nTriggered when writing a key to storage fails.\r\n\r\n```javascript\r\nLocalStorage.onWriteFailed((event) => {\r\n  // ...\r\n});\r\n```\r\n\r\n### onForgot\r\n\r\nTriggered when a key is successfully removed from storage.\r\n\r\n```javascript\r\nLocalStorage.onForgot((event) => {\r\n  // ...\r\n});\r\n```\r\n\r\n### onForgotFailed\r\n\r\nTriggered when removing a key from storage fails.\r\n\r\n```javascript\r\nLocalStorage.onForgotFailed((event) => {\r\n  // ...\r\n});\r\n```\r\n\r\n### onFlushing\r\n\r\nTriggered when the storage is about to be cleared.\r\n\r\n```javascript\r\nLocalStorage.onFlushing((event) => {\r\n  // ...\r\n});\r\n```\r\n\r\n### onFlushed\r\n\r\nTriggered after the storage has been successfully cleared.\r\n\r\n```javascript\r\nLocalStorage.onFlushed((event) => {\r\n    // ...\r\n});\r\n```\r\n","readmeFilename":"README.md"}