{"_id":"@authentik8/es-eventstore","_rev":"3-c4feb6fa58b40fc15f32fb0aad125a6f","name":"@authentik8/es-eventstore","dist-tags":{"latest":"0.2.2"},"versions":{"0.2.0":{"name":"@authentik8/es-eventstore","version":"0.2.0","description":"Libary for configuring Event Stores associated with event-sourcing","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/authentik8/es-eventstore.git"},"license":"MIT","keywords":[],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava --verbose","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && opn coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && opn build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"async-file":"^2.0.2","rambda":"^2.4.1","uuid":"^3.3.2"},"devDependencies":{"@types/node":"^11.10.5","@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.1","npm-run-all":"^4.1.5","nyc":"^13.1.0","opn-cli":"^4.0.0","prettier":"^1.15.2","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.17.0","tslint-immutable":"^5.0.0","typedoc":"^0.13.0","typescript":"^3.1.6"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"77480c3819ae87aa8b8e3333a1f53a6983d02dcc","bugs":{"url":"https://github.com/authentik8/es-eventstore/issues"},"homepage":"https://github.com/authentik8/es-eventstore#readme","_id":"@authentik8/es-eventstore@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"authentik8","email":"degringolate@gmail.com"},"dist":{"integrity":"sha512-YXk1vIuh8ZSc16ihem/Bu4UVVITKNniMLUNsggqiLX36xkDen+1X/ozx56aJUlcLtGmf2m2Ak0Cb/VPrFT2gdg==","shasum":"8b36e2d8aaf2161979cbffc60b695e82ea9c7a1b","tarball":"https://registry.npmjs.org/@authentik8/es-eventstore/-/es-eventstore-0.2.0.tgz","fileCount":21,"unpackedSize":20650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgqIqCRA9TVsSAnZWagAArOcP/i4O+Z6+HYrNCmUoS0Gn\n8wUmQjZTBmkCQ38YjUuTx86Jq4CXf6086trwGX1fC15mlX9ZOZfDJKBNDZWR\n0D0toFs63x6QZtEQrugj5kpPyZv6wNywxajbzMMnj27/Drzd6hWYLaYC1l29\nq4jLq/YlSMYmWmAHMbREwOmXB7H50+/kIL5V+VmR0jJGjwjGzGfQzPx62EtO\n/N4k3mRKNNdj/AfmVAK8Jryf9Y7Ecj/DWQqRLx5hxbss7EF7rIZV8Z3jdTgx\n6zCZJ5ZkYn48kMq7Fy5F31kO56ZJ6FAYRdnPjlIG5rEacGIloUt+PJaCkbRN\n4sO2nOrAuOGDB93rbuT7tMUElI28Yf4Wv+MMa1ejj2Qk0VSDJAE2Jyf88eO/\nGP0vIS0B0Ss+XyRIJzJe5s2W7R+XW5mVAlzz61jOqFvlUzRffNVXVO6upK6e\n/tCt+d+XfrCjmYe/9/NV06YZoXyB+A569kwFJZG1Iy8E4vf3PwWH3yyu3ce2\n6Ob57fLluJgwGHm6VonJJBiv8VyQMo32H+IpIwXqQULoI3L1R6ehXG5AfYCH\n7DbK+di7kEIYUobPtIe1DOtgIeFc8JbkWDlb19XkJRbM7Z/KnYdYtTihPzB3\nE/YK6MqBb6v0eZ7rtvKU3qr1B28mdnreUjyDn+L7d28t1XonUIRaydaomC9B\n/kTS\r\n=WzcX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCe8qOrIJoX0nyA/Ofv/ki4x6Q2mUXDLnZ+3kZhMxYrgIgeimYG6l1X3iMN8L73oHU/3XphluvOnEy8daucxkCSdM="}]},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-eventstore_0.2.0_1552065065490_0.9430748021480937"},"_hasShrinkwrap":false},"0.2.1":{"name":"@authentik8/es-eventstore","version":"0.2.1","description":"Libary for configuring Event Stores associated with event-sourcing","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/authentik8/es-eventstore.git"},"license":"MIT","keywords":[],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava --verbose","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && opn coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && opn build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"async-file":"^2.0.2","rambda":"^2.4.1","uuid":"^3.3.2"},"devDependencies":{"@types/node":"^11.10.5","@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.1","npm-run-all":"^4.1.5","nyc":"^13.1.0","opn-cli":"^4.0.0","prettier":"^1.15.2","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.17.0","tslint-immutable":"^5.0.0","typedoc":"^0.13.0","typescript":"^3.1.6"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"7c401698d988d4c9acfddba924ef766fc347d87e","bugs":{"url":"https://github.com/authentik8/es-eventstore/issues"},"homepage":"https://github.com/authentik8/es-eventstore#readme","_id":"@authentik8/es-eventstore@0.2.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"authentik8","email":"degringolate@gmail.com"},"dist":{"integrity":"sha512-HZdrcOVt7XZU8+kDGNTEnAYU6jHuGeoWHpCTOu2OvT+E0bujCwC6XEncKgUwm946G+Q2C3wRL5CT2Vv8mvqCWw==","shasum":"69a23ea035f90acc8a5f3c91b56882e03a515cf6","tarball":"https://registry.npmjs.org/@authentik8/es-eventstore/-/es-eventstore-0.2.1.tgz","fileCount":37,"unpackedSize":34341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgqLiCRA9TVsSAnZWagAA504QAIVqcsHHc/AecD7MXz6V\nBX4DK165QPpDZYajL/7pzjIghv+oiIzwaIkRt85B4iTJ4nq0KAT1+bhzN8ox\nJhLMlMefut2R1Od0ow51yTXa3jdcqc8WCSu98PWDFP67D0WsMjj8KpQYU/p/\ntdA+3wwFxutKTrlOeqWeuko9FsECRCscA6APwl53ixDddylwCYGs4w1bcxY2\nYiVQG7sv7MYB98ySNZ8RfEdghapDrMtjfEmXGKD7dGnZeT45g7ENPaVW3wjb\nUktAxa2+kb5kv8vLLxP9pada7a1m77imDiCuo7djyMiyYyDwkpzEeaL0gpDq\nMwoI5x4HSD38Ny7ZsH1BTDDfnnz/IZSq8YwNYIqWdiyBcMxumVAR0Se3RL4f\ne0n/s8byXy3vCfjmlVDfUsg6kROYQjm/q9QlIuweK142GKHa9adjPd1SejbI\ncMnq4ucv/Ve6eUgdq4avlsSE0bYLaLwvR+kFKGMg1kD0ErAVxHD2VFdxBs0Q\nvjK/+0uNwe3P9lXP3w+xxSt9kYwxq0voJIVFECEYlJbEtkoyCWkjTGmtETdi\n03vPhaFBnMH5vjGvUQMxFc4S/EkGRKSr9+LE5mCiuxMnmuDsXhRvnjIh1bDf\nRs61KSbwhXkAovVV2LcYfJs2ZyoVtHdksUJ2pH0w0NoFVHXjy3Snd4U9m3kk\ntsA8\r\n=DHvB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBHVSFmDIA+LKMCXP5ZaqMkaSCv83pSSiyXGtq/EhhSPAiEAvd65hw6L7/xcruIvmjqjA1jOvKFY/4XD0W1lMtuss50="}]},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-eventstore_0.2.1_1552065249834_0.22149973312698013"},"_hasShrinkwrap":false},"0.2.2":{"name":"@authentik8/es-eventstore","version":"0.2.2","description":"Libary for configuring Event Stores associated with event-sourcing","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/authentik8/es-eventstore.git"},"license":"MIT","keywords":[],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava --verbose","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && opn coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && opn build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"async-file":"^2.0.2","rambda":"^2.4.1","uuid":"^3.3.2"},"devDependencies":{"@types/node":"^11.10.5","@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.1","npm-run-all":"^4.1.5","nyc":"^13.1.0","opn-cli":"^4.0.0","prettier":"^1.15.2","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.17.0","tslint-immutable":"^5.0.0","typedoc":"^0.13.0","typescript":"^3.1.6"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"89b476211ed06cd85cae3359801894b7a9a647b9","bugs":{"url":"https://github.com/authentik8/es-eventstore/issues"},"homepage":"https://github.com/authentik8/es-eventstore#readme","_id":"@authentik8/es-eventstore@0.2.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"authentik8","email":"degringolate@gmail.com"},"dist":{"integrity":"sha512-70JjizFtZfdfFloX4Bjx2i8OJm4RmbVGn2r42tXgO6rtrbzzd3JdfVcmlfjblOzvTxPWXnkgcOBlmkVZZ66U8A==","shasum":"ffe66cd941e0976bda99366384da9754a568c459","tarball":"https://registry.npmjs.org/@authentik8/es-eventstore/-/es-eventstore-0.2.2.tgz","fileCount":37,"unpackedSize":39952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchRxvCRA9TVsSAnZWagAAClEP+gOh8O4aDzqBKPLfyzgB\nVz/w+lc25KfQY/326XszpI9hyb9MZiMSPUpZUUvMkXPAtj8uY5yeX+R2PwEP\nbrNbwKfrID71g7s8x6FypYfa5B66HnWAp1ZrTCr05NedYisXid8QKvMP/Poe\nZ4JwKXLfKXOcsrSNyzqQtSQWPETdVkSCU+bJiTeDUeSQehhdu3/ur+XxOhJL\nCyDTqEEt8owLgARQkimWMPiD5uM4Osrm568SnLUkOadyeBe/JbrrenkEV1uQ\nBJPtqF7hBdO0hjriaWpaJVjwb/kCHWqC2QUJdy1vEIoXqBuCICir6EMlhLrx\nKVL0aDij7SAP3hhXWmHtADw7avHDte0bYOiAdficMTwhrTRz82AdvK24tvhi\ngc+X9b45lNnFywQO17klQsd+1q/JUVpXfM3G2aM2kcl6NHJ0AAuU/kykE5YZ\ncFgxqwD/KQIMek0HDlYw/SQRkGNjJZ9qlIpLbfqMMEr7AvXzRknzwb5vxmHa\nn1BuuUFQ+gBJTyvYSAyz7AY0/dT9LQtY8vyuiiLGtTx8c++2bLMco9m0OY58\n+d/EYqLWrg3VyZbkp3JS+uDPQuZbpR7nijhhUnjpaPAyVCJy+2XzYszZA1O3\nROZt8JXuj6Nvhf9QeH08wZCrvkYeKV1Gn6ebDTg832eKtzTiRZsmqr884M9b\nhoxt\r\n=0kVa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYkfq/SWDFUDGzWIPfCgHfltbWwD3QSB0QTAG8Qyg4uQIhAORt+kufR6Vm+Mi1hcWeMi9Lau01c8qpTJSWNHKGR/R3"}]},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-eventstore_0.2.2_1552227438487_0.5236177320782167"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-08T17:11:05.290Z","0.2.0":"2019-03-08T17:11:05.629Z","modified":"2022-04-04T16:31:35.589Z","0.2.1":"2019-03-08T17:14:09.953Z","0.2.2":"2019-03-10T14:17:18.616Z"},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"description":"Libary for configuring Event Stores associated with event-sourcing","homepage":"https://github.com/authentik8/es-eventstore#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/authentik8/es-eventstore.git"},"bugs":{"url":"https://github.com/authentik8/es-eventstore/issues"},"license":"MIT","readme":"# @authentik8/es-eventstore\r\n\r\nThis package provides my take on an event store, with a number of configured back-ends\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @authentik8/es-eventstore\r\n```\r\n\r\n## Usage\r\n```javascript\r\n\r\nimport { \r\n  getEventStore, \r\n  createInMemoryDriver, \r\n  createFilesystemDriver \r\n} from '@authentik8/es-eventstore';\r\n\r\nconst inMemoryStorage = createInMemoryDriver();\r\nconst fileStorage = createFilesystemDriver();\r\n\r\nconst inMemoryEventStore = getEventStore(inMemoryStorage)\r\nconst filesystemEventStore = getEventStore(fileStorage);\r\n```\r\n","readmeFilename":"README.md"}