{"_id":"better-mongoose-archiver","_rev":"33-139d22a1c8a4d860026eccdead59eb13","name":"better-mongoose-archiver","dist-tags":{"latest":"1.0.65"},"versions":{"1.0.0":{"name":"better-mongoose-archiver","version":"1.0.0","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.0","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"771fbea05dc7caf6dc5a9e3ddd5ff29fa28c93ed","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.0.tgz","fileCount":4,"integrity":"sha512-akNM0gESuhfGRyrk5VPiIU00MOrfOi95soQN5VN0uCPtaUIpTdArwVGZfYiLiaSPc8nFyHYUuzfQ3i37b+WF8Q==","signatures":[{"sig":"MEUCIQCo5btSsWlvzTjAAdydebQ7BGFZqO8CAPy3ciRDAir8fAIgaQaCv5hfTTpnBTMnPdGLE/lDuNWKrqXIinq8czNmtn8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4896},"main":"index.js","gitHead":"6572ff6dc996f0803a2dfec02e82f1affc9e5cf5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"","directories":{},"_nodeVersion":"20.14.0","dependencies":{"typescript":"^5.6.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.0_1730978973939_0.06884429658897329","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"better-mongoose-archiver","version":"1.0.1","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.1","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"e7ae51e0ab7e738c86b12aee96960658d8b8c69f","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.1.tgz","fileCount":4,"integrity":"sha512-zdqCgE5T6Rkz85S5PvbpvPz3+BcBVYM+qafDT9H4vlQ7lpH/HvibYNcUhNXwSMC+BrUzoTlto9IHfbWA1vIG9w==","signatures":[{"sig":"MEYCIQDzDi1gBqYSy0GuQC2T93fcejSZdhMVctKgQ2XacxdNlgIhALQYSSwgEA+zPcQKdICv23FYRPX7rr59ltyVkGoNQtWU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4932},"main":"index.js","gitHead":"6572ff6dc996f0803a2dfec02e82f1affc9e5cf5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"","directories":{},"_nodeVersion":"20.14.0","dependencies":{"typescript":"^5.6.3","@types/mongoose":"^5.11.97"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.1_1730980600149_0.6915488091263102","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"better-mongoose-archiver","version":"1.0.2","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.2","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"cb0474321a80ec03bda52a70c09a715ae717fb3e","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.2.tgz","fileCount":4,"integrity":"sha512-0jTmNBBadvicTsnrwPsLq23JBeXr6pOfjHyAu/ShyHg7WDLg7yci9mxGWl8JoFpYPrNO5oVRjXjIJmDmt3s9lw==","signatures":[{"sig":"MEUCIQDZy7XwlcT8RFPJCvX9dTK0aFcKDfn+1k1qw5fe44j5ugIgZ98HdMhbNcJ8NMaIIStsCbTY97nlKvLbh/tCTp6x+U4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4932},"main":"index.ts","gitHead":"6572ff6dc996f0803a2dfec02e82f1affc9e5cf5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"","directories":{},"_nodeVersion":"20.14.0","dependencies":{"typescript":"^5.6.3","@types/mongoose":"^5.11.97"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.2_1730981068076_0.1763399215468262","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"better-mongoose-archiver","version":"1.0.3","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.3","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"286d8f45b58d12bba82752553b73dd69e9d59c0b","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.3.tgz","fileCount":4,"integrity":"sha512-bNRzrmJQLibgjYIrPCEWsKo6RfNYbgiBCDguPYU5Ar7WPHgPixILyemW+5WdoUSdjUtABc32wTVWZpe+nkLZ1Q==","signatures":[{"sig":"MEUCIENklsSKa6Y9LqPxX9GRZ3r0ZgqNOXtc9S1yO/1gHJ80AiEA1V9V7ocGFF9Ns/E8HSRItGToF6Cuk5v/fl76mHBBFxY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4952},"main":"index.ts","type":"module","gitHead":"6572ff6dc996f0803a2dfec02e82f1affc9e5cf5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"","directories":{},"_nodeVersion":"20.14.0","dependencies":{"typescript":"^5.6.3","@types/mongoose":"^5.11.97"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.3_1730981443742_0.35943281774109925","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"better-mongoose-archiver","version":"1.0.4","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.4","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"a098267eb38ce5bc58b22a212663cc7ae248c25a","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.4.tgz","fileCount":5,"integrity":"sha512-N5V9q1hASxhyjpmh3T7rk2HRVT+ueMuS4DQpvjaBEqi6Nc0hcbBCSoXgAivD4lCPclqL8sUlVT3cbe64JF21dg==","signatures":[{"sig":"MEQCIFDIGk+mrPH4RrooDv7yYh5R94TCCROQOQQbzcaWdRH5AiBvbtpRheUkNVtwXHcOjNqBh0uixNYTu0ccEf2cY8/lyQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8098},"main":"index.js","gitHead":"6572ff6dc996f0803a2dfec02e82f1affc9e5cf5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"","directories":{},"_nodeVersion":"20.14.0","dependencies":{"typescript":"^5.6.3","@types/mongoose":"^5.11.97"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.4_1730981709681_0.6678675842793504","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"better-mongoose-archiver","version":"1.0.5","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.5","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"98459c810ddee30c24ca156738f8953689f74681","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.5.tgz","fileCount":5,"integrity":"sha512-7ah4dbZXxQnXAeNBos7yErUY2Ou0X2cvJwGlZB712NKs0GkMebqpahkwGmgHpilygwlulM5LMHx4dapt0fSFPA==","signatures":[{"sig":"MEYCIQCPM4lcWDdCdtEnkaGmkLC5DZoxf8LgDuS0CB4mCznVjQIhAI50l3fFFrmCgy3A99YY75n+ao7OtvEirha0uqkYqGoQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8100},"main":"index.js","gitHead":"6572ff6dc996f0803a2dfec02e82f1affc9e5cf5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"","directories":{},"_nodeVersion":"20.14.0","dependencies":{"typescript":"^5.6.3","@types/mongoose":"^5.11.97"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.5_1730982068212_0.6380530184235058","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"better-mongoose-archiver","version":"1.0.6","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.6","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"21da3653ccb6ee95afda1678236534c056791853","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.6.tgz","fileCount":5,"integrity":"sha512-fhtwR6A6hlpBVxIDPVd36JIOMDYk36ZdZ/+a3xuDKOGBKSRf87rZWGteTcJGz1BAxRFPet5KsYQ1KZEBBuFXMg==","signatures":[{"sig":"MEYCIQDW/1FLCsz5SQ+gkw+XuRllfPHpj/Q7JNW9z/gJWzlRMAIhANTLd392zg7dc8QTS1HQnQ/EbOravh0IOeGzXDgtuBXU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8316},"main":"index.js","gitHead":"6572ff6dc996f0803a2dfec02e82f1affc9e5cf5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"peerDependencies":{"mongoose":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.6_1730982843642_0.3793994753625711","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"better-mongoose-archiver","version":"1.0.7","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.7","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"b6151f31336290c6f2b83c29bce175af4646edf7","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.7.tgz","fileCount":5,"integrity":"sha512-rbB5Vxh7Y1V9jBo1bEtUCJI3OsTLigtAgcVzSxbx4hDmS9KsUEJUri+Qois/XoEJAVcZ7YWhDGVepHmITAkrdA==","signatures":[{"sig":"MEUCIBW+oOWY+M4HMNizciilYRKdcLRmaK+4H4x7AG9aBGU+AiEA+wvpfH5ypYAegLfamzIUFUo0lCLsYHL3niGSmakCJ0M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8317},"main":"index.js","gitHead":"6572ff6dc996f0803a2dfec02e82f1affc9e5cf5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.7_1730983024799_0.9767483856279822","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"better-mongoose-archiver","version":"1.0.8","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.8","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"935f8c33bb7eb6c0acc7a23cfa220038e2757378","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.8.tgz","fileCount":5,"integrity":"sha512-rdMTJcjINNivjzHZj26pNFSd40m3UKE5jReyQhvjg8Bnuh506rN6EjG9TAVkVtE0rzQtibAMo1yAwkn5XAKipA==","signatures":[{"sig":"MEUCIGTkoqX2rZOnGRbD3UF7S+IgJON89jNWHbwUIf1DMBWJAiEA5XdBOTH4GFWeu8YurJwsYIZ1Fj6fGzJhYo8ZriHwV8A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8317},"main":"index.js","gitHead":"6572ff6dc996f0803a2dfec02e82f1affc9e5cf5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.8_1730984384237_0.30820698500964516","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"better-mongoose-archiver","version":"1.0.9","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.9","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"4de798f8b486512bb994c7bf9802e8c24a722a05","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.9.tgz","fileCount":5,"integrity":"sha512-RrHaKgv54D7u5RVgPyv4gLKyLxhs5/K/Jlq55O3ckMueme05OgHS2Q9NFLLzw2OuxJS39QvW24/4I7q8gPgTMQ==","signatures":[{"sig":"MEUCIQDOS81oupmNdu19MUxRF4uiAGKKIBZTORGXqzIhjuQ7IQIgNUVOqRhD2Fb16lEf2eAS6rDUcGDS13LWaHICxJ/Z2DA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8357},"main":"index.js","gitHead":"6572ff6dc996f0803a2dfec02e82f1affc9e5cf5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.9_1730985681071_0.8345759395881738","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"better-mongoose-archiver","version":"1.0.10","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.10","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"907beddcface581d67ed77cc35c1172201c71765","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.10.tgz","fileCount":6,"integrity":"sha512-aOtBRe8Cn/Kq3QVDWa45PNZwHKcW/KuVwEb5WvIUxTkbLGaSsqSAX61L6Dvj+0p/s5Il4SSNmT8Bzdr+WbFCMA==","signatures":[{"sig":"MEQCIG8hXBNx5dKiaVYSNuolCM4f2SkcqxirXSYggSUeTeuMAiAMk968sjdkgXyrz8yw8VUvHNevAB8aOe14qS5vaxHWww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12998},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"6572ff6dc996f0803a2dfec02e82f1affc9e5cf5","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.10_1730986926962_0.21557458466864765","host":"s3://npm-registry-packages"}},"1.0.15":{"name":"better-mongoose-archiver","version":"1.0.15","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.15","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"8671c8404698bc34116ae21ef45fa1b4d3cd699b","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.15.tgz","fileCount":6,"integrity":"sha512-UgvkOndVwWXMGJenFFuLTQTABOdBgQ+UUfPbxwjRHXo8N5J77RewSAnpnOoBUlsj+zsmIVcC08740NkOXAMJmA==","signatures":[{"sig":"MEQCIHoncp10IXl/hsHXEZT+/ptwdW8nhaEbwXmWFcW/kzAbAiAmmO2LPdSDxqS1vbIKyD/K7rOp7YGxeFdRSsvqW1J54A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17257},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"d592c4e54631bdae0c5056bafc75508294b7c590","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"A Mongoose plugin that archives documents before deletion or updates. This plugin automatically saves a versioned history of modified or deleted documents to a separate collection.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.15_1731047430828_0.5074904754719838","host":"s3://npm-registry-packages"}},"1.0.20":{"name":"better-mongoose-archiver","version":"1.0.20","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.20","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"96afbc63d76a72edebebfa1a2a2d6cb0a32905fb","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.20.tgz","fileCount":5,"integrity":"sha512-024JVAp25VfyPicnEsRtPcZMcIG8X/2VwUQJGacUnqlqytwm6UA4x3UXwulUDHnEXEAFzASIVgA5LPxDs/Diqg==","signatures":[{"sig":"MEUCIE39n8CQxXplF5QJknjKdYTE4b2oY5FwEtnsm3WbjfO+AiEAq7OwhyD256Qi8jpxvtlUe7F7n7ZY0u/aBX9vy2hxlTQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13109},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"d9a55e1cb550f0dc44dea9d3e59a0e803e7dc630","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"A Mongoose plugin that archives documents before deletion or updates. This plugin automatically saves a versioned history of modified or deleted documents to a separate collection.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.20_1731048346164_0.3786775698118401","host":"s3://npm-registry-packages"}},"1.0.30":{"name":"better-mongoose-archiver","version":"1.0.30","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.30","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"22c0404ecb635427c40aa6e14c50c1cae88bffef","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.30.tgz","fileCount":4,"integrity":"sha512-8jKwa4GJmS65U5UYk+6wvsAf57s6YLU4VjlDK+I/sWssoEkBG3pTm96aX1i2b7hthqDsHquJ7y50aFdCzl3ZIg==","signatures":[{"sig":"MEUCIQDzYz2aVE0i0EYzz+mScr+bFhXLt3dHXpAVfuIg8FvR+QIgauVuR8h7uLipLPC+YjYp98VmAmS1gZ7Po2fKjSpKhvU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9920},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"0ee8a3c8d564c24c9c46c116446699dacdeebab0","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"A Mongoose plugin that archives documents before deletion or updates. This plugin automatically saves a versioned history of modified or deleted documents to a separate collection.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.30_1731057899443_0.6296135708495978","host":"s3://npm-registry-packages"}},"1.0.34":{"name":"better-mongoose-archiver","version":"1.0.34","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.34","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"c1ee16bafc796988de9f455fad7011e3ad20f16f","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.34.tgz","fileCount":4,"integrity":"sha512-JrSwCYUabfTEsJNN+1hg+bypxpf1WmxKEQIiUx0WCORQiBNkqg/u6XNYVbqd5O1va6IB96Lmx0cGFvULUiJRfg==","signatures":[{"sig":"MEUCIQC8ScqgcIJtB0je5m1aa5XyEU4ESHM+h+AWg7hh4yPSBgIgXyUqlW61e1sWriD8LcvNpblaH953BK6rPOp15cJLArc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10801},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"142b6e0a2f14d285dab718fa97d087b1a529e382","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"A Mongoose plugin that archives documents before deletion or updates. This plugin automatically saves a versioned history of modified or deleted documents to a separate collection.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.34_1731060807289_0.23911753531569446","host":"s3://npm-registry-packages"}},"1.0.35":{"name":"better-mongoose-archiver","version":"1.0.35","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.35","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"e21e91ef04406a70954c898311ec78e4b7a2a58a","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.35.tgz","fileCount":4,"integrity":"sha512-hRKz7cqKlnYJ1z9p5orEBnPqBkuhffU0H9oHsl5LKv5OKYD1usi7UhviUl+u0p9WV1HTXGw4iXCpKSBtCxHmSw==","signatures":[{"sig":"MEUCIBhPhRNpQxlcD1pUx/JmV013lJfr/DChzU/1sDEk11I8AiEA7c86Qt6CLMxp/Xk5n3/PYbvgfNRs+CC5lUPRQ+k6TEQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10688},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"c6848b1257b2cdf927874016f99073e0ea991e39","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"A Mongoose plugin that archives documents before deletion or updates. This plugin automatically saves a versioned history of modified or deleted documents to a separate collection.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.35_1731065920956_0.5930184102535174","host":"s3://npm-registry-packages"}},"1.0.36":{"name":"better-mongoose-archiver","version":"1.0.36","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.36","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"0e75976a5465e530b2852e1544b38ed8edc47e54","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.36.tgz","fileCount":4,"integrity":"sha512-XnNZ39PyYHhC6uSWckt7T3t8M8AEEo+h7Ae7ncsjjEbdIYEMySglBYORRrwMng1zRxeE3AuPWdyGNssCB9TmxQ==","signatures":[{"sig":"MEYCIQCyG/ccb+/f5IokOdMgGvg0ORLQ3iZSHyzNj97xtsVg0wIhAPRGRCcqBLslRn3eafHAhw9I242ANTZmOunHhUkuBnSp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10962},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"021083354a5771fe7d666f7b142c6cb55b8cc040","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"A Mongoose plugin that archives documents before deletion or updates. This plugin automatically saves a versioned history of modified or deleted documents to a separate collection.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.36_1731331824911_0.49781314023205625","host":"s3://npm-registry-packages"}},"1.0.40":{"name":"better-mongoose-archiver","version":"1.0.40","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.40","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"82bfb2d8ed30d4ea8fb2a911698eac2da78bf4a3","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.40.tgz","fileCount":4,"integrity":"sha512-o9p07XunOml7rV79ZT8DOaDhjBKEDtFOn3G/PFhycCBD0ILipQje4fRCmbsp4tJU310QVYHL8OgPkBhwBI7R1Q==","signatures":[{"sig":"MEQCIAXb/XJSDbeRgHkQ1Qf6J5NETLPo4CEzDj0gV7so406xAiAJj6zg1RGfsSdA9U6kBBQ1wnfFh6pgPy180H4Iyd++BQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12230},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"fde709ac47c4a8ebc1e9dbe18a26cc01ff99a5da","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"A Mongoose plugin that archives documents before deletion or updates. This plugin automatically saves a versioned history of modified or deleted documents to a separate collection.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.40_1731488381616_0.2670092607367791","host":"s3://npm-registry-packages"}},"1.0.41":{"name":"better-mongoose-archiver","version":"1.0.41","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.41","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"0d6ce3acd97eda15eb5e2808ebd394a748befb21","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.41.tgz","fileCount":4,"integrity":"sha512-qwOjDU0I+wKmnmgPxq5a+byBGRrpHk4a2+xpfrQmhjeuWe9dMohIq+y8VhfSygNAq/vsbUeYxUXzs/jzjq+w5A==","signatures":[{"sig":"MEUCIQDn4WL463JfqxsiN0ia5ZMFdIX3dXMR6aPx2t9CPKMT3AIgT+Ua3FlAFGjN8XF4yD0/AoaqBzIDIXNOILw5R+ulyX4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12330},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"fde709ac47c4a8ebc1e9dbe18a26cc01ff99a5da","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"A Mongoose plugin that archives documents before deletion or updates. This plugin automatically saves a versioned history of modified or deleted documents to a separate collection.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.41_1731496269062_0.04089428005107787","host":"s3://npm-registry-packages"}},"1.0.42":{"name":"better-mongoose-archiver","version":"1.0.42","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.42","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"90b2264556f866784032d3ad88404efe2cd44690","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.42.tgz","fileCount":4,"integrity":"sha512-h1IreZVPvwuGW9Mywb3KvogtM0Sj2DAbetEeciA2MdiJktsCZxEhiypAAD2kDNqe9/KgvmL75dVpL8atbYNY9Q==","signatures":[{"sig":"MEYCIQDcGTLZ0N9UvDNhuZU9YWpDl0Q/vBZLvKA+wtUTlAbm5gIhAJgeHkToUCjWnzIm/AJ0dk8H0G9nX1UEIGC4sXtkxWSu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12667},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"103f27561e775e02ad3eca1f3ecb96f1538731c9","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.42_1734110069145_0.8082600681629286","host":"s3://npm-registry-packages-npm-production"}},"1.0.43-test":{"name":"better-mongoose-archiver","version":"1.0.43-test","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.43-test","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"6e305e08219d77a2a5ab77edd040f97b4cc80bf6","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.43-test.tgz","fileCount":4,"integrity":"sha512-YSBD6Uz2OEe+x9pqEZd+RcqIyS4gHX1ZG59tQFm6t0LvZj8bxuiRe0IdYl/Gb0wbuvU17q3rZBcYYGe6IfHtwQ==","signatures":[{"sig":"MEUCIGBVrEHZY0Jrtq4kpeafPL2XqEyRCiiuE71gQQ+oD+AIAiEAikeSCvnJILjuHymD0/rYyJCgK7HsUs4QHRqLVfOvloY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12807},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"f478f661f3f6501a8dd075a3f3337e4513fe22ba","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.43-test_1734332434612_0.6350788656405895","host":"s3://npm-registry-packages-npm-production"}},"1.0.45":{"name":"better-mongoose-archiver","version":"1.0.45","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.45","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"287cf4d930bb63f2b13079628a9b470aa051b300","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.45.tgz","fileCount":4,"integrity":"sha512-DfSV9ku22yf+16yKYBJy4PJX+WV4gkZbvQ+V5DBHRumiXiJB5QQb9BdbB44niH0oqnKC/iN78oAiRM6PjUv6Kw==","signatures":[{"sig":"MEQCIFBLPPmEaKyvJsOLPlvRjfsvs0fy1tURUhEraR0DQZ45AiAfeO+moc524MtRYTjmPAbFULbTKQ5RLR0Ied8AEKwikA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12740},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"365cc21519dda85728b044f53215f84d753dadc5","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.45_1734337976042_0.884443482354877","host":"s3://npm-registry-packages-npm-production"}},"1.0.46":{"name":"better-mongoose-archiver","version":"1.0.46","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.46","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"b39e12731a72b7002734ee0ed35213f92ca3a053","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.46.tgz","fileCount":4,"integrity":"sha512-C+Cyh+ekzJwf5XFJ+fUX9AUZCLBSvir7sy2SiZ4Uqiv6UYEJaaYhWknVoLedvpW97hZIBLmWqkcJWv1N1iGNFg==","signatures":[{"sig":"MEYCIQCfoE94FUmLyRtWRMtD8rmU6MCz4gETsdsWply6Fsy3pQIhAIfif0uPth6vCzreyJ1wwy0I1sMP29g4rMOvqDbGEDmA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13117},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"5f5c54e63e660209e6348e2065797850e59d9556","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.46_1734523111274_0.5668424539374024","host":"s3://npm-registry-packages-npm-production"}},"1.0.47":{"name":"better-mongoose-archiver","version":"1.0.47","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.47","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"c723501fa484b459eae2a9e8998ded9cab180b3a","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.47.tgz","fileCount":4,"integrity":"sha512-yoBuL637pQ8rqJA4fqpmBkwqihqJo4+/WKfw/vUK+QuXxWkLw04pPy+rc7Z+U8KiVS/rP4nh8SY/WIqzjKOJAA==","signatures":[{"sig":"MEUCIQDOy06FYrAZ8cqGHlwt1JE6ktrGbCpPQH9u8icrd62/BgIgJiUiDlE0MH7/U1WzY5vbEpJCwGEPBiWK0wM9h7bYKtE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13117},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"97311f67cd474542189c9ebf349e84f599a39e87","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.47_1734523252397_0.1663749943141717","host":"s3://npm-registry-packages-npm-production"}},"1.0.50":{"name":"better-mongoose-archiver","version":"1.0.50","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.50","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"29d7db72e0145400aa2c5fbebacdf6772aede6fc","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.50.tgz","fileCount":4,"integrity":"sha512-XNxHkxedR2hRo/LLlOcHhN8ZMvQAoXMH0fpkToldDUiD9J72N9egKydRXxo2SQRRQ/DpabH5kdUuB30UcTBfVA==","signatures":[{"sig":"MEYCIQD1c0HWXeZaBb2knNW8ErJvpdqNIOTnaVeqrsuKawwYSQIhAPFzopkCNlyog15pS3oP/FeTvvNEQhLyZu9mqJ4RmQfo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13662},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"c6e57af29d3208194ea869b20cb258e0b93e4fbe","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.50_1734524860302_0.20289205422348733","host":"s3://npm-registry-packages-npm-production"}},"1.0.51":{"name":"better-mongoose-archiver","version":"1.0.51","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.51","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"3a4e226841e8814776098b59063692589b911e3f","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.51.tgz","fileCount":4,"integrity":"sha512-R2Z8hyr8J3xHW9mK826udZbMxcpnxdCwMKrhEQEKs1z3rAyta/IR2u632BXGWk6xiYVEBr6lm/XhuqkUAueKLQ==","signatures":[{"sig":"MEQCIFH1wHlPxAU53KSkG0f0nFlHw9PVocB5oJLjjdmJjrplAiA0KIHHFTxYegJWZQQUgkwBVvpkMkew+osQteSLvcf0dg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14533},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"6b796bd2638748ae7125fb551c1b9d30950efe22","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.51_1737033131841_0.6961981972283202","host":"s3://npm-registry-packages-npm-production"}},"1.0.55":{"name":"better-mongoose-archiver","version":"1.0.55","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.55","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"9cc7eeb00ab7a936a98be5c48d5db44231052ea7","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.55.tgz","fileCount":4,"integrity":"sha512-y76gLPtWslHaL65rfoUx/P0pUJp7/GMW5DoygB4dMawokZz3yRfH2phkbi0Jkv3RA3iklI8lfeKvV8mojsfXFg==","signatures":[{"sig":"MEQCIApVYSBgiHa8GIJ8AODig4vbhOkjlGVUD/SoGQwHy2eTAiA5hTtq/KX85VcWK1MIoVYt7kEbNim/sr8Z1pW2zqo86w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14357},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"6b796bd2638748ae7125fb551c1b9d30950efe22","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.55_1738839958996_0.08391049115230209","host":"s3://npm-registry-packages-npm-production"}},"1.0.60":{"name":"better-mongoose-archiver","version":"1.0.60","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.60","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"a5ef7a1636bf4178fd6ae03502f767801631fe0a","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.60.tgz","fileCount":4,"integrity":"sha512-SpLplpaCaPcY0NmV/ZNWc2emmdv51YkigBF7Zhgu6sPN5GFTma49i/Jba3NVx6/+qsjHJj1RANHhFnvUw9SpRQ==","signatures":[{"sig":"MEQCIF+HR25Pfl9tIpWz5jLWk4U/Gwj6peVqQ8vlTk2uHBkjAiBUgbfhPoiggk71AVJJ77XiVyfw7RHpClv2UneYkSSOeQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16582},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"6848d7d09fdfbf052f1108d6da1ef9baf2b9f649","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.60_1738917288115_0.267147547602095","host":"s3://npm-registry-packages-npm-production"}},"1.0.61":{"name":"better-mongoose-archiver","version":"1.0.61","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.61","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"f7b92201d0c972ad8c41a9c2cc39b0c4ebc54b5f","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.61.tgz","fileCount":4,"integrity":"sha512-acdN2LAAr7nBVmiJIAl1zmRhGw4Uuj1RzV72yqtWSfESr3muegA1Mf7blhmMahmqIRhCsoqSwFPAEnHb6Mmi6w==","signatures":[{"sig":"MEUCIQDJnAknx4AxYzIMyvZ8E2BoBuv8nKuB8RyQENTDiJuJQwIgU/2SmvBNRw03KgwysMRbLmwe9B4Yl/ppS7KlMQsw52c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17722},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"fe435d3946b57c71b31f2456472abc15db12962f","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.61_1738927045281_0.8735486486868886","host":"s3://npm-registry-packages-npm-production"}},"1.0.62":{"name":"better-mongoose-archiver","version":"1.0.62","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.62","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"4b03d12cc9a313599aac73e3999b170e30c2e445","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.62.tgz","fileCount":4,"integrity":"sha512-7PKGb+qxJsp+9dyq24cPGOl5K/50UgSZAv+UikaFrAHX3JNUFYt5G/JxMoz9bbOidmKi0RfovDWKeI38QTJYDw==","signatures":[{"sig":"MEUCIDNwDwS5quNWqfPlgUHKy0TSzGOXUokySkb+dKIR4f2HAiEAsTPpXoRjoQN+KiOW4xTJQ6LaEA82VhIHGbxI0w6gRC8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16602},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"104796d50cc5832e65be1caf2f96483bc781e260","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.62_1738927991372_0.7257659824381939","host":"s3://npm-registry-packages-npm-production"}},"1.0.63":{"name":"better-mongoose-archiver","version":"1.0.63","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.63","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"a2e229d83d56181e3b19f6bde8b1a4006b21f780","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.63.tgz","fileCount":4,"integrity":"sha512-T1LgXyiHHl/mm+HdKOrbDuqxwCBAp22sPGudd3LSJS/qrAzE5/OCNJke/c/KWPx6G5WF3H5JnoeRedyCtUF8+w==","signatures":[{"sig":"MEUCIEexqOSrX8+556tLipsebBmvTRjh3yYWxwofObBUL7o9AiEAtyYBDu8XrESbfWx3IBiSxmtDirQ8Hz9u6dqvxlReIEI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16594},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"07062a306239056db03b5c02df3a3ff05c695858","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.63_1739184702134_0.11775972378400312","host":"s3://npm-registry-packages-npm-production"}},"1.0.64":{"name":"better-mongoose-archiver","version":"1.0.64","keywords":["mongoose","archiver","histories"],"author":{"name":"David Koch"},"license":"ISC","_id":"better-mongoose-archiver@1.0.64","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"dist":{"shasum":"0c406383648c92cb94022ec152749bbca1600f4d","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.64.tgz","fileCount":4,"integrity":"sha512-NOgB/LYyZnsZ5gvGwSPiZxDrorNRZBwkVLtA1hMN4gMj7yzIjHFGJAnBMTh83TCNAgIkADfXm7Uyj+ny8i/1Vg==","signatures":[{"sig":"MEUCID31/jUsacTu/3V3aL7WKqQ1E8NAwLBc1BKvfDZEBiK+AiEApsNwkmMwhorI0os405nwzjUkOc9Mz7BCvksgXRMOQdI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16594},"main":"lib/index.js","types":"lib/types/index.d.ts","gitHead":"07062a306239056db03b5c02df3a3ff05c695858","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"repository":{"url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git","type":"git"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","typescript":"^5.1.6","ts-node-dev":"^2.0.0"},"peerDependencies":{"mongoose":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/better-mongoose-archiver_1.0.64_1739370794880_0.7862015384600205","host":"s3://npm-registry-packages-npm-production"}},"1.0.65":{"name":"better-mongoose-archiver","version":"1.0.65","description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","main":"lib/index.js","types":"lib/types/index.d.ts","scripts":{"dev":"npx ts-node-dev --respawn src/index.ts","build":"npx tsc"},"repository":{"type":"git","url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git"},"keywords":["mongoose","archiver","histories"],"peerDependencies":{"mongoose":">=6.0.0"},"author":{"name":"David Koch"},"license":"ISC","bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","devDependencies":{"jest":"^29.6.2","ts-jest":"^29.1.1","ts-node-dev":"^2.0.0","typescript":"^5.1.6"},"_id":"better-mongoose-archiver@1.0.65","gitHead":"13ce53c8131bbf89b9aa02ad6ba07d5b2d3bb56e","_nodeVersion":"22.15.1","_npmVersion":"11.5.2","dist":{"integrity":"sha512-igHD+QBvq85KC/tMu1DaC9U1V7QjKZkabu2XPfdl+CCwUJwX6RPhFHCho3jBgprRzAkaxKPl5+5fxS4WWJCvew==","shasum":"abc7c9a2de546f124ffc9376575036aac53bd809","tarball":"https://registry.npmjs.org/better-mongoose-archiver/-/better-mongoose-archiver-1.0.65.tgz","fileCount":6,"unpackedSize":19979,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBgnl5PcD7y+ElZroPeoJLyAdvlBI0KS5Izuv5VAETM7AiBKzDIwGkHrFL4xBV/XoCvdAy7Oi0OkpBCQKCRE69sqOQ=="}]},"_npmUser":{"name":"iced_coffee","email":"david69657@googlemail.com"},"directories":{},"maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/better-mongoose-archiver_1.0.65_1756981690643_0.4630726469019959"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-07T11:29:33.938Z","modified":"2025-09-04T10:28:10.998Z","1.0.0":"2024-11-07T11:29:34.086Z","1.0.1":"2024-11-07T11:56:40.300Z","1.0.2":"2024-11-07T12:04:28.247Z","1.0.3":"2024-11-07T12:10:43.887Z","1.0.4":"2024-11-07T12:15:09.899Z","1.0.5":"2024-11-07T12:21:08.392Z","1.0.6":"2024-11-07T12:34:03.849Z","1.0.7":"2024-11-07T12:37:04.985Z","1.0.8":"2024-11-07T12:59:44.398Z","1.0.9":"2024-11-07T13:21:21.244Z","1.0.10":"2024-11-07T13:42:07.129Z","1.0.15":"2024-11-08T06:30:31.019Z","1.0.20":"2024-11-08T06:45:46.379Z","1.0.30":"2024-11-08T09:24:59.748Z","1.0.34":"2024-11-08T10:13:27.467Z","1.0.35":"2024-11-08T11:38:41.147Z","1.0.36":"2024-11-11T13:30:25.126Z","1.0.40":"2024-11-13T08:59:41.805Z","1.0.41":"2024-11-13T11:11:09.225Z","1.0.42":"2024-12-13T17:14:29.312Z","1.0.43-test":"2024-12-16T07:00:34.812Z","1.0.45":"2024-12-16T08:32:56.200Z","1.0.46":"2024-12-18T11:58:31.428Z","1.0.47":"2024-12-18T12:00:52.636Z","1.0.50":"2024-12-18T12:27:40.471Z","1.0.51":"2025-01-16T13:12:12.009Z","1.0.55":"2025-02-06T11:05:59.220Z","1.0.60":"2025-02-07T08:34:48.314Z","1.0.61":"2025-02-07T11:17:25.499Z","1.0.62":"2025-02-07T11:33:11.545Z","1.0.63":"2025-02-10T10:51:42.354Z","1.0.64":"2025-02-12T14:33:15.088Z","1.0.65":"2025-09-04T10:28:10.818Z"},"bugs":{"url":"https://github.com/TheRealEiskaffee/mongoose-archiver/issues"},"author":{"name":"David Koch"},"license":"ISC","homepage":"https://github.com/TheRealEiskaffee/mongoose-archiver#readme","keywords":["mongoose","archiver","histories"],"repository":{"type":"git","url":"git+https://github.com/TheRealEiskaffee/mongoose-archiver.git"},"description":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)","maintainers":[{"name":"iced_coffee","email":"david69657@googlemail.com"}],"readme":"[![npm version](https://img.shields.io/npm/v/better-mongoose-archiver.svg)](https://www.npmjs.com/package/better-mongoose-archiver)\r\n\r\n# Mongoose Archiver Plugin\r\n\r\nA Mongoose plugin that archives documents before deletion or updates. This plugin automatically saves a versioned history of modified or deleted documents to a separate collection.\r\n\r\n## Features\r\n\r\n- Archives documents before `update` or `delete` operations.\r\n- Saves a versioned history of each document.\r\n- Allows tracking of users who performed the operation.\r\n- **Custom Update/Delete Function**: Optionally, execute a custom function after each document update or delete, giving you additional flexibility.\r\n\r\n## Installation\r\n\r\nInstall the plugin with npm:\r\n\r\n```bash\r\nnpm install mongoose-archiver\r\n```\r\n\r\n## Usage\r\n\r\nTo use the Mongoose Archiver plugin, import it and add it to your schema:\r\n\r\n1. Import the plugin and the necessary Mongoose modules:\r\n\r\n    ```javascript\r\n    import mongooseArchiver from 'mongoose-archiver';\r\n    import { Schema } from 'mongoose';\r\n    ```\r\n\r\n2. Define your schema and apply the plugin:\r\n\r\n    ```javascript\r\n    const yourSchema = new Schema({\r\n        name: String,\r\n        updatedBy: { type: Schema.Types.ObjectId, ref: 'User' },\r\n        // Add other fields as needed\r\n    });\r\n\r\n    // Apply the plugin, optionally specifying a `userField`, `separator` for the collection name like: \"users_history\" (default is -) and custom functions for `onUpdate` and `onDelete`\r\n    yourSchema.plugin(mongooseArchiver, {\r\n        userField: 'updatedBy',\r\n        separator: '_',\r\n        onUpdate: async (historyDoc, updateQuery) => {\r\n            console.log(`Document with ID ${historyDoc._id} was archived on update.`);\r\n            \r\n            // To modify a document in `onUpdate`, use `historyDoc.set('myOwnProp', true)` instead of direct assignment\r\n            historyDoc.set('myOwnProp', true);\r\n        },\r\n        onDelete: async (historyDoc) => {\r\n            console.log(`Document with ID ${historyDoc._id} was archived on delete.`);\r\n        }\r\n    });\r\n    ```\r\n\r\n3. Create a model and use it in your application:\r\n\r\n    ```javascript\r\n    const YourModel = mongoose.model('YourModel', yourSchema);\r\n\r\n    // Example usage\r\n    YourModel.updateOne({ name: 'Example' }, { name: 'Updated Example' }, { user : '5d762323246cd34367f6af8c' })\r\n      .then(() => console.log('Document updated and archived!'))\r\n      .catch(err => console.error(err));\r\n\r\n    YourModel.deleteOne({ name: 'Example' }, { user : '5d762323246cd34367f6af8c' })\r\n      .then(() => console.log('Document deleted and archived!'))\r\n      .catch(err => console.error(err));\r\n    ```\r\n\r\nWith the plugin applied, every `update` and `delete` operation will create a corresponding history document in a separate collection (`yourModelName_history`). This document will retain the previous version and metadata about the update or deletion. If you pass in the mongoose options the parameter `user`, it will register who `update` or `delete` the document.\r\n\r\n## Options\r\n\r\n- `userField` (optional): Specifies the field in the document to track the user who performed the update or delete action. By default, the plugin will attempt to use this field to store user information in the history record.\r\n- `separator` (optional): Defines the separator for naming history collections (default: `'-'`).\r\n- `onUpdate` (optional): A custom function that is executed after archiving a document on an update operation. This function receives the history document and the update query as parameters and can perform additional actions if needed.\r\n- `onDelete` (optional): A custom function that is executed after archiving a document on a delete operation. This function receives the history document as a parameter and can perform additional actions if needed.\r\n\r\n## How It Works\r\n\r\nThe plugin performs the following operations:\r\n\r\n1. **On Update**: Before executing an update, it clones the document's current state and saves it as a history record in a separate collection.\r\n2. **On Delete**: Before deleting a document, it saves the document’s state with `deleted.at` and `deleted.by` fields in a history collection.\r\n\r\nEach history document includes:\r\n- `origin`: A reference to the original document.\r\n- `version`: The version number for tracking document changes.\r\n- `archived`: Contains the date and user who archived the document.\r\n- `deleted`: Contains the date and user who deleted the document (only for delete operations).\r\n\r\n## Code Overview\r\n\r\n### Core Code\r\n\r\nThis plugin uses the following methods:\r\n\r\n- **Update Methods**: `findOneAndUpdate`, `updateMany`, `updateOne`\r\n- **Delete Methods**: `deleteOne`, `deleteMany`, `findOneAndDelete`\r\n\r\nThe plugin sets up `pre` hooks for each method, creating a clone of the document in a history collection (`yourModelName_history`) whenever an update or delete operation is performed.\r\n\r\n## License\r\n\r\nMIT\r\n\r\n","readmeFilename":"README.md"}