{"_id":"@arpinum/eventstore","_rev":"10-3c81ae5c840887957db89695fde197cf","name":"@arpinum/eventstore","dist-tags":{"latest":"2.2.6"},"versions":{"2.2.1":{"name":"@arpinum/eventstore","version":"2.2.1","description":"Simple event store based on PostgreSQL","main":"build/index.js","types":"build/index.d.ts","files":["build"],"scripts":{"tslint":"tslint --fix 'lib/**/*.ts'","jest:unit":"jest --config ./tests/jest.config.js","jest:e2e":"jest --config ./tests/jest.config.e2e.js","testw":"jest --config ./tests/jest.config.js --watch","prettier":"prettier --write '**/*.{js,json,md,ts}'","compile":"tsc --noEmit","test":"run-s -c compile jest:unit tslint","prebuild":"rm -rf ./build","build":"tsc","preversion":"run-s test build","postversion":"git push && git push --tags && npm publish"},"author":{"name":"Arpinum"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/arpinum-oss/js-eventstore.git"},"keywords":["event","eventstore","ddd","cqrs","eventsourcing"],"devDependencies":{"@types/jest":"22.2.0","@types/knex":"0.14.8","@types/node":"9.4.6","@types/sinon":"4.3.0","jest":"22.4.2","npm-run-all":"4.1.2","prettier":"1.11.1","sinon":"4.4.2","ts-jest":"22.4.1","ts-node":"5.0.1","tslint":"5.9.1","tslint-config-prettier":"1.9.0","typescript":"2.7.2"},"dependencies":{"knex":"0.14.4","pg":"7.4.1","pg-query-stream":"1.1.1"},"gitHead":"2a99de4adcd94f8620b5a9a106151ec42ee73b5b","bugs":{"url":"https://github.com/arpinum-oss/js-eventstore/issues"},"homepage":"https://github.com/arpinum-oss/js-eventstore#readme","_id":"@arpinum/eventstore@2.2.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"arpinum","email":"contact@arpinum.fr"},"dist":{"integrity":"sha512-5bFx1/9WAyycJIhzdk2FgZr45SjxGUlBql9/HZdYdX8aS0QIL6EYMad3SBmcAjKDNj78vUvq0kB5KQ/GFzBmJQ==","shasum":"821bec7ab8ec4848fe5942730b013c9985b498a0","tarball":"https://registry.npmjs.org/@arpinum/eventstore/-/eventstore-2.2.1.tgz","fileCount":17,"unpackedSize":19211,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCy8QzaZknUJPCT9Yz2tzUKtniHJh+fPMCII/qr3Dkj5AIhAKAk4umxu5wOSWyEWni+8e+BGmuqdAiSCoOchvvYU2Rp"}]},"maintainers":[{"name":"arpinum","email":"contact@arpinum.fr"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eventstore_2.2.1_1522933074844_0.9150732749982471"},"_hasShrinkwrap":false},"2.2.2":{"name":"@arpinum/eventstore","version":"2.2.2","description":"Simple event store based on PostgreSQL","main":"build/index.js","types":"build/index.d.ts","files":["build"],"scripts":{"tslint":"tslint --fix 'lib/**/*.ts'","jest:unit":"jest --config ./tests/jest.config.js","jest:e2e":"jest --config ./tests/jest.config.e2e.js","testw":"jest --config ./tests/jest.config.js --watch","prettier":"prettier --write '**/*.{js,json,md,ts}'","compile":"tsc --noEmit","test":"run-s -c compile jest:unit tslint","prebuild":"rm -rf ./build","build":"tsc","preversion":"run-s test build","postversion":"git push && git push --tags && npm publish"},"author":{"name":"Arpinum"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/arpinum-oss/js-eventstore.git"},"keywords":["event","eventstore","ddd","cqrs","eventsourcing"],"devDependencies":{"@types/jest":"22.2.0","@types/knex":"0.14.8","@types/node":"9.4.6","@types/sinon":"4.3.0","jest":"22.4.2","npm-run-all":"4.1.2","prettier":"1.11.1","sinon":"4.4.2","ts-jest":"22.4.1","ts-node":"5.0.1","tslint":"5.9.1","tslint-config-prettier":"1.9.0","typescript":"2.7.2"},"dependencies":{"knex":"0.14.4","pg":"7.4.1","pg-query-stream":"1.1.1"},"gitHead":"83aeb20d140e3ced5b946d9ce45246bd1db8fe09","bugs":{"url":"https://github.com/arpinum-oss/js-eventstore/issues"},"homepage":"https://github.com/arpinum-oss/js-eventstore#readme","_id":"@arpinum/eventstore@2.2.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"michaelborde","email":"michael.borde@ubimail.fr"},"dist":{"integrity":"sha512-XCYvnhBKpFmDVWlg6QQhg0QDj8LkO1tXWnk9615GnRg1PGSb+uDk+V8ZdK/NVuCz6ypjxcMhqH788GlHGsq5lA==","shasum":"7d203f528e3bc8bf306b4cb57798ad898a08cf3f","tarball":"https://registry.npmjs.org/@arpinum/eventstore/-/eventstore-2.2.2.tgz","fileCount":17,"unpackedSize":20120,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBjMJDUJEkrC5VpAVuTLLD/gfJ0ZkPBWryg2xiR4gC+9AiEAhae2vESbLZ5+sEFzWpLD9H+alaD6OkSL7GTY8xedXtE="}]},"maintainers":[{"email":"contact@arpinum.fr","name":"arpinum"},{"email":"michael.borde@ubimail.fr","name":"michaelborde"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eventstore_2.2.2_1522933431281_0.9026892792612189"},"_hasShrinkwrap":false},"2.2.3":{"name":"@arpinum/eventstore","version":"2.2.3","description":"Simple event store based on PostgreSQL","main":"build/index.js","types":"build/index.d.ts","scripts":{"tslint":"tslint --fix 'lib/**/*.ts'","jest:unit":"jest --config ./tests/jest.config.js","jest:e2e":"jest --config ./tests/jest.config.e2e.js","testw":"jest --config ./tests/jest.config.js --watch","prettier":"prettier --write '**/*.{js,json,md,ts}'","compile":"tsc","test":"run-s -c compile jest:unit tslint","prebuild":"rm -rf ./build","build":"tsc -p ./tsconfig.prod.json","preversion":"run-s test build","postversion":"git push && git push --tags && npm publish"},"author":{"name":"Arpinum"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/arpinum-oss/js-eventstore.git"},"keywords":["event","eventstore","ddd","cqrs","eventsourcing"],"devDependencies":{"@types/jest":"24.0.11","@types/knex":"0.16.1","@types/node":"11.13.5","jest":"24.7.1","npm-run-all":"4.1.5","prettier":"1.17.0","ts-jest":"24.0.2","ts-node":"8.1.0","tslint":"5.16.0","tslint-config-prettier":"1.18.0","typescript":"3.4.4"},"dependencies":{"@arpinum/defender":"1.0.1","knex":"0.16.5","pg":"7.10.0","pg-query-stream":"2.0.0"},"gitHead":"9cd85c8105d65abfb4fc8d4067cdd11c971c9779","bugs":{"url":"https://github.com/arpinum-oss/js-eventstore/issues"},"homepage":"https://github.com/arpinum-oss/js-eventstore#readme","_id":"@arpinum/eventstore@2.2.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"michaelborde","email":"michael.borde@ubimail.fr"},"dist":{"integrity":"sha512-jQmtdJUWH+CYz15UDC98/IdgzYg3Toei3zWK+m8kA+D9vS03FYxqKTQDuOE7d+cnbnEt44boVjNcl9jIRRbGfA==","shasum":"27934e376734ad8b7b729a5f988adce21f21cc5f","tarball":"https://registry.npmjs.org/@arpinum/eventstore/-/eventstore-2.2.3.tgz","fileCount":17,"unpackedSize":18468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuevvCRA9TVsSAnZWagAArJMP/3H31kFEMocJCCuv76yt\nn3kLitRtqdAwTXFD6PmA5x68quXj3WKTcXhWiKgcmWiuBJjLEwOabGwswLo0\nX0bdXN2PKlW55zKucHF5pC7YDp36RHrzvhRsUI9y2NYjK2/CK8K56kTm9fOi\nuk7dIr2uirF23aMkHq8+F2s0sHcw9a+mbFlXWNz4ZBU15qGvng9nv1yEnged\njXjBdf54XC5GsEyW/uTkgxuvqDA9yeGEeMvVZfR4S+/eWuSSPX24DJlVVeps\n7bVpIUq/8EhkgxAJKtn9KwNkdREfu7cXEbmQUFzzfvmsrwG6TV8w7pVqzO3x\n4aXhFkp3muSZ1RmMyhc1PBbkGbogimzSlCLqskNdTURCdHo9nA4xTNM+NEcU\nSxblacK7lcHrD8oARb8yv/2Uw46Y9W5fSxOUZqL+cnnShfmP7xY4AnSzuF4F\nfRgDu2yvaNR27NzXHv8IKNjRKsJFMz8+Mi1yofdCGvgkbsSbt1T+a+xR+fzw\npjbwaYgszhm7NZ84Hk+NHHiGE/eWmcAhbP/1KvEeYMeilGrNRu5a2LygaFXi\nNg9HGCUg/WE/p2u/NCQQyFxmV8yHpIB49pa1RiPYjz9DPtM1uingm++RgZW6\n6q5mFneaUHG0kIYucOM//Y0Z5gHvsY11BcgyWC2hJrv/iMpCaMEvRSdQ7067\npMu+\r\n=o2x6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTMJJ5ezoJr2XQEX8LOHKTHQsvss0m44ONqkUJhxYADAIgeH5s7eHj3LemvMIBKx69vKeLJpo6V0hMnISnPf97Dug="}]},"maintainers":[{"email":"contact@arpinum.fr","name":"arpinum"},{"email":"michael.borde@ubimail.fr","name":"michaelborde"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eventstore_2.2.3_1555688430749_0.39324084814793503"},"_hasShrinkwrap":false},"2.2.4":{"name":"@arpinum/eventstore","version":"2.2.4","description":"Simple event store based on PostgreSQL","main":"build/index.js","types":"build/index.d.ts","scripts":{"tslint":"tslint --fix 'lib/**/*.ts'","jest:unit":"jest --config ./tests/jest.config.js","jest:e2e":"jest --config ./tests/jest.config.e2e.js","testw":"jest --config ./tests/jest.config.js --watch","prettier":"prettier --write '**/*.{js,json,md,ts}'","compile":"tsc","test":"run-s -c compile jest:unit tslint","prebuild":"rm -rf ./build","build":"tsc -p ./tsconfig.prod.json","preversion":"run-s test build","postversion":"git push && git push --tags && npm publish"},"author":{"name":"Arpinum"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/arpinum-oss/js-eventstore.git"},"keywords":["event","eventstore","ddd","cqrs","eventsourcing"],"devDependencies":{"@types/jest":"25.1.4","@types/knex":"0.16.1","@types/node":"13.9.3","jest":"25.1.0","npm-run-all":"4.1.5","prettier":"2.0.2","ts-jest":"25.2.1","ts-node":"8.8.1","tslint":"6.1.0","tslint-config-prettier":"1.18.0","typescript":"3.8.3"},"dependencies":{"@arpinum/defender":"1.0.1","knex":"0.20.13","pg":"7.18.2","pg-query-stream":"3.0.3"},"gitHead":"b5ca9ccaa438ec9d119beb908fc8af33620fce29","bugs":{"url":"https://github.com/arpinum-oss/js-eventstore/issues"},"homepage":"https://github.com/arpinum-oss/js-eventstore#readme","_id":"@arpinum/eventstore@2.2.4","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-1Ve1iBsQnxlzE7W1a1sCqYkDACRjRUdCyQhm2l2Hsqp6qKeHySpGYq7ZsE5XkrNhbxUN4HcsvEhv+gvdeEyrVg==","shasum":"4b488c72f73824569c990881cdc3094aa17c58c4","tarball":"https://registry.npmjs.org/@arpinum/eventstore/-/eventstore-2.2.4.tgz","fileCount":17,"unpackedSize":18664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeecryCRA9TVsSAnZWagAAr1gP/iCM+rzsiZqYp94aO+cq\nEmVH5EXbXXk2/ygMMgYy3QvLdqfBRQPk+7eSXxFMolbG/YRRDlGTCQsmGQr7\nfr6XSrfRF+hTdvCjib0tQaxW2QZflqyl7IZXftk0bm5FaNZBOizo+t8XVE5d\njRfRNOBJ4aL/hv7zs7lGpSuo2g2ITzIICfG2T8PhpC8i0JztgSDNo7LQgR+X\nGlimurRjJvNXdZbp3YWq8+iRdrVOyCQ6dBtvfyt1iO9oFbvhVHOByzeWrR4z\n6I4KT7lJkiYAT9IDBOquiza9ze9iERocJ0ypZy9TfNhh0C7BMkwmtk3yN4E3\nfJFZ+zzqkDNjFe4ZAaX2Cicc7aXmnwffa3LLlDlBcDqZXgkUwKXJZISoyPe+\n/rhso8c7D92dcpNwHTeEyWpdoqEsZt7E2uzTix1qx2Dh96wbHTIQ53IQ6fWF\nyguSMVO4xX1HO1v0tIVi4H7ekK6LwRLkk/eSo0kx/LPd3HaxOx0gWavZwNRi\nSR9vISvGZgoszN0TSDjX26lf27pHWqSBYvq+yU/BRprSHHH3G7TsM7S4fOHY\n5JfwWZW6Uq/2x/gfgc1TZASqw397OCdOWaLRcJGDcgrGqbw4UEibgWLeggox\n37ifc4qfQ8eduCSlLOf+ygE55XASjvi3fYzRWvxvIq4O2pxIjGKan3vq83B1\n+eH+\r\n=H5bA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtn52pXqAcZgyJu8Exeq4atKy3Q0QKxF0nw1ZDWlkjnwIgKeyMrJ0FN+MdWT0rSR0QD/YwRYNR7WmmvsJLVRX47mg="}]},"maintainers":[{"email":"contact@arpinum.fr","name":"arpinum"},{"email":"michael.borde@ubimail.fr","name":"michaelborde"}],"_npmUser":{"name":"michaelborde","email":"michael.borde@ubimail.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eventstore_2.2.4_1585040114168_0.8096982863327964"},"_hasShrinkwrap":false},"2.2.5":{"name":"@arpinum/eventstore","version":"2.2.5","description":"Simple event store based on PostgreSQL","main":"build/index.js","types":"build/index.d.ts","scripts":{"lint":"eslint . --fix --ext .ts,.js","jest:unit":"jest","jest:e2e":"E2E_TESTS=true jest","testw":"jest --config ./tests/jest.config.js --watch","prettier":"prettier --write '**/*.{js,json,md,ts}'","compile":"tsc","test":"run-s -c compile jest:unit lint","prebuild":"rm -rf ./build","build":"tsc -p ./tsconfig.prod.json","preversion":"run-s test build","postversion":"git push && git push --tags && npm publish"},"author":{"name":"Arpinum"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/arpinum-oss/js-eventstore.git"},"keywords":["event","eventstore","ddd","cqrs","eventsourcing"],"devDependencies":{"@types/jest":"27.4.0","@types/knex":"0.16.1","@types/node":"17.0.8","@typescript-eslint/eslint-plugin":"5.9.0","@typescript-eslint/parser":"5.9.0","eslint":"8.6.0","jest":"27.4.7","npm-run-all":"4.1.5","prettier":"2.5.1","ts-jest":"27.1.2","ts-node":"10.4.0","typescript":"4.5.4"},"dependencies":{"@arpinum/defender":"1.0.4","@arpinum/promising":"4.2.1","knex":"0.95.15","pg":"8.7.1","pg-query-stream":"4.2.1"},"jest":{"preset":"ts-jest"},"gitHead":"d7cbfc9db7f082bff9af74bbbd759b21937a6bdd","bugs":{"url":"https://github.com/arpinum-oss/js-eventstore/issues"},"homepage":"https://github.com/arpinum-oss/js-eventstore#readme","_id":"@arpinum/eventstore@2.2.5","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-tHtIiJbmOZkVfV7hNlRfKYss5iNWCFsCvlDu09w5TTdieV2dM3Jq07K+HAhb/+rI1Sf1Jwh6JlA013F+Bk5Tmg==","shasum":"3ece68053941a37798677d8c42a4d1523c57644a","tarball":"https://registry.npmjs.org/@arpinum/eventstore/-/eventstore-2.2.5.tgz","fileCount":18,"unpackedSize":19755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2AZrCRA9TVsSAnZWagAAMpgP/RSSNStOCmRlFBpyICP+\nvTEQjhlY8jowNOgdfFJz+NXjTRR/T42Nitkghll3BT0NovBCwg3thN+Siout\nG98a8ik36mLFIvvzzBR157yQeAdTtH3nC2UJm8sFDn4FP8HbjL67VCChxav3\nWfRdrrbuY9n+HMgnrfdRj6yQ4USuG0sLI5eEXMJxYJyWYlYiJpRBM40N5jUN\n+aCsIdVZe72zhT0IA/Lx2XjHbrmmrSqOm1Z6QFwkUk7bvMkJYCWkA4eOoH/d\np3UWAizWyQ7hKnfQbra0b3rmjX6fZkrS+AbJuzIpgm5Cvl3m8NcMg+F69y8p\nAqUXYb/Wiss6R05cT48VYSIqsmFW7pM1+VvHyUZOai30YCwOQTf+1rb1fsyD\niP5z6X/6OKcxuVPBKGvqaJXyvIfbWiDvyfbkeTjtowQXnHqys0ODnS36a64M\nGHL10X+TT8wTZU5/1jwHCYmKuHLw6lMmmSs/VUNm6SnuNCAgjAdP2pcIIAlF\nWG9c8ci6OrHs6DV3c5y00clihY4qFqbk2s3x4rOdC3oM7L9vc2Ipksc26ajw\nVQKzdpnEkXVGbTN3b8rZXRD6k3NYuxDIQkCkr3U9UXZFPiSh+MoWFuBCdtMy\n14j1j2789dXopYUYDUF+Cm7ZOlozhfL8lchfdohwsaRsuHFaEmj8eaK9T4s0\nh5Kl\r\n=B+HX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI/d5JrVIyRuLBKjGkclPIt3+nVum2IxBVik0DaBkUVwIgAp8F41zyuZKtjoX0sT3QcCgfBcUXrLC0CqNEL/KM/d4="}]},"_npmUser":{"name":"michaelborde","email":"michael.borde@ubimail.fr"},"directories":{},"maintainers":[{"name":"michaelborde","email":"michael.borde@ubimail.fr"},{"name":"arpinum","email":"contact@arpinum.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eventstore_2.2.5_1641547370898_0.35464796811174315"},"_hasShrinkwrap":false},"2.2.6":{"name":"@arpinum/eventstore","version":"2.2.6","description":"Simple event store based on PostgreSQL","main":"build/index.js","types":"build/index.d.ts","scripts":{"lint":"eslint . --fix --ext .ts,.js","jest:unit":"jest","jest:e2e":"E2E_TESTS=true jest","testw":"jest --config ./tests/jest.config.js --watch","prettier":"prettier --write '**/*.{js,json,md,ts}'","compile":"tsc","test":"run-s -c compile jest:unit lint","prebuild":"rm -rf ./build","build":"tsc -p ./tsconfig.prod.json","preversion":"run-s test build","postversion":"git push && git push --tags && npm publish"},"author":{"name":"Arpinum"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/arpinum-oss/js-eventstore.git"},"keywords":["event","eventstore","ddd","cqrs","eventsourcing"],"devDependencies":{"@types/jest":"^29.5.12","@types/knex":"0.16.1","@types/node":"^20.11.24","@typescript-eslint/eslint-plugin":"^7.1.1","@typescript-eslint/parser":"^7.1.1","eslint":"^8.57.0","jest":"^29.7.0","npm-run-all":"4.1.5","prettier":"^3.2.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5.3.3"},"dependencies":{"@arpinum/defender":"^1.0.7","@arpinum/promising":"^4.2.2","knex":"^3.1.0","pg":"^8.11.3","pg-query-stream":"^4.5.3"},"jest":{"preset":"ts-jest"},"_id":"@arpinum/eventstore@2.2.6","gitHead":"223d594285d2bd9632dca1a5ef1bc2a9d6f3f36b","bugs":{"url":"https://github.com/arpinum-oss/js-eventstore/issues"},"homepage":"https://github.com/arpinum-oss/js-eventstore#readme","_nodeVersion":"16.17.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-bVDe2i8UaEDifG2FCnN2io11ST+IdDTVH3nrHvweuF74DGglGygu5ItbXoLRSWAYot7xU2ozDA8wL86RWtwM/A==","shasum":"318201e0cbe0236cfaff302c6cc4eb7b5133216c","tarball":"https://registry.npmjs.org/@arpinum/eventstore/-/eventstore-2.2.6.tgz","fileCount":17,"unpackedSize":19424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/82gV3LRlkxOvyyYrSNQnKKRB/KjsB0ZFPs78ci+NrgIgSdTdK6lo9hH/XN/xGUz0Arz8LcNMAk4ma5zkTLCJFfU="}]},"_npmUser":{"name":"michaelborde","email":"michael.borde@ubimail.fr"},"directories":{},"maintainers":[{"name":"michaelborde","email":"michael.borde@ubimail.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eventstore_2.2.6_1709736356432_0.11471370435497596"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-05T12:57:54.795Z","2.2.1":"2018-04-05T12:57:54.948Z","modified":"2024-03-06T14:45:57.243Z","2.2.2":"2018-04-05T13:03:51.330Z","2.2.3":"2019-04-19T15:40:30.847Z","2.2.4":"2020-03-24T08:55:14.279Z","2.2.5":"2022-01-07T09:22:51.213Z","2.2.6":"2024-03-06T14:45:56.590Z"},"maintainers":[{"name":"michaelborde","email":"michael.borde@ubimail.fr"}],"description":"Simple event store based on PostgreSQL","homepage":"https://github.com/arpinum-oss/js-eventstore#readme","keywords":["event","eventstore","ddd","cqrs","eventsourcing"],"repository":{"type":"git","url":"git+https://github.com/arpinum-oss/js-eventstore.git"},"author":{"name":"Arpinum"},"bugs":{"url":"https://github.com/arpinum-oss/js-eventstore/issues"},"license":"MIT","readme":"# @arpinum/eventstore [![Build Status](https://github.com/arpinum-oss/js-eventstore/workflows/CI/badge.svg)](https://github.com/arpinum-oss/js-eventstore/actions?query=workflow%3ACI)\n\n> We won't really know what will happen until it happens.  \n> <cite>Helen Thomas</cite>\n\n_@arpinum/eventstore_ contains a simple event store based on PostgreSQL.\n\nThe event store allows you to persist events in a database and query them with some criteria like type.\n\n## Installation\n\n```\nnpm install @arpinum/eventstore --save\n```\n\n## Example\n\n```javascript\nconst connectionString = \"postgres://postgres@localhost:5432/eventstore\";\nconst store = createEventStore({ connectionString });\n\nawait store.add({\n  type: \"UserSignedUp\",\n  date: new Date(),\n  targetType: \"User\",\n  targetId: \"bf04b429-4c88-46de-a2ae-15624c75fd56\",\n  payload: {\n    login: \"johndoe\",\n  },\n});\n\nawait store\n  .find({ type: \"UserSignedUp\" })\n  .on(\"data\", (event) => console.log(\"Event found:\", event));\n```\n\nMore examples in [examples](examples).\n\n## Docs\n\n- [API](docs/api.md)\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}