{"_id":"@armscye/hooks","_rev":"13-f326f81f7de25d3c7b358c3b347524d1","name":"@armscye/hooks","dist-tags":{"latest":"0.7.4"},"versions":{"0.1.0":{"name":"@armscye/hooks","version":"0.1.0","keywords":["armscye","typescript","types"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.1.0","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"465fe1bb8cca7ecb91741f121775094bbc6f365b","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.1.0.tgz","fileCount":6,"integrity":"sha512-/w+6vz1Hg0w25MX2N1AP0iuh/CeaNfSHcCniW+NN/cO9jg1P/tz2LCNgxTvkxwx1FnLGh5cgq7eobJD+Spyu6Q==","signatures":[{"sig":"MEUCIAWoqlyPzyUCA4s+fIQnggNqJ6OyV09AsWm4XuCgpcqnAiEA4CiDIINa/fDURMZraY+/TqOuPbFSkF833+++0GZjyRs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2627},"types":"./dist/index.d.ts","gitHead":"052fa1099c964068feda456b787214c025533e6c","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/7.1.4/node@v18.16.0+x64 (linux)","description":"A collection of shared standard TypeScript definitions","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.1.0_1690989178116_0.8386900571982465","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@armscye/hooks","version":"0.2.0","keywords":["armscye","typescript","types"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.2.0","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"017c2b1148f64392b55b46c395b6e5a7ce6a18ce","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.2.0.tgz","fileCount":7,"integrity":"sha512-A3YJTdYXoSK7mkLq2wM1NWAMOj613si/2B+t194Bws2ZpuCj867OnnhN30wPF1J8iyCn4AqY9ZTXnu0d7D2ATw==","signatures":[{"sig":"MEUCIHPKwHSzKQ64zlsiSKd1OOLgDXG+DyVSaMGjlJZkH452AiEAjoNJonI6OFxP7RCRbyBgBPM2qn0KXcwr3Ve1daq6CtQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2950},"types":"./dist/index.d.ts","gitHead":"19d9e76fa3d3d306dd676c70a7f4ed87f338a7af","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/7.1.4/node@v18.16.1+x64 (linux)","description":"A collection of shared standard TypeScript definitions","directories":{},"_nodeVersion":"18.16.1","dependencies":{"@armscye/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.2.0_1691497364560_0.05528145355467862","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@armscye/hooks","version":"0.2.1","keywords":["armscye","typescript","types"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.2.1","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"086cd35a9f5dd58167a840657f8f8f366b8d58dc","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.2.1.tgz","fileCount":7,"integrity":"sha512-ck5/9suAmBXutHMWxxE6nP0w+sYw44n5wez9rdWN+2YoumouPNHnSiqPRxWyHmPAhcIVVqHNheR+wfS57Ydpmg==","signatures":[{"sig":"MEUCIQDm28Skpy/RuukRegIUKADqTx927JXLAKVkesKdFKZkEQIgdyQd7rMXkhDAa1p7FmE6iJ8bFJwfFklylnC3j9/Z3qo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2950},"types":"./dist/index.d.ts","gitHead":"004a3020ee55e01fe6a5f7888c2f285007af1f41","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/7.1.5/node@v18.16.0+x64 (linux)","description":"A collection of shared standard TypeScript definitions","directories":{},"_nodeVersion":"18.16.0","dependencies":{"@armscye/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.2.1_1692254766988_0.5586393954662168","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@armscye/hooks","version":"0.2.2","keywords":["armscye","typescript","types"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.2.2","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"b89de82363fd05f4cd267707fa5a387c085d0d8f","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.2.2.tgz","fileCount":7,"integrity":"sha512-SPsOjq29vGrAcAEcQW7UuZGwA7OaAL+n0FDhP0PvyPvpRiE4dBzIVzFNQDmcBaloLSWJ6ymFAxni5fZxhPZWXw==","signatures":[{"sig":"MEQCIEJgUmp+TiiyhepdRi/JzfZQ8han9M4WJInFylwv42ovAiBgRYWIiD4T3LKLQx7UpIxbyuC6uRnmuj4jbDzyYk34ww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2833},"types":"./dist/index.d.ts","gitHead":"48612e5db93a80671592bb11ef1c09ff2eddac2e","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"A collection of shared standard TypeScript definitions","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@armscye/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.2.2_1692950411766_0.03442985276870125","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"@armscye/hooks","version":"0.2.3","keywords":["armscye","typescript","types"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.2.3","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"b565f340906d71ab17615cf671c9c472339e56d6","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.2.3.tgz","fileCount":7,"integrity":"sha512-pfOtNexyEsePrKneu15KvpDnk9HznHUe5RzlsIgfyNwVpZN/sHeA5ZCpOERSbWv1bc8OxceBgsrc3zkvXUWmFw==","signatures":[{"sig":"MEYCIQCxHvBVXPDDbaI5HlScvPnQ4+bxeHuaQqcn2gm740wbRQIhAL4VhcBPXnK8C2DOoUHgxfoyjr3c3npimOgtplBoiLGe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2844},"types":"./dist/index.d.ts","gitHead":"1b1e34fb38f6a25c95fdb146e257dbb27011513d","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"A collection of shared standard TypeScript definitions","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@armscye/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.2.3_1693066048290_0.05542016298352981","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"@armscye/hooks","version":"0.2.4","keywords":["armscye","typescript","types"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.2.4","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"93aa9790f7cdb979f5db79793e475b438681f165","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.2.4.tgz","fileCount":7,"integrity":"sha512-JEwXBRfV6YUE5pQyBqEBYzRGhPhJ75NxhVh9izkcJdVVQZB94akZu4C2uTsC76/woXU4jUPeX31zDyU2KtysXA==","signatures":[{"sig":"MEUCIQDsD/PAt9LIWuP9oVfMmwyR0fLr+zbhUMlonNT9YTauygIgBloxVLd6SPdAAqf3/fB4iJMOo977GLgY/uPsxP53LSs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2829},"types":"./dist/index.d.ts","gitHead":"e59ffb38f9848a42ab9a5c8666f51b5041f42505","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/7.1.5/node@v18.17.1+x64 (linux)","description":"A collection of shared standard TypeScript definitions","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@armscye/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.2.4_1693114516418_0.1174020521053416","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@armscye/hooks","version":"0.3.0","keywords":["armscye","typescript","types"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.3.0","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"45fea7416874ded4cdba7af513cbc79b60a606cd","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.3.0.tgz","fileCount":7,"integrity":"sha512-StV7xe4u0Re//1lK4CfGVS1wMUZ3pJd5amL/OLSVhhxaJ8X5GAtAs7bYxwzEk9SYmocNhCE6RjR7LpEva3mBVQ==","signatures":[{"sig":"MEYCIQD8EbuE6Or5VLBojKys8Ol+A2Vu9D+3B9iaVAxw9UabJAIhAL6Y0RjP3Yh4G83cVzBy9DISk4T4O/HPGpiXypljzq8K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2846},"types":"./dist/index.d.ts","gitHead":"fd168d4efec54f0c703927052ccbd858d3fa00d0","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/7.3.0/node@v18.17.1+x64 (linux)","description":"A collection of shared standard TypeScript definitions","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@armscye/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.3.0_1695797942699_0.9571166850634354","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@armscye/hooks","version":"0.4.0","keywords":["armscye","typescript","types"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.4.0","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"4b64e7ae86aedc9283b4eaf3bab564e8876075fb","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.4.0.tgz","fileCount":7,"integrity":"sha512-qV3LRV4ybOsg7B/MH4j/1bEtPLq2H8PTdbOm1wmwqYNcctLg07LBD3RU+m+XSk0NlzK4khb9QQKfGzZET++ZuA==","signatures":[{"sig":"MEUCIQCZCL+ShMrDCTuAeA3c5HZlRekUQ0tGZ6qK27JQ5L6U3AIgDXiSij/Lxt9JYgZR/pyA2a5mVuUwg9gEz7URRSIp4nI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2859},"types":"./dist/index.d.ts","gitHead":"3f346ded1e7a06cf1afac1ba29a6e4f5377d4664","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/8.0.0/node@v18.17.1+x64 (linux)","description":"A collection of shared standard TypeScript definitions","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@armscye/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.4.0_1701687744771_0.15034840472157973","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"@armscye/hooks","version":"0.4.1","keywords":["armscye","typescript","types"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.4.1","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"94f15040c12e71d5a5317d8018ded8d5331c2aa3","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.4.1.tgz","fileCount":8,"integrity":"sha512-nQaxqeC0/bquP+qS4aoqLMCChbxGNTrBBU/1IjG89chFOCSqaqNx8Bt/k0k7DMqANlMbU1sN/xTWyMNQWleh4g==","signatures":[{"sig":"MEUCIQDCwLmUExZpgVWviRbpIK/kasCQwpjOLxVvTOdikJWKMwIgQ9KPHetGuSieUBxIVhzYTYxAFhkXYea6t0SeD7maJ9w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2972},"types":"./dist/index.d.ts","gitHead":"f2c94ab8ecb4161f6f8c82820a8bbad758d83209","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/8.0.2/node@v18.18.0+x64 (linux)","description":"A collection of shared standard TypeScript definitions","directories":{},"_nodeVersion":"18.18.0","dependencies":{"@armscye/core":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.4.1_1706148456690_0.002890299928025586","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"@armscye/hooks","version":"0.5.0","keywords":["armscye","typescript","types"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.5.0","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"e68f8616b1a2c636d5dcf2a07e3d2d0829ef441f","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.5.0.tgz","fileCount":7,"integrity":"sha512-0t7BDYR6s2YNspQbnS0Y/oVqQDIoBkXqCRTicHjkpLSOduM6IQiMxhp5+1OrFgV+jANiE7rxM7I7hfDyruONJA==","signatures":[{"sig":"MEUCICnH5BNFM+b2rG8GL3BOA7m6/DC8D79nebk1hK/83AOZAiEAnd+1w+t/5D6ncnqHBQlZxa8nhv2l/x2YpkomT2/rm1E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2685},"types":"./dist/index.d.ts","gitHead":"1cc4d3acff67f6754d443396835d2523284bdc3b","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/8.0.2/node@v18.18.0+x64 (linux)","description":"A collection of shared standard TypeScript definitions","directories":{},"_nodeVersion":"18.18.0","dependencies":{"@armscye/core":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.5.0_1706149055111_0.9640003678589082","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"@armscye/hooks","version":"0.6.0","keywords":["armscye","typescript","types","hooks"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.6.0","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"1234ca655a8bec6e000c0fac9598a70d9ce3407f","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.6.0.tgz","fileCount":7,"integrity":"sha512-BN7X47Cz1zjkPekzalIhQlcqHfJ7lLhUJxa+CwZoI5kUvJcSTMiTG2j3ZSt7uIbEj24PchQoXcMNJE7b6MlMUQ==","signatures":[{"sig":"MEQCIHro9UENVrhOWO8uVXfvgDPRLC3k0E/9g1HUlDN4BAGHAiBPN8aVzjzIIQPCyLW5FbWIY0QImA9PGUAnAMPSmqQGVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4684},"types":"./dist/index.d.ts","gitHead":"a26e3829ccbd43eae0ab1a1dd165af7ae7b355c1","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/8.1.2/node@v18.17.1+x64 (linux)","description":"A collection of shared standard TypeScript definitions (@hooks)","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@armscye/core":"^0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.6.0_1708502266218_0.39783179256237133","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"@armscye/hooks","version":"0.7.0","keywords":["armscye","typescript","types","hooks"],"author":{"name":"Augustus Kamau"},"license":"MIT","_id":"@armscye/hooks@0.7.0","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"homepage":"https://github.com/armscye/armscye#readme","bugs":{"url":"https://github.com/armscye/armscye/issues"},"dist":{"shasum":"12af504df2e5fb522bc3892e52bdbbc83b815e69","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.7.0.tgz","fileCount":7,"integrity":"sha512-jLc/yetLLBFQCzYh+hfEAnT9L4sUuL7iDtP+usbahdlVe3Tz9xsPJx7sTbPwu7FVFeQZy9fUDCdqN1Y1iNocyg==","signatures":[{"sig":"MEUCIHwNpCiFXDvq96h9qgXYy0KAJKo4xH7gxL67i/3o0RaBAiEA4Auh3Y/XMo6I3ugCUy0sOrkmp/OZG/gDZu6UoONWsvg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4483},"types":"./dist/index.d.ts","gitHead":"0709eb7276b853296ef820d0e5bd8c170e6d2ee3","_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"repository":{"url":"git+https://github.com/armscye/armscye.git","type":"git"},"_npmVersion":"lerna/8.1.2/node@v18.17.1+x64 (linux)","description":"A collection of shared standard TypeScript definitions (@hooks)","directories":{},"_nodeVersion":"18.17.1","dependencies":{"@armscye/core":"^0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hooks_0.7.0_1708677059083_0.6671013769471335","host":"s3://npm-registry-packages"}},"0.7.4":{"name":"@armscye/hooks","version":"0.7.4","description":"A collection of shared standard TypeScript definitions (@hooks)","author":{"name":"Augustus Kamau"},"license":"MIT","types":"./dist/index.d.ts","keywords":["armscye","typescript","types","hooks"],"dependencies":{"@armscye/core":"^0.4.3"},"homepage":"https://github.com/armscye/armscye#readme","repository":{"type":"git","url":"git+https://github.com/armscye/armscye.git"},"bugs":{"url":"https://github.com/armscye/armscye/issues"},"publishConfig":{"access":"public"},"gitHead":"e9a42ae673466c9a255f4ebec8750f580e9f70a6","_id":"@armscye/hooks@0.7.4","_nodeVersion":"22.23.2","_npmVersion":"lerna/10.0.1/node@v22.23.2+arm64 (darwin)","dist":{"integrity":"sha512-YN9UdeaOCerZbetPE/JG1IG0Divauu2iLT52G2Wm90YrzZzYH9XhxpISbfBDA7HI8bPyp80jRzw2baHjOLOHTQ==","shasum":"e981aaa4bfc024a6f39a964d20803c7245026615","tarball":"https://registry.npmjs.org/@armscye/hooks/-/hooks-0.7.4.tgz","fileCount":7,"unpackedSize":4470,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDfF0W5+bt4G16/T+ZtQYP2wafvzpsyTvYcoXACXucEywIgCf1DaS6xQoViuLHmY2L9LLpb0GTSv9a43oroyL/REAc="}]},"_npmUser":{"name":"augusito","email":"kaugustus15@gmail.com"},"directories":{},"maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hooks_0.7.4_1788333360862_0.6474008742668305"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-02T15:12:58.054Z","modified":"2026-09-02T07:16:01.162Z","0.1.0":"2023-08-02T15:12:58.342Z","0.2.0":"2023-08-08T12:22:44.753Z","0.2.1":"2023-08-17T06:46:07.199Z","0.2.2":"2023-08-25T08:00:12.028Z","0.2.3":"2023-08-26T16:07:28.442Z","0.2.4":"2023-08-27T05:35:16.595Z","0.3.0":"2023-09-27T06:59:02.968Z","0.4.0":"2023-12-04T11:02:24.980Z","0.4.1":"2024-01-25T02:07:36.820Z","0.5.0":"2024-01-25T02:17:35.290Z","0.6.0":"2024-02-21T07:57:46.399Z","0.7.0":"2024-02-23T08:30:59.262Z","0.7.4":"2026-09-02T07:16:01.007Z"},"bugs":{"url":"https://github.com/armscye/armscye/issues"},"author":{"name":"Augustus Kamau"},"license":"MIT","homepage":"https://github.com/armscye/armscye#readme","keywords":["armscye","typescript","types","hooks"],"repository":{"type":"git","url":"git+https://github.com/armscye/armscye.git"},"description":"A collection of shared standard TypeScript definitions (@hooks)","maintainers":[{"name":"augusito","email":"kaugustus15@gmail.com"}],"readme":"# @armscye/hooks\n\n> A collection of shared standard TypeScript definitions (@hooks).\n\n## Installation\n\nUsing npm:\n\n```sh\nnpm install --save-dev @armscye/hooks\n```\n\nor using yarn:\n\n```sh\nyarn add @armscye/hooks --dev\n```\n\n## Reference\n\n### ShutdownHook `Interface`\n\nInterface defining method to respond to system signals (when application gets shutdown by, e.g., `SIGTERM`).\n\n```ts\ninterface ShutdownHook {\n  onShutdown(signal?: string): any;\n}\n```\n\nThe `onShutdown` method is called when an application receives a system signal indicating it's time to gracefully shutdown. Common signals include `SIGTERM` (termination request) and `SIGINT` (interrupt).\n\nThe optional `signal` parameter might be provided, revealing the specific signal received.\n\n**Usage notes**\n\nHere's a basic example demonstrating how to use `ShutdownHook` to close a database connection:\n\n```ts\nclass MyShutdownHook implements ShutdownHook {\n  onShutdown(signal?: string) {\n    // Access and close database connection\n    const db = /* get database connection */;\n    db.close()\n      .then(() => console.log(\"Database connection closed\"))\n      .catch(error => console.error(\"Error closing database:\", error));\n  }\n}\n```\n\n### StartupHook `Interface`\n\nInterface defining method called during the application startup.\n\n```ts\ninterface StartupHook {\n  onStartup(): any;\n}\n```\n\nThe `onStartup` method is called before the application begins listening for incoming connections.\n\n**Usage notes**\n\nHere's a basic example demonstrating how to use a `StartupHook` to connect to a database:\n\n```ts\nclass MyStartupHook implements StartupHook {\n  onStartup() {\n    // Connect to the database\n    database.connect();\n    console.log('Database connection established.');\n  }\n}\n```\n\n### HookProvider `Type`\n\nDescribes type structure for hooks.\n\n```ts\ntype HookProvider = string | symbol | object | Type<any> | Function;\n```\n\n## License\n\nThis project is licensed under the **MIT license**.\n\nSee [LICENSE](LICENSE) for more information.\n","readmeFilename":"README.md"}