{"_id":"@bjorkhaug/sdi","_rev":"3-c5223988f74e9be218764cdb2e9330ef","name":"@bjorkhaug/sdi","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sdi","version":"0.0.1","description":"Simple Service Dependency Injection for Deno and Node.js","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"dependencies":{"@bjorkhaug/sreflect":"^0.0.1"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sdi.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sdi/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"devDependencies":{"@types/node":"^18.11.9"},"_id":"@bjorkhaug/sdi@0.0.1","gitHead":"5f3b9dfe4eebba5a18237bd3a3baf80d3fa246ce","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sdi#readme","_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-5O96RofkVHa0j9MhvykmjZfNbF6ZRm4iXS3Gw6F7xP+eqQcAzHEl9/pvbiDzjiij2JKZTS336lO3GWoON/g1Hg==","shasum":"9c09cf20b687f1f48ddedfba1f81a3e101e19bce","tarball":"https://registry.npmjs.org/@bjorkhaug/sdi/-/sdi-0.0.1.tgz","fileCount":16,"unpackedSize":5608,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDrtUxwJKV+WxDIO/a4+do88kQ/m8gMeZ7HLaQLgyI8zAiEA9GhqT8zi7zoS1isk20iI5wODECh6X/wy7Ic0gQQ++68="}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdi_0.0.1_1700168946990_0.16207472516057653"},"_hasShrinkwrap":false},"0.0.2":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sdi","version":"0.0.2","description":"Simple Service Dependency Injection for Deno and Node.js","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"peerDependencies":{"@bjorkhaug/sreflect":"^0.0.2"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sdi.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sdi/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"devDependencies":{"@types/node":"^18.11.9"},"_id":"@bjorkhaug/sdi@0.0.2","gitHead":"dee09fbf02eddd2add5152967c36bf2c7f8fe2fc","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sdi#readme","_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-R1bFK+qKs95IJ0gga6EsGvy7tE1XIqnSRk8C+y2d7KrEdi/jG9edg4MMbwuHLuXi7YHf5W85d5QbM07wWHNvow==","shasum":"822e7b5e45683cbed131b3760230b37ac7a356a8","tarball":"https://registry.npmjs.org/@bjorkhaug/sdi/-/sdi-0.0.2.tgz","fileCount":16,"unpackedSize":5490,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEs7Cu5+HCfwhQfmxAzOziRXfnL7qo4R7H9b90uW+Zv+AiEAjCG6kjj1QJ/tHVC0AKf9VEh+5Z4RoL0MiITl/hVrqKY="}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdi_0.0.2_1700171679773_0.1544130620230051"},"_hasShrinkwrap":false},"0.0.3":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sdi","version":"0.0.3","description":"Simple Service Dependency Injection for Deno and Node.js","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"peerDependencies":{"@bjorkhaug/sreflect":"^0.0.2"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sdi.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sdi/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"devDependencies":{"@types/node":"^18.11.9"},"_id":"@bjorkhaug/sdi@0.0.3","gitHead":"ed54dcba3a1169e7b7623da33f66095cd5879824","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sdi#readme","_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-pmnIdALiBHQi3U1IzXWODW/QpT3oxei7q501aQwP01j9HD7BN7ZDxrufBro/EaOgjkMQOVf70AGuBKkMIvYdIg==","shasum":"72427026dedd2295b84e015de403c48b11ccb1b7","tarball":"https://registry.npmjs.org/@bjorkhaug/sdi/-/sdi-0.0.3.tgz","fileCount":16,"unpackedSize":5360,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGsOfHunjcQLRlFkXTOABaQ5TTgafI7ZQb2+hGgB8DAnAiEAxn30Nn+RKCeDp/SjygyuZGujmuTeWR411taeF5uoT1g="}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdi_0.0.3_1700209576368_0.9721598981158697"},"_hasShrinkwrap":false},"0.0.4":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sdi","version":"0.0.4","description":"Simple Service Dependency Injection for Deno and Node.js","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"peerDependencies":{"@bjorkhaug/sreflect":"^0.0.2"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sdi.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sdi/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"devDependencies":{"@types/node":"^18.11.9"},"_id":"@bjorkhaug/sdi@0.0.4","gitHead":"9c9013a38f8a14878f21a04971e2cbca8e6b7ec5","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sdi#readme","_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-WolX/kYaNmggRbznDd+xNEmAaBudlNE9WxoFUtIA3MJjJYZM8LBUMWot8qR0xfVD1Wf7n1YEyoeBsHvEGM8LOA==","shasum":"967a48315fbc5758a3ad41ad647f49023938e461","tarball":"https://registry.npmjs.org/@bjorkhaug/sdi/-/sdi-0.0.4.tgz","fileCount":16,"unpackedSize":5348,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSZyXyu5AJATW+aTCPbTqA8Y/5v0SNvgrPks7dZ1oJjAIhAMAV+8Xlh7g6vAmAfBTi8utEL2X8RpFq4HcdDcBPQ7p4"}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdi_0.0.4_1701266589666_0.3520775737987685"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-16T21:09:06.863Z","0.0.1":"2023-11-16T21:09:07.195Z","modified":"2023-11-29T14:03:10.038Z","0.0.2":"2023-11-16T21:54:39.934Z","0.0.3":"2023-11-17T08:26:16.525Z","0.0.4":"2023-11-29T14:03:09.839Z"},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"description":"Simple Service Dependency Injection for Deno and Node.js","homepage":"https://github.com/simenbjorkhaug/sdi#readme","repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sdi.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sdi/issues"},"license":"MIT","readme":"# Simple Service Dependency Injection for Deno and Node.js\n\nThis module provides a simple service dependency injection system for Deno and\nNode.js applications.\n\n```typescript\nimport { Container, Service } from '@bjorkhaug/sdi'\n\n@Service()\nclass ServiceA {\n  // Your service code here\n}\n\n@Service()\nclass ServiceB {\n  constructor(private readonly a: ServiceA) {}\n  // Your service code here\n}\n\nconst myServiceInstance = Container.get(ServiceB)\n```\n\nNote that the typescript compiler must emit metadata for this to work as we rely\non typescript metadata features.\n","readmeFilename":"README.md"}