{"_id":"@moaaz-yahia-zakaria/flash-db","_rev":"35-4f49f61bab8ae99b5923515bcec62a31","name":"@moaaz-yahia-zakaria/flash-db","dist-tags":{"latest":"1.3.2"},"versions":{"1.0.0":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.0.0","keywords":["database","encrypted-database","embedded-database","zero-knowledge","lsm-tree","blind-index","mongodb-alternative","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.0.0","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/flash-db/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs"},"dist":{"shasum":"8144b6e119786aee3a0401bd99b12d9bf44a5ead","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.0.0.tgz","fileCount":84,"integrity":"sha512-4frMUQzeKZ3Ot5pNNGUs36KYMk3K0TtuC9UNgfNFgohyWOI3HyyDxTqqvGuPvpn7LtqwzPgnKMNk0H7X3h8LEQ==","signatures":[{"sig":"MEUCID+GYR0VODADh6WHqmVG4ZyGOJHJ8eiMn7XHWpIWfLsXAiEAozBu1Sn5WU/q7YsVit3aKm9dPJMSKtvYSG4oF1/9/ls=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":429595},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"38a96973b695534ea500baf3bc7b85bb38cf65ab","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.3","description":"Next-Gen Ultra-Fast Zero-Knowledge Encrypted Embedded Document Database Engine","directories":{},"_nodeVersion":"22.19.0","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.0.0_1786905035483_0.7169090714007276","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.0.1","keywords":["database","encrypted-database","embedded-database","zero-knowledge","lsm-tree","blind-index","mongodb-alternative","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.0.1","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/flash-db/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs"},"dist":{"shasum":"15b95ad2d6f55a1cb542fc66a2e22f2384f955f6","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.0.1.tgz","fileCount":84,"integrity":"sha512-tTdsZMQjAXl880VRIz3wqjuCIulrQJMI8fHfCJPkgMOCWDVyr4szsVRnVUTI72SBY8H3a/oYxGVq2Tnn2iMF9w==","signatures":[{"sig":"MEYCIQD+oVKR3F7AQUo6+mgwFu3X9qupkWBo0Fg5Bep8YIAfHwIhAMv2KkI6lQ8xbhlKcnt4IdOfSneimcaV9S0ult192ZBz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":429751},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"a61242597cc4d50d65c1df31753c8a43a91c3e5a","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.3","description":"Next-Gen Ultra-Fast Zero-Knowledge Encrypted Embedded Document Database Engine","directories":{},"_nodeVersion":"22.19.0","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.0.1_1786905359880_0.6544381647130855","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.1.0","keywords":["database","encrypted-database","embedded-database","zero-knowledge","lsm-tree","blind-index","mongodb-alternative","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.1.0","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/flash-db/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs"},"dist":{"shasum":"f05fead2eb53372a9466311e5e678f288890741a","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.1.0.tgz","fileCount":88,"integrity":"sha512-MefVO/x4xxNb8o8b4Pvf4m7WUQSDiThkG9RL7IB8Vq915L+1ZvsDDafUlYOAdwaS7g+JnQP/ytwRNUofD7aYDw==","signatures":[{"sig":"MEQCIEwyPdeZTXBby9uXMPIy2SAG8bsOEKYDrk4czU2vHh7+AiAtEG+VHvAgJuuz4nZyC71E7q6gZsHk2eNeoJSyywDfXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":449242},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"ff9ebeb51090d2e2ad26537330dd4c2e65c1100b","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.8","description":"Next-Gen Ultra-Fast Zero-Knowledge Encrypted Embedded Document Database Engine","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.1.0_1786933712057_0.9653890333140693","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.1.1","keywords":["database","encrypted-database","embedded-database","zero-knowledge","lsm-tree","blind-index","mongodb-alternative","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.1.1","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/flash-db/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs"},"dist":{"shasum":"19d6a226223577650ac3b2b45155dfdba220e23c","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.1.1.tgz","fileCount":88,"integrity":"sha512-Gv3LLL+5tCnxxzKw/IdLPeYk4S6LZkTRueh6kcrEZ5hCGjvMZLqCXDpNYKFIpOX8Ucsl3EOc5Xw/QyyCC/HV5A==","signatures":[{"sig":"MEUCIC7NIexPSxSZR1Xm0VRpmYSWh4WoKZ7lefwVGvtsGRwNAiEAnoy2wUEX7J9/Z2mkOWuL9i3annSrkQduC6i2OnQEfq0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":454530},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"09c66bb0770542394e315767d964566db367207b","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.8","description":"Next-Gen Ultra-Fast Zero-Knowledge Encrypted Embedded Document Database Engine","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.1.1_1786934179670_0.522076438935446","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.1.2","keywords":["database","encrypted-database","embedded-database","zero-knowledge","lsm-tree","blind-index","mongodb-alternative","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.1.2","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/flash-db/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs"},"dist":{"shasum":"ff2fb6468c27a5e058bad4a4354496112c2f4f76","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.1.2.tgz","fileCount":88,"integrity":"sha512-awlNGejtq9sO4bKbtrqpMc8zvFYFx+MhwlSdqxT1rw3UOx9Rc9GbXYGCe0hKUNl2adzEY8b9rdQ9oxSgS6PysA==","signatures":[{"sig":"MEYCIQCjJZo8oT1KONmKHfXCPPgL/rN46+5vaKsquELFKCZ63wIhANEzJ6xRE5Iry6WCh+x3wsxLVeDJa7MIJVVW51BrQId7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":454530},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"5980d207f52d61014dc5bdd7c45432095782474e","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.8","description":"Next-Gen Ultra-Fast Zero-Knowledge Encrypted Embedded Document Database Engine","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.1.2_1786935614706_0.8221626259968333","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.2.0","keywords":["database","encrypted-database","embedded-database","encrypted-intelligence-db","zero-knowledge","local-first","ai-native","private-rag","lsm-tree","blind-index","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.2.0","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/flash-db/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs"},"dist":{"shasum":"7e7ac995f9fdbc6426b259e65ccfbfd258a11d7f","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.2.0.tgz","fileCount":121,"integrity":"sha512-CaGy6GumVx5qa2Q1G0/U3jZUuOJyTP9R2yPLLa3OzzlSy+4oC36abtbIw6gx3UYmj0q8PEO9H95zF9erykIo6A==","signatures":[{"sig":"MEQCIF4nvNBH2qyLrVhikEpe+niy+PbaU1A96nuDx9TNWMOLAiBLTBfddB/sgRyVUF7Wg6AL+8eDb1GSZ31V9NUzSLwPew==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":586464},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"fcadbdfda6fea307d2dc0b65f872754fc56c22c4","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.8","description":"Zero-knowledge encrypted intelligence database — local-first, AI-native, server-blind document engine","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.2.0_1787165027986_0.5023221985943507","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.2.4","keywords":["database","encrypted-database","embedded-database","encrypted-intelligence-db","zero-knowledge","local-first","ai-native","private-rag","lsm-tree","blind-index","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.2.4","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/flash-db/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs"},"dist":{"shasum":"010c2f83f98acedb330e2add631a08559887bb87","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.2.4.tgz","fileCount":125,"integrity":"sha512-nieBhk44fxRr0C9ZUMdgd922NdKt6p76qyg4lLTYjqSEdP88I08y5IywBpsAlpTG6E2UGbyFF9pxRciKeqF3ZQ==","signatures":[{"sig":"MEUCIQCqnPNDXVj7aepGkiGYKoAsd3yK0DMrVWn5XJ+Lw2gH3wIgPBH4azIiYOsVFcY64Y+UZ+2Myp7Ikucp6GSr3q0wCuQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":621758},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"2cb1231d01cd05f0367be083bbfaa5fa311f6e66","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.8","description":"Zero-knowledge encrypted intelligence database — local-first, AI-native, server-blind document engine","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.2.4_1787194211098_0.4270515910493269","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.2.5","keywords":["database","encrypted-database","embedded-database","encrypted-intelligence-db","zero-knowledge","local-first","ai-native","private-rag","agent-memory","sealed-vault","server-blind","langchain","lsm-tree","blind-index","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.2.5","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/flash-db/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs","flash-console":"bin/flash-console.mjs"},"dist":{"shasum":"a640e9d21da4d216e486e8b25199baffed1c69dd","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.2.5.tgz","fileCount":127,"integrity":"sha512-MX9EqwZtzCchz0Q73q75u1oT7LnXGLi6/sDI3AWlFa6jhJwVqv8D6tjYMWAGCJYCxAhLRr3TEqzLzTs769Z7ng==","signatures":[{"sig":"MEYCIQDFnlmsksxAcjTIchAY3ZDb29Q6JtcFF4im/wn/lYDRHAIhAOenX3EO6xwhqY/eiXxhkKnN8CtyZAW9SwKlNK4qYhtM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":633210},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"b1a3e0eff9bb7c290632819a9775b29e3e0f72f9","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.8","description":"Zero-knowledge encrypted intelligence database — local-first, AI-native, server-blind document engine","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.2.5_1787222786695_0.4910292878821092","host":"s3://npm-registry-packages-npm-production"}},"1.2.6":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.2.6","keywords":["database","encrypted-database","embedded-database","encrypted-intelligence-db","zero-knowledge","local-first","ai-native","private-rag","agent-memory","sealed-vault","server-blind","langchain","lsm-tree","blind-index","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.2.6","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/flash-db/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs","flash-console":"bin/flash-console.mjs"},"dist":{"shasum":"463ec4aeb4d736b2aedd282b7468f9778ef29cc7","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.2.6.tgz","fileCount":127,"integrity":"sha512-ffpVUxYdrbfQ3l4WeepYDUuT57hTHZ0u1ChtOquRinCXGAU8KKaPBVtld+2XHcjA9RPlib1j3wgtX8S8K1trHQ==","signatures":[{"sig":"MEUCIFg1IVyZaHlycIquo4+ZRIuudKq5X5T0KBd5sAF/VUy1AiEA+FRcG8JhyfSi4TQztRQmwcc1p0ByZalvjMqeXrgCY5Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":633210},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"92ddc0cadda5d84188eff8df08a8a81060f34562","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.8","description":"Zero-knowledge encrypted intelligence database — local-first, AI-native, server-blind document engine","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.2.6_1787222928257_0.48116979105051083","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.3.0","keywords":["database","encrypted-database","embedded-database","encrypted-intelligence-db","zero-knowledge","local-first","ai-native","private-rag","agent-memory","sealed-vault","server-blind","langchain","lsm-tree","blind-index","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.3.0","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/flash-db/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs","flash-console":"bin/flash-console.mjs"},"dist":{"shasum":"d79cb80b0d49288f02884eaa3eed6823631ec8fd","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.3.0.tgz","fileCount":133,"integrity":"sha512-GRfQVAb4mcAhCAU5ZWsjTGf0zGvuhMhQZdopPP417REe3cz+0rfCUVxlWqBVwGGITaR1Jten6xRpnLcXcv5JUw==","signatures":[{"sig":"MEUCIEC0R3ZN6dXDuu4jBxXFMu29+yiTgM7y04fo4stxqlzdAiEAgq7q8xUw7MbvIdZwhxKJWaSETt2Eazsc59nYd+oDhL4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":652288},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"163722372a3e2b29a0a7247d84e3aa78795a3a58","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.8","description":"Zero-knowledge encrypted intelligence database — local-first, AI-native, server-blind document engine","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.3.0_1787234053845_0.49765194366781995","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.3.1","keywords":["database","encrypted-database","embedded-database","encrypted-intelligence-db","zero-knowledge","local-first","ai-native","private-rag","agent-memory","sealed-vault","server-blind","langchain","lsm-tree","blind-index","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.3.1","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/flash-db/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs","flash-console":"bin/flash-console.mjs"},"dist":{"shasum":"903de6b845f8b5f05b90d8bf74c7142787a366d6","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.3.1.tgz","fileCount":138,"integrity":"sha512-jchT2RMu2mQkl/BPpm4U1NXNgaxx1t8g/8+FdKKYxl4JqJ6HS/mp/5/3sC7N20LzsyNuXDztOjoO+UzuGxS6mw==","signatures":[{"sig":"MEUCIQCBPavikwd2vxZixq9iAeXTfTkhCAUekbHo8sOQiHAqDwIgUtUKnPtWuy86DQb+dLTQgge4K0dIEpe0G5iIfG7uT6Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":665612},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"d68fb99c06b3896a6decb1a03794a0fec3105b5e","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.8","description":"Zero-knowledge encrypted intelligence database — local-first, AI-native, server-blind document engine","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.3.1_1787234688912_0.12414554638848929","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@moaaz-yahia-zakaria/flash-db","version":"1.3.2","keywords":["database","encrypted-database","embedded-database","encrypted-intelligence-db","zero-knowledge","local-first","ai-native","private-rag","agent-memory","sealed-vault","server-blind","langchain","lsm-tree","blind-index","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","_id":"@moaaz-yahia-zakaria/flash-db@1.3.2","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"homepage":"https://moaaz-i.github.io/FLASH/","bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"bin":{"flashsh":"bin/flashsh.mjs","flash-server":"bin/flash-server.mjs","flash-console":"bin/flash-console.mjs"},"dist":{"shasum":"556bc8c4e88740554867b3ce8499b67dfec9a71f","tarball":"https://registry.npmjs.org/@moaaz-yahia-zakaria/flash-db/-/flash-db-1.3.2.tgz","fileCount":144,"integrity":"sha512-qIgevjXzojh8twp3QxBOsD8MYpRdUbecAAbpSgPRSVGqxg5DCqBAMlRDDbWOEmZrU/KZtcz9mNS/P5n4xesZNQ==","signatures":[{"sig":"MEUCIQC38W/yNHWYI/7hHI2P3rweFns8UoQ8eqgYn64Yn9HUqwIgdAk+NRtxAcLZTfO2n/+nua4m90N7uN6BRSTEx+dtFrI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":698815},"main":"src/index.mjs","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.mjs"},"./ai/*":"./src/ai/*.mjs","./client/*":"./src/client/*.mjs","./crypto/*":"./src/crypto/*.mjs","./engine/*":"./src/engine/*.mjs","./server/*":"./src/server/*.mjs","./vector/*":"./src/vector/*.mjs"},"gitHead":"0fa34fa5a7cd2619aa1e2147385cb39e836c96bb","scripts":{"test":"node --test tests/*.test.mjs","docs:dev":"vitepress dev docs","benchmark":"node benchmarks/benchmark.mjs","typecheck":"tsc --noEmit -p tsconfig.json","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"},"deprecated":"Use flash-zk instead.","repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"_npmVersion":"10.9.8","description":"Zero-knowledge encrypted intelligence database — local-first, AI-native, server-blind document engine","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.3","typescript":"~5.7.0","@types/node":"^22.20.1"},"_npmOperationalInternal":{"tmp":"tmp/flash-db_1.3.2_1787283651447_0.1682383999140693","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-08-16T18:30:35.351Z","modified":"2026-08-21T11:26:44.181Z","1.0.0":"2026-08-16T18:30:35.637Z","1.0.1":"2026-08-16T18:36:00.042Z","1.1.0":"2026-08-17T02:28:32.196Z","1.1.1":"2026-08-17T02:36:19.815Z","1.1.2":"2026-08-17T03:00:14.861Z","1.2.0":"2026-08-19T18:43:48.142Z","1.2.4":"2026-08-20T02:50:11.232Z","1.2.5":"2026-08-20T10:46:26.836Z","1.2.6":"2026-08-20T10:48:48.417Z","1.3.0":"2026-08-20T13:54:14.023Z","1.3.1":"2026-08-20T14:04:49.100Z","1.3.2":"2026-08-21T03:40:51.656Z"},"bugs":{"url":"https://github.com/Moaaz-i/FLASH/issues"},"author":{"name":"Moaaz Yahia Zakaria"},"license":"Apache-2.0","homepage":"https://moaaz-i.github.io/FLASH/","keywords":["database","encrypted-database","embedded-database","encrypted-intelligence-db","zero-knowledge","local-first","ai-native","private-rag","agent-memory","sealed-vault","server-blind","langchain","lsm-tree","blind-index","high-performance","zero-copy","vector-search","hnsw","ai-database","homomorphic-encryption","merkle-tree","document-db","nosql","typescript","crash-recovery","transaction","acid"],"repository":{"url":"git+https://github.com/Moaaz-i/FLASH.git","type":"git"},"description":"Zero-knowledge encrypted intelligence database — local-first, AI-native, server-blind document engine","maintainers":[{"name":"moaaz-yahia-zakaria","email":"moaaz.yahia.shrif@gmail.com"}],"readme":"<div align=\"center\">\n\n# ⚡ FLASH DB\n\n**Zero-Knowledge Encrypted Intelligence Database — Local-First, AI-Native, Server-Blind**\n\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![TypeScript](https://img.shields.io/badge/TypeScript-Ready-3178c6.svg)](https://www.typescriptlang.org/)\n[![Tests](https://img.shields.io/badge/Tests-146%2F146%20Passing-brightgreen.svg)]()\n[![Node.js](https://img.shields.io/badge/Node.js-%3E%3D18.0.0-brightgreen.svg)](https://nodejs.org/)\n[![Docs](https://img.shields.io/badge/Docs-VitePress-blue.svg)](https://moaaz-i.github.io/FLASH/)\n[![npm](https://img.shields.io/badge/npm-%40moaaz--yahia--zakaria%2Fflash--db-red.svg)](https://www.npmjs.com/package/@moaaz-yahia-zakaria/flash-db)\n\n_The server never sees your keys, your queries, or your plaintext. Built for private AI, local-first apps, and encrypted intelligence._\n\n**[Release Notes](https://moaaz-i.github.io/FLASH/guide/release-notes)** · **[Universal Foundations](https://moaaz-i.github.io/FLASH/guide/foundations)** · **[Buffer Pipeline](https://moaaz-i.github.io/FLASH/guide/buffer-pipeline)** · **[Positioning & Identity](https://moaaz-i.github.io/FLASH/guide/positioning)** · **[5-Min Intelligence Start](https://moaaz-i.github.io/FLASH/guide/getting-started#intelligence-in-5-minutes)**\n\n</div>\n\n---\n\n## What FLASH Is\n\n**FLASH** is a **zero-knowledge document engine** — not a generic cloud database with encryption bolted on.\n\n| Pillar                     | Meaning                                                                                    |\n| -------------------------- | ------------------------------------------------------------------------------------------ |\n| **Server-blind by design** | AES-256-GCM, blind indexes, and ORE range tokens are the foundation — not optional plugins |\n| **AI-native storage**      | HNSW vector search, semantic cache, RAG context optimizer, and LLM tool-calling built in   |\n| **Local-first**            | Embedded in-process or over the FLASH wire protocol — your data stays under your key       |\n| **FLASH formats**          | `FlashBinary`, `.farc` WAL, `.flog` oplog — purpose-built, zero-copy, LSM-backed           |\n\n### FLASH-Exclusive (no other DB offers this stack)\n\n| Module                | Purpose                                                            |\n| --------------------- | ------------------------------------------------------------------ |\n| `FlashPrivateRAG`     | Encrypted ingest → chunk → embed → ask — private RAG, server-blind |\n| `FlashAgentMemory`    | AI agent episodic memory — semantic recall, TTL, importance        |\n| `FlashSealedVault`    | Passphrase vault with auto-lock — isolated secret domain           |\n| `FlashIntegrityProof` | Signed Merkle + invariant manifest for audit                       |\n\n> **FLASH answers one question:** _How do you store, query, and search documents when the engine must remain cryptographically blind?_\n\n---\n\n## 🚀 Key Highlights\n\n- **🛡️ 100% Zero-Knowledge Privacy**: Complete client-side envelope encryption. The database server and disk storage **never see plaintext keys, values, or queries**.\n- **⚡ 1M+ Ops/Sec Zero-Copy Binary Format**: `FlashBinary` layout with $O(1)$ constant-time field offset lookups without JSON parsing overhead.\n- **🧬 32x Vector Quantization (SQ8 & 1-Bit Binary)**: Store millions of high-dimensional vectors in minimal RAM with single-cycle bitwise Hamming distance math.\n- **🌐 Universal Polyglot Query Engine**: Zero-shot natural language query compiler for **ANY language or script** (Arabic, English, Chinese, French, Spanish, Russian, Hindi...).\n- **🤖 Autonomous AI Agent Tools & Function Calling**: Standardized Tool Calling registry with automated multi-turn execution loops over local collections and external APIs.\n- **🎯 RAG Context Optimizer & Reciprocal Rank Fusion (RRF)**: Merges Vector & BM25 search ranks and trims context to save **60-80% LLM token costs**.\n- **⚡ Multi-Tier Semantic Cache (`< 0.05ms`)**: Dual-tier L1 In-Memory + L2 Persistent Disk Cache saving up to **90% in LLM API bills**.\n- **🧠 High-Dimensional AI Vector Search (HNSW)**: $O(\\log N)$ Approximate Nearest Neighbor (ANN) search for private RAG and LLM embeddings.\n- **🔍 Searchable Encrypted Blind Indexing**: Query over encrypted data using exact trapdoors, substring N-grams, and Order-Revealing Encryption (**ORE**) range filters (`$gt`, `$lt`).\n- **🧮 Homomorphic Aggregation**: Execute `$sum` and `$inc` calculations directly over ciphertexts on the server without decrypting.\n- **💾 Modern LSM-Tree Engine**: Lock-Free SkipList MemTable + `.farc` durability archive + Bloom-Filtered compressed SSTable segments + Tiered Compactor.\n- **🔄 ACID Transactions & Snapshot Isolation**: Multi-Version Concurrency Control (**MVCC**) + Distributed **Two-Phase Commit (2PC)** across sharded clusters.\n- **📊 Built-in Observability & ETL**: Live Prometheus `/metrics` telemetry endpoint and streaming `NDJSON` / `CSV` export & import tools.\n- **🔴 Real-Time Infrastructure**: Zero-dependency WebSocket server with rooms/channels, presence tracking, LRU cache, and enhanced pub/sub with wildcards.\n- **📘 Full TypeScript Definitions**: First-class `index.d.ts` with IntelliSense autocompletion and generic collection typing.\n\n---\n\n## 📖 Documentation\n\n**[Full Documentation (VitePress)](https://moaaz-i.github.io/FLASH/)**\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install @moaaz-yahia-zakaria/flash-db\n```\n\n---\n\n## ⚡ Quick Start\n\n```typescript\nimport { FlashClient } from \"@moaaz-yahia-zakaria/flash-db\";\n\n// 1. Initialize Client with Master Secret Key\nconst client = new FlashClient({\n  secretKey: \"quantum_production_passphrase_2026\",\n  storagePath: \"./flash_data\",\n});\n\ninterface User {\n  _id?: string;\n  name: string;\n  email: string;\n  role: string;\n  balance: number;\n}\n\nconst users = client.collection<User>(\"users\");\n\n// 2. Insert Document (Automatically encrypted on client side)\nconst result = await users.insertOne({\n  name: \"Ada Lovelace\",\n  email: \"ada@computing-pioneer.org\",\n  role: \"Mathematician\",\n  balance: 45000,\n});\n\nconsole.log(\n  `Inserted ID: ${result.insertedId} | State Root: ${result.merkleRoot}`,\n);\n\n// 3. Search Over Encrypted Blind Indexes (Server remains 100% blind)\nconst found = await users.find({ email: \"ada@computing-pioneer.org\" });\nconsole.log(found[0].name); // 'Ada Lovelace'\n```\n\n---\n\n## 🧠 AI Vector Search & Private RAG (HNSW)\n\n```typescript\nimport { FlashHNSWIndex } from \"flash-db\";\n\nconst hnsw = new FlashHNSWIndex({\n  M: 16,\n  efConstruction: 64,\n  metric: \"cosine\",\n});\n\n// Insert 1536-dimensional embeddings\nhnsw.insert(\"doc_1\", [0.014, -0.052, 0.841 /* ... */]);\nhnsw.insert(\"doc_2\", [0.019, -0.048, 0.82 /* ... */]);\n\n// Query Top-K Nearest Neighbors in O(log N) time\nconst matches = hnsw.search([0.015, -0.05, 0.835], 5);\nconsole.log(matches);\n// [{ docId: 'doc_1', score: 0.9988 }, ...]\n```\n\n---\n\n## 📊 Architecture Overview\n\n```\nClient Application (Plaintext)\n       ↓ (FlashClient SDK: AES-256-GCM + Blind Index Trapdoors + ORE)\nNetwork / Local Process Boundary (Zero-Knowledge Envelope)\n       ↓\nFlashDatabase Engine\n ├── In-Memory L0: FlashMemTable (SkipList)\n ├── Durability:   FlashArc (.farc Append-Only Vault)\n ├── Concurrency:  FlashMVCC (Snapshot Isolation)\n ├── On-Disk L1:   FlashSSTable (Bloom Filter + Compressed Blocks)\n ├── Optimization: FlashCompactor (Tiered Compaction & Tombstone Eviction)\n └── Telemetry:    FlashMetrics (Prometheus /metrics)\n```\n\n---\n\n## 🧪 Running Tests & Benchmarks\n\n```bash\n# Run comprehensive test suite (136 tests)\nnpm test\n\n# Run performance benchmarks (insertOne ~330/s, insertMany ~2,650/s)\nnpm run benchmark\n\n# Bootstrap intelligence workspace\nnpx flashsh init\n\n# Start Intelligence Console\nnpx flash-console\n# → http://localhost:3456\n```\n\n---\n\n## 📄 License\n\nApache-2.0 © 2026 Moaaz Yahia Zakaria\n","readmeFilename":"README.md"}