{"versions":{"0.3.1":{"name":"godb","version":"0.3.1","description":"IndexedDB with Intuitive API","main":"./dist/godb.js","module":"./dist/godb.js","typings":"./dist/godb.d.ts","scripts":{"dev":"rollup -w -c","build":"rimraf dist/* && rollup -c"},"repository":{"type":"git","url":"git+https://github.com/chenstarx/Godb.js.git"},"keywords":["indexeddb","typescript"],"author":{"name":"chenstarx"},"license":"MIT","bugs":{"url":"https://github.com/chenstarx/Godb.js/issues"},"homepage":"https://github.com/chenstarx/Godb.js#readme","devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@rollup/plugin-babel":"^5.2.2","@rollup/plugin-node-resolve":"^11.0.1","@rollup/plugin-typescript":"^8.1.0","rimraf":"^3.0.2","rollup":"^2.35.1","rollup-plugin-dts":"^2.0.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.0.3","typescript":"^4.1.3"},"gitHead":"ae38c09a11dc3cc55fc692bb844786795202324b","_id":"godb@0.3.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-fhLNSPiviwAAEuc7lMfVjM6r63JO23xQiiDq2S6qt8F5oppcXrM2KkLF6SCsUxzmGfIP0qKqTYp5F/mEW5D4IA==","shasum":"28e659701c755bb2b923e490a323e3160cbea8b7","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/godb/-/godb-0.3.1.tgz","fileCount":12,"unpackedSize":66463,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAw90CRA9TVsSAnZWagAAxQcP/jrnQJ8fInuj8omdyuEI\n2gWysLYDA9FVEfoDg9JS9sEhTr4JFlFdHNgBzc6+atrDqbpK9Bx11AH92OeC\nwflaC+nE2PBMa+2OxbUQCrdV9K+84jJQmHsNnC0+mvV1CRoLio4iwisgJs2/\ndswmRAAArLEiEUge75mTDxlR3rlTJkueL0kTMEl/oPui0Vw+KRbQiKzfXy1C\nJTGocfPqBLCxrguWkcxzpneCeJ2dzribz9+j6PU0v3fJ9BpTHqukjcKmw6BW\nnuanBGHEfuW5VnHdMd3EcU33rNY2GcYx5bpnZ/bY3vIS1KntSZ6WuFu2aTtE\nVgt+06dpnnG6CMNTRGPqp/Rp+zgPN+1WFMEyfUhD9tFB59D1IBgXgY3Rx0rA\nSYOqEhtiRqbRh/WFPCbDyrr2OiII+aRyy+6LWnhdhxYj3PDG3ij0ZaQ6e706\nFZOl485F7B1HOqE6FTVkjdSi7crUzBDRgWr7pwEclf4CFL31QMg0lj9XPYJM\nq5grm7LjioyNGXYh5X/xPA7cUnR0TuKyjHxo+aCS20caC9NDiGrQ0njArEt2\nGx+0P414a7OpI1a11PWD499uNpbQuWJqcu5hKAbVf0Um2/y2ciC7v6OQEyML\nxP9Or0lkk+2ma4CxQV192es1PLE8vNpzPcx/kijO8eXap7NBIZJADxdJ/eH4\nEErz\r\n=Cwl+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGgmUh8n2yQ/760SRc/aYiubdDEF4ZYDF37WM1zgeANqAiAM8cY5CWBcUXHa7Oo2hujYXYy8Qyzs/2vNxIj82hQiPQ=="}]},"_npmUser":{"name":"anonymous","email":"chenstarx@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"chenstarx@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/godb_0.3.1_1610813299561_0.5393952418314754"},"_hasShrinkwrap":false,"contributors":[]},"0.3.2":{"name":"godb","version":"0.3.2","description":"IndexedDB with Intuitive API","main":"./dist/godb.js","module":"./dist/godb.js","typings":"./dist/godb.d.ts","scripts":{"dev":"rollup -w -c","build":"rimraf dist/* && rollup -c"},"repository":{"type":"git","url":"git+https://github.com/chenstarx/Godb.js.git"},"keywords":["indexeddb","typescript"],"author":{"name":"chenstarx"},"license":"MIT","bugs":{"url":"https://github.com/chenstarx/Godb.js/issues"},"homepage":"https://github.com/chenstarx/Godb.js#readme","devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@rollup/plugin-babel":"^5.2.2","@rollup/plugin-node-resolve":"^11.0.1","@rollup/plugin-typescript":"^8.1.0","rimraf":"^3.0.2","rollup":"^2.35.1","rollup-plugin-dts":"^2.0.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.0.3","typescript":"^4.1.3"},"gitHead":"ecb2e0be29e7a75783ef8eeb64557024c2c10d9c","_id":"godb@0.3.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-K5loF1TVkJ0SoIqMd948ulJ5IUIYUMUXrunVdDRqZ3C78VnwPC1Qv5cgHrdcg+0V77ueJj6xgsJoibMJ63aaIg==","shasum":"289048639f98f5583aa0333f285e1247aef08267","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/godb/-/godb-0.3.2.tgz","fileCount":12,"unpackedSize":68492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBBZRCRA9TVsSAnZWagAAcAwP/07B6WOyC2Om5IqArOIn\nr2g7IQWePjxZvbuwHChoRJ0j9Wurje2VBKCx1lAb3FrVddyyWpbNYpdPq5U1\n4egw4P08hoHTf4dDMqqsl8/hlBNmQdGwHsc3OVTvoNVSEeUADi5E3OSSIK9N\nvmiYpJiN2lCf1SVXAL2wsnvjD2sH5zQw1U7tQXMXSSVbVfG9TnvxNoKRKTMv\neFRqgAuE8jyDAk11OKxI9bndzNNkstwxYOwjFPQZyJgJ9N0j5G4QmCH3bVeA\niCqLQDiLYXThGxoMg5voctOtQOqd4bLCfteDUdUe/JhHaHZ8wNciC/JcMoaB\nNQaCeaUAez61LLU3t8FhQi1DlDu8763c8xw1XoWVD55GaOTGaRAmb609mFuY\njh3h/2hLecGU8ZLjdNhMm1fObHoiGW4F9I6JhTFsW99pnSnVMSCX9mOfERuh\nXJm6TiE1dggdCHG/Hh5+FftfnnowixKKBh3tyeSd+hlREGAFcp1YqT3dLU52\nhi0JMaMtxf4SDppJzemFj1kIt6knn7Alq7qQKhNw3PadN8v0pHcsifKLVemf\nW0HYJM1Crb+Ykj3O/mzIWGjTg2CMgIdTS6oZXlQJ6KNVfaNRM+OfJJfBksBj\nX+xHjefG0cFS7kTDJ92nee85T2Swy00JNzHDqPcu8uf123v/+Y6yniTtp8Hp\n/Msc\r\n=uB0i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDL9yGxLTubUn57QohIRsu7Rc3qpv1w/0qjPeyAdPQMowIgCJ0+wb7PArZUOolta/DVx02/GG9e3xzNOAvXcizzvrw="}]},"_npmUser":{"name":"anonymous","email":"chenstarx@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"chenstarx@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/godb_0.3.2_1610880593121_0.425192986528917"},"_hasShrinkwrap":false,"contributors":[]},"0.3.3":{"name":"godb","version":"0.3.3","description":"IndexedDB with Intuitive API","main":"./dist/godb.js","module":"./dist/godb.js","typings":"./dist/godb.d.ts","scripts":{"dev":"rollup -w -c","build":"rimraf dist/* && rollup -c"},"repository":{"type":"git","url":"git+https://github.com/chenstarx/Godb.js.git"},"keywords":["indexeddb","typescript"],"author":{"name":"chenstarx"},"license":"MIT","bugs":{"url":"https://github.com/chenstarx/Godb.js/issues"},"homepage":"https://github.com/chenstarx/Godb.js#readme","devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@rollup/plugin-babel":"^5.2.2","@rollup/plugin-node-resolve":"^11.0.1","@rollup/plugin-typescript":"^8.1.0","rimraf":"^3.0.2","rollup":"^2.35.1","rollup-plugin-dts":"^2.0.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.0.3","typescript":"^4.1.3"},"gitHead":"23bb26b47224e25333982c12dfa5c96d25a2d8b7","_id":"godb@0.3.3","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-+wPr565BhYdVONwX5lWB+6wR09+2U68ovvJheGPLmql91g37TIHLGJ3U5+F/j2mv0I9TkHi1VUufA+LiQLvApw==","shasum":"6bfeccdf69c9f57a5a0db6f35b683096538704e2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/godb/-/godb-0.3.3.tgz","fileCount":12,"unpackedSize":70686,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBDEtCRA9TVsSAnZWagAA+KkQAJDjKuQam4/i1/1FMJom\nE6XGytUU3Osl0T2oOHwHbja2e3IdKHH+NUMWCyVmPDXbiAB80kDVE1H4tkAo\nYl2+Z+E1HA+BXnfraGDzeRjDu6nIu4ZOtT1A69aJdbBvavbomlyOXlTTFWDQ\n5VjVx8OuRKJJvMhPPG5v+hHtwuFhSwY4hT45GuX+B2IyqKTGQHyMyDlU/4nk\nIFkUPLrvCuIeC3wJjt8Yka168R0MpKRW2yPkBAXOG0gdEq15FDy51l4vpCto\n23SaHSthkwlp2mZqdQPWEo/kTjaW4MKqVuyYbs5AMKhGQCLsfd27FVoeCIR3\nuEJxY35zwD+w7KJw27XaK++5NA3e9J3xDXwGuvF/6nUtbVsn3TDimCAOQaS0\nGcfivbWm7G+ZClMQGfGPJl7BI5sA0bjB7WCt7f/qf8UwLNhb1dg7N2hB7s9r\nsyvEI0D4RCzy7gI7nctwRm3SoymVNEP/ulCkQ+QSZLbYnjJoXG42usQ3q1xN\nYl1aS5TXYZte+iPrZ82ELN7MtkL4FPnrxZi69QXT7eE3AWX0Y/gW7OazySyJ\nfUiJqyFaYlz5BsDOR52cdJrqb8KBnDsWDi63irKah0z5cLA5C5NEGPvh6Gdu\neeHeafUhy38vk1GJLNU7ZEnjmI8EB9iV8MIwT6Y12hSjfeZXQ2p60yY19mSs\n/ub6\r\n=dfPP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHC7EzQj6Rxa6uOoOdbt/J+NL4XDb4dY0o472yrKYD5gIhAKkR2KW9TVsFqccDSQdJwmkrqxfql5jk8bw4F7rnVRAq"}]},"_npmUser":{"name":"anonymous","email":"chenstarx@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"chenstarx@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/godb_0.3.3_1610887468578_0.8159033940520204"},"_hasShrinkwrap":false,"contributors":[]},"0.3.4":{"name":"godb","version":"0.3.4","description":"IndexedDB with Intuitive API","main":"./dist/godb.js","module":"./dist/godb.js","typings":"./dist/godb.d.ts","scripts":{"dev":"rollup -w -c","build":"rimraf dist/* && rollup -c"},"repository":{"type":"git","url":"git+https://github.com/chenstarx/Godb.js.git"},"keywords":["indexeddb","typescript"],"author":{"name":"chenstarx"},"license":"MIT","bugs":{"url":"https://github.com/chenstarx/Godb.js/issues"},"homepage":"https://github.com/chenstarx/Godb.js#readme","devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@rollup/plugin-babel":"^5.2.2","@rollup/plugin-node-resolve":"^11.0.1","@rollup/plugin-typescript":"^8.1.0","rimraf":"^3.0.2","rollup":"^2.35.1","rollup-plugin-dts":"^2.0.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.0.3","typescript":"^4.1.3"},"gitHead":"9b456bf88a5be927c10fa042c9496359e18915f9","_id":"godb@0.3.4","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-rYfH3Nfb7ZdD+EgxlOVloKBMzLK0px6C6JTVPeatFVFh3GEGTcfB+KAwPVhN0XbYIzPkY8jf0vGBiPrtQL0ttA==","shasum":"a4eff424f9d90cd6011a6a7084448092beb401ae","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/godb/-/godb-0.3.4.tgz","fileCount":12,"unpackedSize":70728,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBDc1CRA9TVsSAnZWagAA2mMP+wQ9TKxrK3vEdOeLbr4K\nHI6KZN0e3SEAeyR4IFYwTuJ/krMu4yvMcttcLYLE/O4jEAkxuPDtoYBH0m5E\nLZlAq30pVIKe3Pi3Bdngsd/c3wLE/RFzZIx4Fi+6ds+yBOFQEUfJCrTxiPdQ\nlQekn6P+ReuqJP6KkB+GWlli3WEnnZmEPTHFD17sj8ykF4XLuBng0TFVoH68\nmF2FLwvc1q3WqVsLoLmCUIk2vJ/sDNTeLaUvfhRVqub5WAtMKkGrgZQzj1KE\nS1bDryC5DWOmQvkAwyzs5ypcPiFpNgrBMKfITY1MUVD5s71nzYfw/NHXqCU5\nkefbcghl7xLRE9LdIPMOvVsvHJNTq7UxuqlZRvg8vEzMUpNEGhjVtlK94w2z\nHvDK90lK253tmlRLo7Yy7wQPAdiMhZCfEGlTDHvDgSW0YJCznyyZSKf/AyYY\nrqUfmwm8prmT15bVgaR6mmjDQgnLdDfg7uva/EigZupkn0vilo9OEHr14Sro\nTjH0vQcymqYxg8SZDCnU+4GSNiLnaf4bM+BgZkyoO8SEXJeoemBkdfEc2Hvr\nbGM5oW6rCZvlB1qx5yxojp9paG5j0pZ0KlNJE6U+PKd8oodJ3JbAzdlH3ayc\nRb3C2tKkiOCWN4b9xJxlW3oz+E2pA9zaQ+Esa4iiz/hhT4hHBThx84N9862h\nUxzC\r\n=weOA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFUp6Qaoy7QTUV/5n9RNb814ar6sZTNNyoBg+CSTS9DbAiEA7wrGB65QpoBWbvexSJDuq5WcjtS/0ANF7ZpZxVNsqQU="}]},"_npmUser":{"name":"anonymous","email":"chenstarx@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"chenstarx@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/godb_0.3.4_1610889012796_0.14305816418614214"},"_hasShrinkwrap":false,"contributors":[]},"0.4.2":{"name":"godb","version":"0.4.2","description":"IndexedDB with Intuitive API","main":"./dist/godb.js","module":"./dist/godb.js","typings":"./dist/godb.d.ts","scripts":{"dev":"rollup -w -c","build":"rimraf dist/* && rollup -c"},"repository":{"type":"git","url":"git+https://github.com/chenstarx/GoDB.js.git"},"keywords":["indexeddb","typescript"],"author":{"name":"chenstarx"},"license":"MIT","bugs":{"url":"https://github.com/chenstarx/GoDB.js/issues"},"homepage":"https://github.com/chenstarx/GoDB.js#readme","devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@rollup/plugin-babel":"^5.2.2","@rollup/plugin-typescript":"^8.1.0","rimraf":"^3.0.2","rollup":"^2.35.1","rollup-plugin-dts":"^2.0.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.0.3","typescript":"^4.1.3"},"gitHead":"6eda4e823d30dd16a0f427bdfc3c473128fdaed1","_id":"godb@0.4.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-xWg53roceCUx7ayGbZThHixBpUOdE+YdljWHttPRJ3CS3XDCju3P9KLZK83ZSiqeYwucZoxG6S4gdWU/h2Jcpg==","shasum":"bd5168acfdd1126ff548521be1e621681b13b14a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/godb/-/godb-0.4.2.tgz","fileCount":12,"unpackedSize":85724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEO+YCRA9TVsSAnZWagAAorwP/jt47Uw9GCFL8YR52WIf\naIFb5ixs5QFT8306ddo0mWy02mlVuG/1XDuI0Fd6oLnKFUUgEi11zxUo7CR/\nNYMwqDQfY54XRgV90lasK61lDUIxKtJ+WqhFzzfauu5wEfao8nMnW3uF/6sM\nJ4gwzmtHuBv8/JJt3JnUloe4KnNEjt1wgLzmgpyuyIeOfLMAdQ7BlrTKn+j3\nCBWrDGaTHuJGWVGlb6jKnKh3PtsV7FvoQi1QlOgTYTKqN670nX6+C+mSLmh5\n0oV6eXkvGL7nLdZOi1p7uq1PfscI2U8z2KvI7V3hEPEPsNeyWXKUqw07tW8h\nGJ7/aHNSZb8Bp7AwTgTBTxj9m0xdk/FvTKeKqtkgKff7SF1FLFcrTq1Hc5WL\ny+8JI6o5wU3gAxOUwiQsmr/P+QOoAfYDALc/nfZdErg6nzPqJEuFO1l0MtG/\n4ZAWAxCwhdpDc94dkY5HUggtswhoNPmTzhtEjD08f5MtiOhasmCq5UTnD4NW\nApOzjZNmXKjndJkDIUPjLH3SqTMLo6Dwrz7EO/bYF6k5JzH2mMgeA5WXN5TM\nyFxi1pKg1+QUqauK4oWsja66PupYIodxejfg49QJape8pOp3DJkMsR4HYrSh\nz+f6LPt5OtJmyE2LYTze72J7qxvHSzuLY96TfPMMGYbBe7Bmzn4ujkiDr0Zg\nKtML\r\n=xOvU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXNFG2uAdOL3Ukyt9qpeQNsqUrOrzjIdwHdi9gFs5X+QIhAIVf+5v+NBFvTIvSKUzgPWAiECG2u6TudpMPm0BLK0fi"}]},"_npmUser":{"name":"anonymous","email":"chenstarx@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"chenstarx@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/godb_0.4.2_1611722647810_0.12596721328412852"},"_hasShrinkwrap":false,"contributors":[]},"0.5.1":{"name":"godb","version":"0.5.1","description":"IndexedDB with Intuitive API","main":"./dist/godb.js","module":"./dist/godb.js","typings":"./dist/godb.d.ts","scripts":{"dev":"rollup -w -c","build":"rimraf dist/* && rollup -c"},"repository":{"type":"git","url":"git+https://github.com/chenstarx/GoDB.js.git"},"keywords":["indexeddb","typescript"],"author":{"name":"chenstarx"},"license":"MIT","bugs":{"url":"https://github.com/chenstarx/GoDB.js/issues"},"homepage":"https://github.com/chenstarx/GoDB.js#readme","devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@rollup/plugin-babel":"^5.2.2","@rollup/plugin-typescript":"^8.1.0","rimraf":"^3.0.2","rollup":"^2.35.1","rollup-plugin-dts":"^2.0.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.0.3","typescript":"^4.1.3"},"gitHead":"4fa759021d9b0c0956efe03bd5897d97ead82fd5","_id":"godb@0.5.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-LW6kka8D0TEV1Vj+UyAQxi2mdHA5LlDfA7SfnW2TqXrhjZl2MHdJU015lvqZS/KJVcFimw5+z0j17Ejvw+K2ww==","shasum":"25ea38193e424e59c97c7e0e0e377ed8d41a4fca","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/godb/-/godb-0.5.1.tgz","fileCount":11,"unpackedSize":93047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLo+OCRA9TVsSAnZWagAAXKUQAJJPuy76UrRJjWTCxNqR\nZmTu+p5FGv8HC1EOJKa8DI4qVhdZIZ4UuTRBHhKOg/KhfBjSnh6vSflZWEkE\nfS4nNhh5vSdQEnSyLfz5HfTgNe+qRienf2OqexfXyUkf7VUhoVQdq/6LYzDL\nIlqtPvEsHiXl/eOAms+9sqtWWVb/1dI7owVvNgfFzodBxGfhwTq8WwmfiEfR\nWkJl7YfVyaYXSdMEtC0swn4aQgEeOyrd2SQrWmkwbv2mSBdwLY5k30q0K58E\nQ9cctqUNtZ6a+FQIztLU3DG+HC25uotzRV0ecYOEXNcvBTyp8p+QVRdG1cKz\njpo/MC6UsUJjIhvOrVXh8Vf4osL7Kt0NjdVV0imWI3SqOiEJETyqaPPN/5e0\nOW+OdrwbHf85vg5AHh7u2QPK2BBYeYNul2cxpmSwhfcAHrPhPUzcTK4YHK8V\nm6V6gCEpN3/MuRfJz4wN9ePPYYvIsootpDkERFhZhoTwuFMBZgSEFmhJ6Dq6\n9kmCgfHRA6J1Q65cDB5SLp9JPvYf7kPJk9okHd6BlnOpWFm9CiH7LZ3nEvcy\n6pquD2cXTshdgUXUuP+doFHghlZMipLgDyTXFbgrRljQAdr/LWV9eG/1mBua\noFTq7Do+WDngWRDb9v1t5Cljx4gIXaEHG7Poz8jWCU1rjP5lsg2o1YhGW8I0\nRwA/\r\n=9ekB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkvnkoSG0ZYt12djvUC8oSp/OyYQZ76Zef472pVX+yHAIgM7CWuwZkJHVzGqlV+HjHRlRZNLyqbh6nyDqSO92rVrw="}]},"_npmUser":{"name":"anonymous","email":"chenstarx@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"chenstarx@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/godb_0.5.1_1613664142211_0.2709287223754493"},"_hasShrinkwrap":false,"contributors":[]},"0.6.1":{"name":"godb","version":"0.6.1","description":"IndexedDB with Intuitive API","main":"./dist/godb.js","module":"./dist/godb.js","typings":"./dist/godb.d.ts","scripts":{"dev":"rollup -w -c","build":"rimraf dist/* && rollup -c"},"repository":{"type":"git","url":"git+https://github.com/chenstarx/GoDB.js.git"},"keywords":["indexeddb","typescript"],"author":{"name":"chenstarx"},"license":"MIT","bugs":{"url":"https://github.com/chenstarx/GoDB.js/issues"},"homepage":"https://github.com/chenstarx/GoDB.js#readme","devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@rollup/plugin-babel":"^5.2.2","@rollup/plugin-typescript":"^8.1.0","rimraf":"^3.0.2","rollup":"^2.35.1","rollup-plugin-dts":"^2.0.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.0.3","typescript":"^4.1.3"},"gitHead":"518208e7a7f8f7326d956e3ad03858bab5823cba","_id":"godb@0.6.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-BgCViPipiR6rd8ug7WUIWnHW1I9RZUKOjyNMgJ1gVG45halcQZ4CSoDQxJSqAKAMlDEtXxh5PRmxSZmn11Odwg==","shasum":"20ef2b4081de1da2b56926a4a2869b24104be5f9","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/godb/-/godb-0.6.1.tgz","fileCount":11,"unpackedSize":92823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNRYPCRA9TVsSAnZWagAAHGQQAIaSfVHUiYO4lQ2SOTou\nSSdfiomDEOKzUJvoR9kYo10Q5lvYNsIKQj2FOMUlhDfo50wSR4vsSi1DS2Ug\nIfvmmTfqY06K014V5DWR9+ACbAsW1YGJ4h5EV+dPoT+MbxqikQ4QPdYRzBVC\nKeSMBzuXdL87NYDdzrsSTSqAxdRVH+Y1PzR2trfBK4HxUODkhiqck3ZmhXOX\nueclA8opgYVjx+lXculZJjomSRL0prF5FSxiic1mTyeEB5vXs0uyf3iQ0E7+\nHXQAXvSkjtMfDsFg6aJvtoyh7nN7unUrNk5e76E1PtQ/mIsAdEzcsMkeehce\ngRtlkYsnF6kWkJGIOW/cJhQ9+etgrqh5Y1CzegiExOTdlA/rHyPArZUJxoUj\nqthDbL6UOH2gXliHp4wCRO3gV+0k2ORLfPJ85kAgD6szhOQeMZDtdypLI152\nVMbNAgGINlHIq7YcNieRB+S63vAl5xtIEYyosW0DvQsKTCkGeFlo+hIHPD56\nR0TNpeX0tr/B6hVGJ4iN/MuLxqh8I/4H17mXZbozd7fY3ZcZun8izPkNUveR\nTwWx8xZF1qMWY3AyeztLN2J3UdNCs+Pfw6OLW78K4qguiEFSVY5Jz5NjS+pQ\ncp5CGjk5BtvKVTYpfbKZBW378KOzhdA9Dplc6HpMa6jrFcmE1hSSOFuHiYt6\n1g5y\r\n=k4NI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/ZnM/wOdWABG9+WuSAz+7nrjPCkUuDhIupsRyyr+4FAiB8cn55Mb6iVluNfPrxUK9YEWpoR/mjsWyPwSfKdf6f5g=="}]},"_npmUser":{"name":"anonymous","email":"chenstarx@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"chenstarx@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/godb_0.6.1_1614091790619_0.6217469463820846"},"_hasShrinkwrap":false,"contributors":[]},"0.6.2":{"name":"godb","version":"0.6.2","description":"IndexedDB with Intuitive API","main":"./dist/godb.js","module":"./dist/godb.js","typings":"./dist/godb.d.ts","scripts":{"dev":"rollup -w -c","build":"rimraf dist/* && rollup -c"},"repository":{"type":"git","url":"git+https://github.com/chenstarx/GoDB.js.git"},"keywords":["indexeddb","typescript"],"author":{"name":"chenstarx"},"license":"MIT","bugs":{"url":"https://github.com/chenstarx/GoDB.js/issues"},"homepage":"https://github.com/chenstarx/GoDB.js#readme","devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@rollup/plugin-babel":"^5.2.2","@rollup/plugin-typescript":"^8.1.0","rimraf":"^3.0.2","rollup":"^2.35.1","rollup-plugin-dts":"^2.0.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.0.3","typescript":"^4.1.3"},"gitHead":"c5a5a3c062bf41fc4cd97352cc8b125affb8b913","_id":"godb@0.6.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-641W5/CzvwWCCW8Z5ETT6Js6posF5XXbc93F8fwJNseTpuQsTuJPxRntZPe6iYtb9ExfNlGteK09cN3Sl2avXw==","shasum":"0c380310558a7c9114f49aa70c1a1da67313120e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/godb/-/godb-0.6.2.tgz","fileCount":11,"unpackedSize":97403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPNlICRA9TVsSAnZWagAAuloP/0bHPymNI0LFS90TYG7W\n6UyvA/W/bYKqq4dVl4LtmymT37zZJK4T7aGeqkLKFDeLxs87XCVyCH7+B8/2\nrn+klAw8b5rO7yI5RBwe4+F4V8rhCt5gOJrxSIk3+WWAvue7WTJFQ3Xb+7XS\npmvHigoE8jKZvLL6fzJaIoD3jNaIXrBLp3hgj2r1yT3UAAoXXRhokvaW9zdX\na1FZLUNCjXbw45RNuNjq0NJ9auu5WfL/hbLBRU588OsUdIJL3aflyhqcfUks\nNAdJFfstrwqFbMuKSxkGG7sgXFSmenib5XLNagp2JO7ezJIwSdnr82DnS43W\nX3/10h/J1VJfZvg8ZroRvJOimWP1UGIPQse5BnkZ2VtPKAWf+lMIraVX6qsU\ni0gnGCLiBIj+KH2vZPK1T3q5zFTAnkD3nUREfTQdUO/M4kEY0v+tZAeWa+mt\nGpgdChappR1aZLcA9R2dbfnvva6Xwn8yYoJGZBGRC+rP7C1EyGTVZzhGK4rp\n8KWgFvIhyzKb7+ieCF/fGOsxigt+wFT4bgVVr8S7Uh1IT5zIBtj26j2L6vcA\nooBNnLy61qqcBKcncbtHL9aj9pyXdwIax2vO0FIVXKDC93KXzWGSI6Bciw45\n7tYVsJhcEg7Rc+SpqdJ242KFhoDaGFarpv3vSbpRw7YyqWtDkvcYxUFI0zJN\nTkMV\r\n=CAq4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRSwROSSeYwkTnuR3rxoUvK2LQTAi95XYqljlBDjtuYAiEAofp1URx4qSUBaw5eV/q02f6oaHW5bamR/21hvFdS2Vw="}]},"_npmUser":{"name":"anonymous","email":"chenstarx@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"chenstarx@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/godb_0.6.2_1614600520096_0.07936335631012659"},"_hasShrinkwrap":false,"contributors":[]}},"dist-tags":{"latest":"0.6.2"},"name":"godb","time":{"created":"2022-01-27T11:22:35.238Z","0.1.0":"2021-01-15T15:02:02.305Z","modified":"2022-01-27T11:22:35.238Z","0.2.0":"2021-01-15T15:08:11.550Z","0.2.1":"2021-01-15T16:25:34.771Z","0.3.1":"2021-01-16T16:08:19.711Z","0.3.2":"2021-01-17T10:49:53.249Z","0.3.3":"2021-01-17T12:44:28.743Z","0.3.4":"2021-01-17T13:10:12.907Z","0.4.0":"2021-01-26T19:44:10.116Z","0.4.1":"2021-01-26T20:27:25.654Z","0.4.2":"2021-01-27T04:44:07.958Z","0.5.1":"2021-02-18T16:02:22.364Z","0.6.1":"2021-02-23T14:49:50.745Z","0.6.2":"2021-03-01T12:08:40.258Z"},"readme":"English | [中文文档](docs/README-zh.md)\r\n# GoDB.js\r\n\r\nIndexedDB with Intuitive API, CRUD with one line of code.\r\n\r\n\r\n![godb-logo](https://cdn.liqi.tech/godb/godb-full.png)\r\n\r\n\r\n\r\n**Warining**: this project is currently in Beta status, which means:\r\n\r\n- Do not use it in any serious project\r\n- The designed features are not fully implemented yet\r\n- The APIs might have breaking changes in the future\r\n\r\n\r\n**Star this project** if you think it is helpful, thanks~\r\n\r\n\r\n## install\r\n\r\n```\r\nnpm install godb\r\n```\r\n\r\n\r\n\r\n## Usage\r\n\r\nCRUD operations with one line of code:\r\n\r\n``` javascript\r\nimport GoDB from 'godb';\r\n\r\nconst testDB = new GoDB('testDB');\r\nconst user = testDB.table('user');\r\n\r\nconst data = { name: 'luke', age: 22 };\r\n\r\nuser.add(data) // Create\r\n  .then(luke => user.get(luke.id)) // Read\r\n  .then(luke => user.put({ ...luke, age: 23 })) // Update\r\n  .then(luke => user.delete(luke.id)); // Delete\r\n```\r\n\r\nIf you want to add many data at once:\r\n``` javascript\r\nconst data = [\r\n    { name: 'luke', age: 22 },\r\n    { name: 'elaine', age: 23 }\r\n];\r\n\r\nuser.addMany(data).then(() => user.consoleTable());\r\n```\r\n\r\nThe method `user.consoleTable()` will print the `user` table in console:\r\n\r\n<img src=\"https://cdn.lukerr.com/docs/godb/add-many.png\" alt=\"add-many\" style=\"zoom:50%;\" />\r\n\r\nMention that the column `(index)` is the `id` of data\r\n\r\nWarning: do not call `addMany()` and `add()` at the same time,\r\nor the data order in database will be unexpected,\r\nplease call `add()` after `await addMany()`\r\n\r\n**Table.find()**\r\n\r\nWhen you want to find some data in a table, you can use `Table.find()`\r\n\r\n```javascript\r\nconst data = [\r\n    { name: 'luke', age: 22 },\r\n    { name: 'elaine', age: 23 }\r\n];\r\n\r\nuser.addMany(data)\r\n  .then(() => {\r\n    user.find(item => {\r\n      return item.age > 22;\r\n    })\r\n      .then(result => console.log(result));\r\n      // { name: 'elaine', age: 23 }\r\n  });\r\n```\r\n\r\nThe usage is very similar to JavaScript's `Array.find()`\r\n\r\nThis method will use `IDBCursor` to traverse a table, and return the first matched result\r\n\r\nIf you want to get all the matched results, use `Table.findAll()`\r\n\r\n**Table.find() vs Table.get()**\r\n\r\nBoth `Table.find()` and `Table.get()` can be used to find data in a table.\r\n\r\n`Table.get()` uses the indexes to search a table, while `Table.find()` will traverse a table and return the results that match the criteria.\r\n\r\nTherefore, `Table.get()` has a better performance, especially when the table is large, but it only accepts the table indexes as search criteria.\r\n\r\n`Table.find()` is more flexible, since it accepts a function as search criteria.\r\n\r\n\r\n## Schema\r\n\r\nYou can use schema to define the database structure (recommended)\r\n\r\n``` javascript\r\nimport GoDB from 'godb';\r\n\r\n// Define schema\r\nconst schema = {\r\n    // Table user：\r\n    user: {\r\n        // Index 'name'\r\n        name: {\r\n            type: String,\r\n            unique: true // no repeat value\r\n        },\r\n        // Index 'age'\r\n        age: Number\r\n    }\r\n}\r\n\r\nconst testDB = new GoDB('testDB', schema);\r\nconst user = testDB.table('user');\r\n\r\nconst data = { name: 'luke', age: 22 };\r\n\r\nuser.add(data) // OK\r\n  .then(() => user.get({ name: 'luke' })) // index as search criteria\r\n  .then(luke => user.add(luke)); // ERROR, since the name should be unique\r\n```\r\n\r\nWhen schema is defined, you can use the defined indexes as search criteria in the\r\n`Table.get()` method.\r\n\r\nIt is faster than `Table.find()`, especially when the table has huge amounts of data,\r\nsince it uses Index to find item\r\n\r\nThe design of schema is inspired by `Mongoose`\r\n\r\n**The following design is not implemented yet**\r\n\r\nIf `schema` is defined, `GoDB` will check the data structure in table operations\r\n\r\n- Ignoring fields that are not existed in `schema`\r\n  - Unable to add data of non-existing fields\r\n  - Unable to get data from non-existing fields\r\n\r\n### Table Schema\r\n\r\nYou can also define the schema when creating table:\r\n\r\n```javascript\r\nconst testDB = new GoDB('testDB');\r\nconst user = testDB.table('user', {\r\n    name: {\r\n        type: String,\r\n        unique: true\r\n    },\r\n    age: Number\r\n});\r\n```\r\n\r\nMention that if you create table after db's opening,\r\nGoDB will raise a `versionchange` transaction, and upgrade the db's version, since IndexedDB requires db upgrading to create new objectStores in an opening db\r\n\r\n```javascript\r\nconst testDB = new GoDB('testDB');\r\n\r\nsetTimeout(() => {\r\n  // db is already opened after 1000ms\r\n  console.log(testDB.version); // 1\r\n\r\n  // creating multiple tables only require upgrade once\r\n  const user = testDB.table('user');\r\n  const user = testDB.table('message');\r\n\r\n  setTimeout(() => {\r\n    // another setTimeout to wait for upgrading\r\n    console.log(testDB.version); // 2, upgraded\r\n  }, 1000);\r\n\r\n}, 1000);\r\n```\r\n\r\nHowever, if the db are opening somewhere else, the\r\nversion change transaction will be blocked by browser\r\n\r\nUntil all other connections were closed, the db's version will not be upgraded, and the objectStores will not be created\r\n\r\n\r\n```javascript\r\nconst db1 = new GoDB('testDB');\r\nconst db2 = new GoDB('testDB');\r\n\r\nsetTimeout(() => {\r\n  // db is already opened after 1000ms\r\n  console.log(db1.version); // 1\r\n\r\n  const user = db1.table('user');\r\n\r\n  setTimeout(() => {\r\n    // wait for upgrading\r\n    console.log(db1.version); // 1, blocked!\r\n\r\n    db2.close(); // close other connections\r\n\r\n    setTimeout(() => {\r\n      // wait for upgrading\r\n      console.log(db1.version); // 2, upgraded\r\n\r\n    }, 1000);\r\n\r\n  }, 1000);\r\n\r\n}, 1000);\r\n```\r\n\r\nTherefore, it is **recommended** to define all the schema at the beginning in `new GoDB()`,\r\nwhere GoDB will create all the objectStores and Indexes at once\r\n\r\n\r\n# TODOs\r\n\r\n- [x] Creating objectStore by upgrading db after db's opening\r\n- [x] If database or table is existed, check the db structure when init\r\n    - [x] update db structure when it is not matching with schema\r\n- [x] Make sure `schema` is matching with database structure\r\n- [x] Creating table from exisiting objectStore when table is not defined in schema\r\n- [ ] A universal `Table.do()` for code simplify, and open IndexedDB objectStore operations to user\r\n- [ ] Global error handler for Exceptions\r\n- [ ] Key-Value mode, like localStorage\r\n- [ ] A better `Table.update()` option to replace `Table.put()`\r\n- [ ] Check `schema` in CRUD operation if `schema` is defined\r\n    - [ ] only adding fields that were defined in `schema`\r\n- [ ] `default` and `ref` property for Index","users":{}}