{"_id":"@0bdx/srv-api","_rev":"7-dec41be05c643338e254ae2d1c385260","name":"@0bdx/srv-api","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.1":{"name":"@0bdx/srv-api","version":"0.0.1","description":"A simple JSON API in Node.js which works with Mongo-like databases.","type":"module","engines":{"node":">= 16.0.0"},"main":"srv-api.js","scripts":{"build:prod":"rollup -c","build:types":"tsc srv-api.js --allowJs --declaration --emitDeclarationOnly","build":"for s in {prod,types};do npm run build:$s;done","preflight:test":"echo \"🧬 test.js\" && node test.js","preflight:types":"tsc srv-api.js --allowJs --checkJs --noEmit","preflight":"for s in {test,types};do npm run preflight:$s;done","start:src":"node src/server.js","test":"echo \"🧪 src/test.js\" && node src/test.js","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/0bdx/srv-api.git"},"keywords":["api","AWS","MongoDB","starter"],"author":{"name":"0bdx","email":"0@0bdx.com","url":"0bdx.com"},"license":"MIT","types":"./srv-api.d.ts","bugs":{"url":"https://github.com/0bdx/srv-api/issues"},"homepage":"https://github.com/0bdx/srv-api#readme","devDependencies":{"@0bdx/build-helpers":"^0.0.4","@types/node":"^18.15.3","rollup":"^3.19.1"},"dependencies":{"@0bdx/ainta":"^0.0.15","@0bdx/cli-config-helpers":"^0.0.1"},"gitHead":"c6df3d70ba4bc3e0b6c648ef58ab52bd87a94178","_id":"@0bdx/srv-api@0.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-8ro3V5HbySgiKJ+BXi2pJV+cxG2CmPYdJn3IQyd0wTHpTDdglRDgJX5qGxgOOUagWQrUz7ZF/04fqGyHnlHo7g==","shasum":"e0b2f925866327fee353f791bd41fa3027664622","tarball":"https://registry.npmjs.org/@0bdx/srv-api/-/srv-api-0.0.1.tgz","fileCount":5,"unpackedSize":90480,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCegvBn9Dq7YJLkanglp6zhWBPJuTQsngyr44KHAfgHBQIhAP9d2eBcyEv8+vuwXwR0SYfJvRJR/dUbtfISNhUBnYN6"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNHtFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJ6g//ZQxE2GYLklAftAicrwcUAehUX1X++ww6qAOTZWMd7k0PNwqF\r\nZ1elnF1exWW+O/Jadg9wPH33iYELinwYLT7uhqQd2aoj1s72NiUsAzrFoArD\r\nyTcL018ruVDk+VsVa1bMgD/CttjIS4M9dEHnGURv/gAlxkg7JeVDF4IEqXdL\r\nuGZSZ3GhzDAyEPEVrpM5+QMLdUNLHy8op6ejAqo86Dg3AljH86drbgXFmphw\r\nGjIq/VMANHTKnG4XMNiXr5q+BeYZSQd8WKIPG31AzEsGmI63vEsr40danBcV\r\nGHVtysoEmt2kf37eXzTNHlGMs4OidAYSmTxneUjI+S2ynov6Wvl3czMTtLLc\r\nDMf8KWhE4uqQPhlqdyGCStddpN5YlqNXtYaANYrDhWF6rJbgYBSqee0MEJ4f\r\n/CeLndcDIWVfaUkbUpw6KBt30G+oaxBG6FY3PHbFIXQhfh+OAY9HufKJ0nFx\r\nlQGG/b9AZD2Hmp98fv9DqB61wKYJbXJ5KqVP0lmjvtj4vpFfErZTzZcCU7rI\r\nc+h5KEGXnuqhwDSe+DTYC9rNF8vEn/x6oKSKsnJlixfL4ByF9iyAwOgB7Gtw\r\njv37C4dKzAuUasykNaWYyo7x+p1+hFmQtRtz2X71D0Y5NddN2geN3Y0EN9Tr\r\njka7uGynB2TZP1pBiNb9LO7PyWmRaxyun1w=\r\n=wPsA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"0bdx","email":"0bdx.com@gmail.com"},"directories":{},"maintainers":[{"name":"0bdx","email":"0bdx.com@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/srv-api_0.0.1_1681161029333_0.4479016599861487"},"_hasShrinkwrap":false},"0.0.2":{"name":"@0bdx/srv-api","version":"0.0.2","description":"A simple JSON API in Node.js which works with Mongo-like databases.","type":"module","engines":{"node":">= 16.0.0"},"main":"srv-api.js","scripts":{"build:prod":"rollup -c","build:types":"tsc srv-api.js --allowJs --declaration --emitDeclarationOnly","build":"for s in {prod,types};do npm run build:$s;done","preflight:test":"echo \"🧬 test.js\" && node test.js","preflight:types":"tsc srv-api.js --allowJs --checkJs --noEmit","preflight":"for s in {test,types};do npm run preflight:$s;done","start:src":"node src/server.js","test":"echo \"🧪 src/test.js\" && node src/test.js","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/0bdx/srv-api.git"},"keywords":["api","AWS","MongoDB","starter"],"author":{"name":"0bdx","email":"0@0bdx.com","url":"0bdx.com"},"license":"MIT","types":"./srv-api.d.ts","bugs":{"url":"https://github.com/0bdx/srv-api/issues"},"homepage":"https://github.com/0bdx/srv-api#readme","devDependencies":{"@0bdx/build-helpers":"^0.0.4","@rollup/plugin-node-resolve":"^15.0.2","@types/node":"^18.15.3","rollup":"^3.19.1"},"dependencies":{"@0bdx/ainta":"^0.0.15","@0bdx/cli-config-helpers":"^0.0.1"},"gitHead":"c06ba28d09cf702296a41b89454ffb371d0bb3d7","_id":"@0bdx/srv-api@0.0.2","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-MVEDV5VaUCc/AdSJF+dTdzqMjKTU2iaeQV1EzeSlFYwwN4B2b9JUtpzOjY/11LKr21zNJ9XFzXn1iMt6vRP1Ig==","shasum":"aae605cae4f80b10a0766d2602ac4b7dbabd65ec","tarball":"https://registry.npmjs.org/@0bdx/srv-api/-/srv-api-0.0.2.tgz","fileCount":5,"unpackedSize":123032,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAMiyqqr+uSHJ4/RCutDKvpoPqon8L3g4Tu6Y3r+Ja7fAiBsLuRuDhT+i5mEWq4pzWgUWTL4qpCJ6uzRAudPrTZf1Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNQqiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUIg/8D8gi++GJH5afV9zFnGIdSv22Epwidl3zisxC/1dDKrEDqVDr\r\nSOGxFTwDMHAlQrk+Rku3tD1HiZVU1NYIpKVJejorFChngn0S3mBJiLu6Jn4Z\r\nVG8OQMxsK2mnw28BJxiJFa+PaJaV2y6TNXjYNIhSzOVDZlCQY0AofWxVHPk4\r\nuFRsCwFpjsNKVS7lFANfibiWw05azF1rT1WAQjcTmTB5dxGNLdTsmQPa8sI8\r\ne7qGsvusJbg8Dxlq9s88Rnos52pOaXOetwDkrRE6Ke6AyfEywUuGN2usmE7F\r\nmZG/1dLEtQ/FUz+HUPqqRGLC5nRNgY6UxP8amJbG8Mm1o1TK61QltPXU2cMk\r\n3B1WQgaJPK8KgW+6qfnJxqnKeKsUCeI8/OpaWc/gu6+SYtpSo9FqJpGayguL\r\nAotkaMvDSF8YzCEV30uVkC4yRELM39YCkMY/aqqc3F0zrAH3IH38tNlhhIDL\r\neWGiWRwlNcKtxBOQB7AKTL3E9USAC36rE05aI4gJ224O+B+1I2i58AxkS/sm\r\nIz/qFZmOqfoA16+DR1mXfFR8aRTFkQoJXtnuQPBkPgcvB1w9kBPS4wrcbUXr\r\nlIHdPEBHgSPfiU7GnH/bCQmAxBPzsLxpn65pFhlKkOuKxyDXzKJOVirsB2zS\r\nA4l6i/HOyQvG7Xs9K7dApFr1c3IG6ZzXVLA=\r\n=Mvl/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"0bdx","email":"0bdx.com@gmail.com"},"directories":{},"maintainers":[{"name":"0bdx","email":"0bdx.com@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/srv-api_0.0.2_1681197729922_0.1497536552016525"},"_hasShrinkwrap":false},"0.0.3":{"name":"@0bdx/srv-api","version":"0.0.3","description":"A simple JSON API in Node.js which works with Mongo-like databases.","type":"module","engines":{"node":">= 16.0.0"},"main":"srv-api.js","scripts":{"build:prod":"rollup -c","build:types":"tsc srv-api.js --allowJs --declaration --emitDeclarationOnly","build":"for s in {prod,types};do npm run build:$s;done","preflight:test":"echo \"🧬 test.js\" && node test.js","preflight:types":"tsc srv-api.js --allowJs --checkJs --noEmit","preflight":"for s in {test,types};do npm run preflight:$s;done","start:src":"node src/server.js","test":"echo \"🧪 src/test.js\" && node src/test.js","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/0bdx/srv-api.git"},"keywords":["api","AWS","MongoDB","starter"],"author":{"name":"0bdx","email":"0@0bdx.com","url":"0bdx.com"},"license":"MIT","types":"./srv-api.d.ts","bugs":{"url":"https://github.com/0bdx/srv-api/issues"},"homepage":"https://github.com/0bdx/srv-api#readme","devDependencies":{"@0bdx/build-helpers":"^0.0.4","@0bdx/cli-config-helpers":"^0.0.1","@rollup/plugin-node-resolve":"^15.0.2","@types/node":"^18.15.3","rollup":"^3.19.1"},"dependencies":{"@0bdx/ainta":"^0.0.15"},"gitHead":"f4c7735c7bb6345e1433683adfeebbffae9b99f8","_id":"@0bdx/srv-api@0.0.3","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-w96JbnaOIynWBQ0JgJCZI8D/WIujFM8jzPGNBuq9lUKKtoIl3ROFTJ1lRdPYk5NNeQymJF7FBBEaibneoCeBcA==","shasum":"8efaefd62f1edd3f7e3ce55da0cd8bbfa6ecce75","tarball":"https://registry.npmjs.org/@0bdx/srv-api/-/srv-api-0.0.3.tgz","fileCount":5,"unpackedSize":123075,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmQLNayw7+stvUtjmkbKgKcNEpWM+UkArlwQ9uXW/kXAIgDdwEqUiszArmLfM5y8qpfEQsQ0FXKBQ5G6UTdZXKrnY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNQx3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqkYw//f707FkQ9cgha1z6Yc/1xLRdb23YF60bObLzUwTVmkkUTdH7A\r\nxmypBPNCDukyWta0opBcL0XGohZXs0xN7xJTLPxDsl4PR6tBPkzaTaVa4aVe\r\n7yKblhKtFZq6oyyDVC30thYCdXPgK78yqHEoep9R435nUSl2hGauGcO85Th1\r\nL2ENvS1aBEYbzgmEVaWs9766peoi2XxyqXhlbiHJeFKT68MYl92z4YPebUkg\r\n/W0F/VSDn+hoEkrJJndQ6a3z30zW7wVq3cPILu1uDQtoGkPxFqFNe0ELsEOi\r\npw8fW84G4PpVtvm4+mdc4u4GYZUxO9/IC4eXzesYQy02bRSa9cJdEQVkvrK2\r\nXPRjnxuDjPJtqVQ+tpTd9s3y48mfI6ao2fHs3pCJzDrgfix5LHhxJHc3V8iI\r\nEnqJ/5sUgmYA+2f8LnR9cFX3wmkNs6tsEmxp7JUw0wGDvPonIM1e4ZmFLeuK\r\ni649NFLRA//sfnWbECpXoIeGqQVgS2+mQZ/dKuYG9yR0h7dbKFAu1xYo4Qv3\r\nQ3rh4ioJ/vjmt/teHlUVJH7jvB4TfkURibLX/UK7zPm7WuhIXFR1U3lzAzet\r\n9XSucAMoFCg1z7ebRHdbN2Hd+9cLKd2d/jzY3gdf+r3Ih506maFhxD2MICu2\r\nTIAb8SIr0zkjHaqUIzE+vqGPQVHY+Yah8Hw=\r\n=XzG7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"0bdx","email":"0bdx.com@gmail.com"},"directories":{},"maintainers":[{"name":"0bdx","email":"0bdx.com@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/srv-api_0.0.3_1681198198920_0.9870504557872957"},"_hasShrinkwrap":false},"0.0.4":{"name":"@0bdx/srv-api","version":"0.0.4","description":"A simple JSON API in Node.js which works with Mongo-like databases.","type":"module","engines":{"node":">= 16.0.0"},"main":"srv-api.js","scripts":{"build:prod":"rollup -c","build:types":"tsc srv-api.js --allowJs --declaration --emitDeclarationOnly","build":"for s in {prod,types};do npm run build:$s;done","preflight:test":"echo \"🧬 test.js\" && node test.js","preflight:types":"tsc srv-api.js --allowJs --checkJs --noEmit","preflight":"for s in {test,types};do npm run preflight:$s;done","start:src":"node src/server.js","test":"echo \"🧪 src/test.js\" && node src/test.js","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/0bdx/srv-api.git"},"keywords":["api","AWS","MongoDB","starter"],"author":{"name":"0bdx","email":"0@0bdx.com","url":"0bdx.com"},"license":"MIT","types":"./srv-api.d.ts","bugs":{"url":"https://github.com/0bdx/srv-api/issues"},"homepage":"https://github.com/0bdx/srv-api#readme","devDependencies":{"@0bdx/build-helpers":"^0.0.4","@0bdx/cli-config-helpers":"^0.0.1","@rollup/plugin-node-resolve":"^15.0.2","@types/node":"^18.15.3","rollup":"^3.19.1"},"dependencies":{"@0bdx/ainta":"^0.0.15"},"gitHead":"2ee7e9de9dd945955788e1ab037d328c4444ed1b","_id":"@0bdx/srv-api@0.0.4","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-YxTZbWdHoPIH3PMKee03MsgIpXeJTAQ9rV372HJ2iSvxXikrKPy2FfjdixSh4d+H+R6m56eqWE7J3wfQcm7a4Q==","shasum":"738f2252496c5cda1cc6aa499745688a95b0f8da","tarball":"https://registry.npmjs.org/@0bdx/srv-api/-/srv-api-0.0.4.tgz","fileCount":5,"unpackedSize":123040,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXD7Y4fAR3SvugXMGlKiL1hnxV9tCjENlMs31IsB+9bwIgQdyqm4PAdOchF74Mb6f/+Y4EaQCNa6BnG1oVQa5R9XM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNQ3/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVNQ//clDCPAStBBCqUJchGYtckFTODFObDDpOOXnop8hbXSgMQ+kk\r\nFj4UD4xtojZg/6PALfC+BmvO1rNX91cdTt4Z8FpapDTHvxfM7Udnw6DJI2Lo\r\nvIJgyH+0h6mRZc/mkScKzJJanlxrv6mguiM2Tp2rUi1e2LMCg2a68iwQ1/yR\r\n8aPk2/EjyZiupWJNz/oELGvp2zqzpN9kiecguGP4OxuHH34mhn5UeLQZitB2\r\nzQbGsPt0QHMVWkOYgmNKxOqfrOWJdl0KxkuIPuIr436ubXuP1FH8m/LAr5EH\r\n0hBcsBf5UisuqxZNdjImnr9vU9VKIYR0ma3obkos+YLGbX5FXpEuP3zTbWTM\r\nswa7fhxeyZxXTxp5JCV3/ynGtHmN0zCFSYO1mOqjGxFHfSLqQDprAOSmH+xZ\r\nguUhC+7hBnFheS5ZAJji2E5uXoYNHNYp7x75CfIa5hg3PGbGVPuMRlgBHSPm\r\n3bXoeWzclogrCviLj/H8iKWztipiR/Jw6QGbuZCVGYMEaovsmW95vwDckIHz\r\nTFWhYBU1D3RJ/1tdLOE59yAouL346aiGX9eITOlVqC63/CfA2otmmBPJblQe\r\nx2usQGencnKFUsxDDhPmuVwC7ZdSIInDcfZe+pNRi4cJRoV8vD/9jqceZ97r\r\nr+oh8hJF24Y4+H/QsggTIVYfhdml775sb8Y=\r\n=M32x\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"0bdx","email":"0bdx.com@gmail.com"},"directories":{},"maintainers":[{"name":"0bdx","email":"0bdx.com@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/srv-api_0.0.4_1681198591154_0.8087831798759391"},"_hasShrinkwrap":false},"0.0.5":{"name":"@0bdx/srv-api","version":"0.0.5","description":"A simple JSON API in Node.js which works with Mongo-like databases.","type":"module","engines":{"node":">= 16.0.0"},"main":"srv-api.js","scripts":{"build:prod":"rollup -c","build:types":"tsc srv-api.js --allowJs --declaration --emitDeclarationOnly","build":"for s in {prod,types};do npm run build:$s;done","preflight:test":"echo \"🧬 test.js\" && node test.js","preflight:types":"tsc srv-api.js --allowJs --checkJs --noEmit","preflight":"for s in {test,types};do npm run preflight:$s;done","start:src":"node src/server.js","test":"echo \"🧪 src/test.js\" && node src/test.js","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/0bdx/srv-api.git"},"keywords":["api","AWS","MongoDB","starter"],"author":{"name":"0bdx","email":"0@0bdx.com","url":"0bdx.com"},"license":"MIT","types":"./srv-api.d.ts","bugs":{"url":"https://github.com/0bdx/srv-api/issues"},"homepage":"https://github.com/0bdx/srv-api#readme","devDependencies":{"@0bdx/build-helpers":"^0.0.4","@0bdx/cli-config-helpers":"^0.0.1","@rollup/plugin-node-resolve":"^15.0.2","@types/node":"^18.15.3","rollup":"^3.19.1"},"dependencies":{"@0bdx/ainta":"^0.0.15"},"gitHead":"d1bb6df7c9a4615b671ad83bdd8e3548384bbf40","_id":"@0bdx/srv-api@0.0.5","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-4FcouvaYQtYh7aqO/89oeRLbUc1DZcJJsB8S/gma3FDZKvUetb9RsCb8gM9ev8gBFdJcNE+8mSzf/QDfHij4Ag==","shasum":"57dbc3500df09404948c7d3d90fe63c7a4aef5be","tarball":"https://registry.npmjs.org/@0bdx/srv-api/-/srv-api-0.0.5.tgz","fileCount":5,"unpackedSize":127341,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbOT10sjj0NrKnTWbmIS8XlxULDWFrN6SdVg5IIvenqAiEA+SWkrAedsBWz+J7wJ/Y2FFN/RKO23W4YaaEBbMYlIoQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNT9wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpqQA//ekf0pA07FQkQ/10Huene+ndxi+El91rDmQhmECiHqfe2iUMW\r\nICeYftMNbDymw2wW4wtpzYCIv03fWxG3WKrEuv04U+9rHDu4Mro15aAgBKhJ\r\nAWLfldviTN/y9R1A64grIwChE6U/qMtptzPVWtkEjLHGp3IdJO6T17C6VBxm\r\nMae0UlERuLGVFYbWVX/RJeZHrTb+BdlFvnaKU8PO04d9CeX2LVbA/jhgjuMy\r\nKTBn8m8HUvMKVKm0TPV2GK7RXnIwkSMPoi4Ec9AOOM85yt6evNfZXeCaI/p0\r\n0Hd16rRoL66nETrDI52O11Bs74WbeoT3sv21T6xV0JZkQEH1U+9ct2duExnh\r\nrhRn8C5b1wOgfJlfIQvCDAKh3870DL7tha1YffMWZMJP1MjTyGS72bGuYh4o\r\n2q5baFadJ4oOwsJOUgttcdp/jllURjp+b8CGuJC32GKBoVEGaleIvR+Kr56r\r\nv0HORt9TAFFBwLAIwP6tRgZCd06z+WeQF1NumZLh0Ovhq3dLFsSACt/Ws0Rs\r\ne0hu3cMbvS3Fq/uOYChhuRZmei37RenbxzM2GRZmvtyoOYSJOVO/yFAoY8iW\r\nhXF9OZELeA4CRky63CuLWfrWhsJ47wvXmKkya23C0ta/S5O+BS8wr9DEUxyc\r\nYj37Mxh/NwgMzuWrsRf1wAygSctAW3MZTWQ=\r\n=5JkO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"0bdx","email":"0bdx.com@gmail.com"},"directories":{},"maintainers":[{"name":"0bdx","email":"0bdx.com@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/srv-api_0.0.5_1681211248420_0.11577173266880592"},"_hasShrinkwrap":false},"0.0.6":{"name":"@0bdx/srv-api","version":"0.0.6","description":"A simple JSON API in Node.js which works with Mongo-like databases.","type":"module","engines":{"node":">= 16.0.0"},"main":"srv-api.js","scripts":{"build:prod":"rollup -c","build:types":"tsc srv-api.js --allowJs --declaration --emitDeclarationOnly","build":"for s in {prod,types};do npm run build:$s;done","preflight:test":"echo \"🧬 test.js\" && node test.js","preflight:types":"tsc srv-api.js --allowJs --checkJs --noEmit","preflight":"for s in {test,types};do npm run preflight:$s;done","start:src":"node src/server.js","test":"echo \"🧪 src/test.js\" && node src/test.js","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/0bdx/srv-api.git"},"keywords":["api","AWS","MongoDB","starter"],"author":{"name":"0bdx","email":"0@0bdx.com","url":"0bdx.com"},"license":"MIT","types":"./srv-api.d.ts","bugs":{"url":"https://github.com/0bdx/srv-api/issues"},"homepage":"https://github.com/0bdx/srv-api#readme","devDependencies":{"@0bdx/build-helpers":"^0.0.4","@0bdx/cli-config-helpers":"^0.0.1","@rollup/plugin-node-resolve":"^15.0.2","@types/node":"^18.15.3","rollup":"^3.19.1"},"dependencies":{"@0bdx/ainta":"^0.0.15"},"gitHead":"0c9b4a2413c7d2cac3b49cb26044fdc77dc3a42b","_id":"@0bdx/srv-api@0.0.6","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-6fzlavVkLfMLUwLwFawHHdSuCxnijNdGlMXGjJDs9Zhtn125/Ft8Fe+nP0m/HJA6y0z4t9icsGN3iS/vOjLYPg==","shasum":"5911f612bfea09a9d1f153349f097f43f47059fb","tarball":"https://registry.npmjs.org/@0bdx/srv-api/-/srv-api-0.0.6.tgz","fileCount":5,"unpackedSize":128911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEtOyBmahZCbvD3csTKOfMt4mb+9cmRz+smIMdwXX8ifAiBJgF7fxL3T+TfKdF8kbw88VyZcq0/RYpw6Ybct4d4IoQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkN9LpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNGQ/9GnFU4K40byP/Z7hnEfc65fCSw5GD6jsrUcg78tIGI6Rf0Yb8\r\nxs26zclx2R5qNSCa9VQkuJ1i9DwYj9kYyA9YCggCXpNa/PR0yiqvUcFob5NF\r\nhaYmuLaRp/f/he+idTEfaefBkj5lmn+/gmjMtEZb+oWDu93WfVO1BJ6Xpyi1\r\nDmxETQqdIM42dFq6clNvuOZ69t5Q8RXhJ7vspoxE6+6ISpBA3maBkLlrwm5J\r\nuW2RiEpYpCN5MGehan+d36cQa+zhzv1llDiSMZ9x+PSRVdvfXNFXl7vdzngz\r\n6L3Lbd+7Kiu79KNgXUzolv7IJQTz5H4JPGI6uCvaM1wx4ab8TxaCwityCicj\r\na2jUyl8jT59jxrLHO11sKDUOgZ4e9sMhw3sRpHo5UXQbsMBs2Kzb0LKwsvbp\r\nfiX6OWg2MMQGDJQFD2X0lLHR05ucy8q2ekzloO3EVrp2RDE76qp4a+/hEu3V\r\nnYzw2Srx/qIifRx055jPQdse7gTrWfmndjT5XFrfvtTOmqYWcpWwcvz7QOXf\r\n79QQ0w0dT89esoCndi9UJ2atA9tMwaQZGVonOv6PmZu0RnHxGxVr1m20dWMI\r\n2TzTr8Sdzv8YbUefIK0AjXUevR5zZcvie6C7plaI3TWvlOiVWIu/RGOia2W7\r\naTx4UCkHTj8EJwZCqQ3GlW3Ai6nnT1LyWa8=\r\n=Ahan\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"0bdx","email":"0bdx.com@gmail.com"},"directories":{},"maintainers":[{"name":"0bdx","email":"0bdx.com@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/srv-api_0.0.6_1681380073186_0.24458471496873724"},"_hasShrinkwrap":false},"0.0.7":{"name":"@0bdx/srv-api","version":"0.0.7","description":"A simple JSON API in Node.js which works with Mongo-like databases.","type":"module","engines":{"node":">= 16.0.0"},"main":"srv-api.js","scripts":{"build:prod":"rollup -c","build:types":"tsc srv-api.js --allowJs --declaration --emitDeclarationOnly","build":"for s in {prod,types};do npm run build:$s;done","preflight:test":"echo \"🧬 test.js\" && node test.js","preflight:types":"tsc srv-api.js --allowJs --checkJs --noEmit","preflight":"for s in {test,types};do npm run preflight:$s;done","start:src":"node src/server.js","test":"echo \"🧪 src/test.js\" && node src/test.js","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/0bdx/srv-api.git"},"keywords":["api","AWS","MongoDB","starter"],"author":{"name":"0bdx","email":"0@0bdx.com","url":"0bdx.com"},"license":"MIT","types":"./srv-api.d.ts","bugs":{"url":"https://github.com/0bdx/srv-api/issues"},"homepage":"https://github.com/0bdx/srv-api#readme","devDependencies":{"@0bdx/build-helpers":"^0.0.4","@0bdx/cli-config-helpers":"^0.0.1","@rollup/plugin-node-resolve":"^15.0.2","@types/node":"^18.15.3","rollup":"^3.19.1"},"dependencies":{"@0bdx/ainta":"^0.0.15"},"gitHead":"97c477ac518d6909d022ca453d6471b41537b0c8","_id":"@0bdx/srv-api@0.0.7","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-sToK4h5SucQ5lMrQAddo63qXWcmrWNeonrc4+8ob+crKPwV3oOyIfIwQhTdLpp0FlMH3y5MDqOdIsZY4Z44eSQ==","shasum":"22870df6dfcdde7bee5ec70c5af601914c6e1184","tarball":"https://registry.npmjs.org/@0bdx/srv-api/-/srv-api-0.0.7.tgz","fileCount":5,"unpackedSize":130636,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDH09n7r0knnht1Mv23dkXh6u5YPjdUMaYsUSpEKrMV9wIgJD/DQ/W+ZGvAtpXyPKwrPTbwuXXtQD7Iht2bRup67a8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkN9k7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLEw//e0MvtKtphYryn8+4jqkhBSLYTpMmreJXWAG1wNSIMuJAhmEX\r\n310B/hkOc7WRVUEaXwcbeAPeoiYyEBC7WTqbJ0xJmggngzmwWx4RSToK7cS3\r\nU50CHoqrogvSZr0ogqS1D91MV02+59lZk64qb8G3knTxR4fWutM8RPHOWTFz\r\nrWB3bpySZNTd7t1i+IfIDZ2Yrlk1qFahGgoGWG+YvxSISkZLy7cRCgDnNkKF\r\nD5z223Kxtrf0oj8Fyd9v11FMYHW3+rorO5mPkuT95ORfi1vZVU0nFakIduv4\r\ndLzm33vX5dfabQdwEHTAxKOtwa9ru+Vhfc6qBsxcr5dgwFl2MZgJiTiwIpBb\r\nShNWODRtrLGD4IK/ml+dO38PLyZafmQ2FTTr5qHNv7wvk8zGeIHpDrM/fjXC\r\nse9ZoN9iqLKMpwA5VG0owi5tsOQ2X10maM3Wnk9KCCXyyQh5co4RKaF4U2ga\r\nImnDZ7D8sUllHYv0KhMPg/Cp7R1pgB/dC3ncK57RBkKCdTIDSddTk+fb3Q11\r\nzb5qLc+ueHLSfux+Vzx1VECxIJOCANOgBwTQILfqkAnW1pgsNZTXghoCLR1D\r\n8E7FllHoVWAkZue7QG2uEUTzFLjAaQrdyTAiymuzOT1yTsUdQbp1CYS5JEgW\r\nwOSQi9sJ/PvSWnlIDadC8VQE+yum/Cn4kTU=\r\n=jJ3+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"0bdx","email":"0bdx.com@gmail.com"},"directories":{},"maintainers":[{"name":"0bdx","email":"0bdx.com@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/srv-api_0.0.7_1681381690977_0.7707463033771127"},"_hasShrinkwrap":false},"0.0.8":{"name":"@0bdx/srv-api","version":"0.0.8","description":"A simple JSON API in Node.js which works with Mongo-like databases.","type":"module","engines":{"node":">= 16.0.0"},"main":"srv-api.js","scripts":{"build:prod":"rollup -c","build:types":"tsc srv-api.js --allowJs --declaration --emitDeclarationOnly","build":"for s in {prod,types};do npm run build:$s;done","preflight:test":"echo \"🧬 test.js\" && node test.js","preflight:types":"tsc srv-api.js --allowJs --checkJs --noEmit","preflight":"for s in {test,types};do npm run preflight:$s;done","start:src":"node src/server.js","test":"echo \"🧪 src/test.js\" && node src/test.js","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/0bdx/srv-api.git"},"keywords":["api","AWS","MongoDB","starter"],"author":{"name":"0bdx","email":"0@0bdx.com","url":"0bdx.com"},"license":"MIT","types":"./srv-api.d.ts","bugs":{"url":"https://github.com/0bdx/srv-api/issues"},"homepage":"https://github.com/0bdx/srv-api#readme","devDependencies":{"@0bdx/build-helpers":"^0.0.4","@rollup/plugin-node-resolve":"^15.0.2","@types/node":"^18.15.3","rollup":"^3.19.1"},"dependencies":{"@0bdx/ainta":"^0.0.16","@0bdx/cli-config-helpers":"^0.0.2"},"gitHead":"8ffa12e0c7fc57db004efa893d0364ca5f0d0df1","_id":"@0bdx/srv-api@0.0.8","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-fnEvLgmZX3JLPl5r0F+fm6uCc7CUsj5fp0wOpa+8heFybV8ByeiU+KUBBYd8uLr+S0JtNvj+uRdYH2klhhsSXw==","shasum":"f5e4fbc9e4737654b67189d3095a472d8037ed41","tarball":"https://registry.npmjs.org/@0bdx/srv-api/-/srv-api-0.0.8.tgz","fileCount":5,"unpackedSize":130857,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI9Bwxn1QC6uSe1x8+vPFbGAgftK6oYsPJ267aki+PggIgdZd0A9NVzRtBP54U0aiCcJfy6EEl3dN04WtVDBMvG6Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOH6KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptEA//aMXqv8tGfMXSp0b5y3bStUPqhyU7djxT0pWf9rPDVPikKxrZ\r\ng6UPCNNzXzBnUmuNHGegN8uhCBYvDkdEPKVw17w2aQdO6OE11VYeo2ILGoEd\r\n15xKxR34Yss3iWY3MLluq0w+i2RGgoh3l/kWiIRsic3L//UJHBi7dN92w2De\r\nAU8wbms9sysfb3gl9fWnYD43tJgNW7l9/yB2RQ6Zqcf0kCHkDLuq5rZjedUI\r\nBYB/vHYxSn40C2XRzMKAfW3oEAkS29Cg2hWqnhXHPkqFvM2ksaMyPGBvCFK0\r\nn8S3adP6dom5CyRBMUPmJ75laaHWOjD7rZC4lihuQCt9gynMXdvoCU/Z5Xei\r\nI3wE1spluVAs8jBJPSqal4CWWYycJsWUv2Xm9mHddksRoZObTxW6+6BgW/zz\r\nqtxLGX/zKd/iJq20lcwaZQ1TcF2LigFG7fVEqo6HSztTxhCVCAAADHXJ009g\r\n032LFwBy4+4BLoayeSUp7zPbAq7Y4VV9goePZexa9guIfEjMPrGImFQfcfph\r\noC/384CJvUJjaQVQkHjCu+/ICaBUPIi0jCKHHMuviytbwaxIyiONm2TypJsP\r\nzOEQrF6VpFsuutJzf1Q6Vdh+muGWzJthMBMDRk6zdNHDCv/WCS8Lo+78WHin\r\ncHIbCO4Hnp50cFSc/SWCuignwMh0a0f1Q1Y=\r\n=eBZO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"0bdx","email":"0bdx.com@gmail.com"},"directories":{},"maintainers":[{"name":"0bdx","email":"0bdx.com@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/srv-api_0.0.8_1681424010084_0.7355894247675367"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-10T21:10:29.282Z","0.0.1":"2023-04-10T21:10:29.602Z","modified":"2023-04-13T22:13:30.395Z","0.0.2":"2023-04-11T07:22:10.162Z","0.0.3":"2023-04-11T07:29:59.081Z","0.0.4":"2023-04-11T07:36:31.358Z","0.0.5":"2023-04-11T11:07:28.565Z","0.0.6":"2023-04-13T10:01:13.347Z","0.0.7":"2023-04-13T10:28:11.205Z","0.0.8":"2023-04-13T22:13:30.279Z"},"maintainers":[{"name":"0bdx","email":"0bdx.com@gmail.com"}],"description":"A simple JSON API in Node.js which works with Mongo-like databases.","homepage":"https://github.com/0bdx/srv-api#readme","keywords":["api","AWS","MongoDB","starter"],"repository":{"type":"git","url":"git+https://github.com/0bdx/srv-api.git"},"author":{"name":"0bdx","email":"0@0bdx.com","url":"0bdx.com"},"bugs":{"url":"https://github.com/0bdx/srv-api/issues"},"license":"MIT","readme":"# @0bdx/srv-api\n\n__A simple JSON API in Node.js which works with Mongo-like databases.__\n\n∅&nbsp; __Version:__ 0.0.8  \n∅&nbsp; __NPM:__ <https://www.npmjs.com/package/@0bdx/srv-api>  \n∅&nbsp; __Repo:__ <https://github.com/0bdx/srv-api>  \n∅&nbsp; __AWS Billing Dashboard:__\n    <https://eu-central-1.console.aws.amazon.com/billing>  \n∅&nbsp; __App Runner Console:__\n    <https://eu-central-1.console.aws.amazon.com/apprunner>  \n\n## Running locally\n\nTo use port 1234 (instead of 8080, the default):  \n`$ PORT=1234 npm start`\n\n## AWS billing\n\nAll prices here are before tax.\n\n### __GitHub connections billing__\n\nAs far as I can tell, ‘GitHub connections’ do not appear on the AWS invoice, and\nare not charged for.\n\n### __Bandwidth billing__\n\nBandwidth falls under the year-long free tier, and memory-usage does not seem to\nbe charged-for:\n- Bandwidth $0.000 per GB - data transfer out under the monthly global free tier 0.002 GB = USD 0.00\n\n### __App Runner billing__\n\nApp Runner is fairly cheap. You are charged by the hour, with separate charges\nfor the ‘build’ service, and the ‘run’ service. The ‘run’ service is divided into\n‘provisioned’ (which I think is “up time”), and a charge for CPU time.\n\nOn the free tier, while developing this repo, I recreated the app maybe twelve\ntimes, so the ‘build’ charge is much higher than a real app would be:\n- USD0.005 per Mins for AppRunner-Build-mins in EU (Frankfurt) 21 Mins = USD 0.11\n- AWS App Runner - Provisioned - GB-hours - EU (Frankfurt) __8.122 hours__ = __USD 0.07__\n- USD0.074496 per vCPU-hour for AppRunner-vCPU-hours:RunService in EU (Frankfurt) 0.004 vCPU-hour = USD 0.00\n\nNote that ‘Automatic deployments’ could cost $1 per application per month.  \nI did try using these, but didn’t see a charge appear on my bill yet.\n\n### __Bandwidth billing__\n\nBandwidth falls under the year-long free tier, and memory-usage does not seem to\nbe charged-for:\n- Bandwidth $0.000 per GB - data transfer out under the monthly global free tier 0.002 GB = USD 0.00\n\n### __CloudWatch billing__\n\nThere’s a free log-monitoring service called CloudWatch which could probably be\nswitched off (the App Runner console provides logs you can manually refresh):\n- Amazon CloudWatch 0.00 per alarm metric month - first 10 alarm metrics 0.001 Alarms = USD 0.00\n- AmazonCloudWatch EUC1-TimedStorage-ByteHrs First 5GB-mo per month of logs storage is free. 0 GB-Mo = USD 0.00\n- AmazonCloudWatch PutLogEvents First 5GB per month of log data ingested is free. 0 GB = USD 0.\n\n## Set up AWS\n\n### __Set up the GitHub connection__\n\nClick ‘GitHub connections’ in the sidebar at <https://eu-central-1.console.aws.amazon.com/apprunner>.  \nIf this is the first time you’ve used App Runner, it will probably be empty.  \n\nClick ‘Create an App Runner service’ at <https://eu-central-1.console.aws.amazon.com/apprunner>.  \nClick ‘Source code repository’.  \nUnder ‘Connect to GitHub’, click ‘Add new’.  \nWait for a new window to open (disable your popup-blocker browser extension).  \n- Connection name: `srv-api--cnx`\n- GitHub app: Allow AWS to connect to your GitHub account \n\nAfter clicking ‘Next’, and clicking ‘GitHub connections’ in the sidebar again,\nyou should see `srv-api--cnx` listed.\n\n### __Set up the App Runner instance__\n\nThis app is set to deploy from `main`, manually (so, pushes to `main` do not\nautomatically deploy a new version of the service).\n\nClick ‘Create an App Runner service’ at <https://eu-central-1.console.aws.amazon.com/apprunner>.\n- Repository type: `Source code repository`\n- Connect to GitHub: `srv-api--cnx` • `srv-api` • `main`\n- Deployment trigger: `Manual` (or `Automatic`, which costs $1 per application per month)\n- Configuration file: `Configure all settings here`\n- Runtime: `Nodejs 16`\n- Build command: `npm install` (should only install deps, not †he dev-deps)\n- Start command: `npm start` (or `npm start -- -dvw` while debugging)\n- Port: `8080`\n- Service name: `srv-api-App-Runner-Instance`\n- Virtual CPU & memory: `1 vCPU` • `2 GB`\n- Health check: Path: `/` (which __*MUST*__ respond with a 200 HTTP status)\n- Health check: Interval: `20` (once every 20 seconds is the maximum AWS allows)\n\n…and keep the defaults for all the other settings.  \nClick ‘Next’ and then ‘Create and deploy’.  \nw","readmeFilename":"README.md"}