{"_id":"dependency-injection","_rev":"73-29259af83bf5d7f38d8367e1e5cbc7a8","name":"dependency-injection","description":"[ABANDONED] Dependency injection with configuration and autowire for node js and browser","dist-tags":{"latest":"2.3.3"},"versions":{"1.0.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.0.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.0.0","dist":{"shasum":"a4222b9b024163471405d31cc41c3cebca4813d0","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.0.0.tgz","integrity":"sha512-EL+xmG/623YG9y9pokWTS0z9KiuKAXYT2zUz6uEITnT4X4kM1gsJ3oeMPVJ+pWk4dXTO/OfD1QLXS3uAnpWj3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdgkvw46VwqVduHiSHprL487IiqiVA9KywIlD5XeeZyAIhAIWbgbThfdqq5UIGMRAUByQ9cjJTkwiLb0yBKIeagf92"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.0.1":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.0.1","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.0.1","dist":{"shasum":"4e247b6a7889191db75102014419d91260dfb671","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.0.1.tgz","integrity":"sha512-x18yeA/gDJiejsCPWwtI4htR8FxWS5vqJi2lgqqefxe0exN/dImF9Q15JEdJ1AHlQIO7GJIFEeE6cxI0+YkvQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyp23ISKEtxsr4CLpIycXDnKfRPkkFLBzN0Huu2KOppAIhAJl92xjnCSRNFxeccnkMnjDrZeSih1KSEiRkzVBSyyfR"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.1.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.1.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.1.0","dist":{"shasum":"68634a4718da8bd27797d27eb5b57ecf1e16eb2e","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.1.0.tgz","integrity":"sha512-VkS0H/0yQrFQWFTGgXIyIYi0F1P0XeXXj5HU0PGO1j/lLIvMaF79RqeUI4sMkBwRaWoW8hwN++Jc9llh2ueJIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHTvaROngsvv778pXaHtwqxB1uNIk7p1mkars8M6DgKmAiEAu7vmUUL20xYjjQngthVb1RSlJei4+oaIqp5OTA7xnGM="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.1.1":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.1.1","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.1.1","dist":{"shasum":"7737d2415d39a50af430196362002aabe187eeaf","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.1.1.tgz","integrity":"sha512-+Ild1tJpA3xJeURws2VH3GW97hZGuvahJtUwtnSxcRLTbN6Zf2AYRNUW1ygxh9JrZqcaUQ3SaL3mB+Zs5Mckig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYMRmRZTyjoGk9lwJUDXO2rVtOL8hLKXQxk7CC8b96FQIgLOVDZW0SXwbj59BL8vxuIhv6/FcZGhNn1szaMus9lac="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.2.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.2.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.2.0","dist":{"shasum":"f20c41642285441779f90d3626fbc509209c32bf","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.2.0.tgz","integrity":"sha512-IaWzejJygEY8m4nq+7QW7KuURmmql/s1ELNyPe0aTSSrRPtIOMLkgrnFbKSWdt0eCkW8oEwcNv8S7u4eT1nuqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICrwtDfQgGy2EOpQUAFeozuIshN4RHqBFuYUIglxRPrXAiB7iRNNS3WlN6LI2CDUEL3NCkfWFTfsVxtnO6dpmiw+3g=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.2.1":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.2.1","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.2.1","dist":{"shasum":"552bbcafa4a5390d61693437f7cbbd81b4b8d17a","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.2.1.tgz","integrity":"sha512-C3fgy8IfJbeNoRhb1DvuIh8bzvbfRJBcsSvaGHNWYKUntljUBQYYuh+/Yvq2oq3GrLoTzkMjjHlspHPY6IiU1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBiLtf4ErWEerTY8gGhDhAi1Q/1aLkCUBC9t/UoZowSNAiEA7OGxctWp38iNOP+m5J1OMlNc2dm0EbKSHdit3peAilA="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.2.2":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.2.2","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.2.2","dist":{"shasum":"50e20c72a664f542dd6d26836c6deca877e9de54","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.2.2.tgz","integrity":"sha512-4xxKH8EJ+6/v6xZUNQ9G7KIGemARbxRMZaSfP94ZJ0ZOl3sTqkNWY0ici0+IlGmlEQixEM2yYKWHff7hdhhPLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXeC0woKnckL7DBfPOSmgJNKwaSuJw4yDG3BnmX7RxNAiEAuipBFIysPSqlIRII9NKid9HmZxbdgsxyEYZ1ZbJJiKE="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.2.3":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.2.3","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.2.3","dist":{"shasum":"cadcb8bb10a89fbc309b9097ae463c2f59a0d398","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.2.3.tgz","integrity":"sha512-IzLr9rvSePI78ghMeSE163eY8RRiPMyT9SO/+89+S0+zvb1FYv06CGmCsBayXNwLqTVC6DlT6vOcD1EuIgq3OA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICCM/OF9Pz8bazYtKlz8MJLcS8h5RZ33MoD6PLQZe1fnAiA3RD1dm6ciIyH458MKoGc9gwTeXTCYi+N/xPeABlQxjg=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.3.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.3.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.3.0","dist":{"shasum":"d355c0cf930bc20f07ec7641a1bf5e04fdd3ca5a","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.3.0.tgz","integrity":"sha512-CskBdGUUFw4mJL/GpzafAfc5z6N6a3ZcXP4JBAKZBaT8+I3ZVunXV35ICD05j5yCXneX5K8oydQS+R2teDIAcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpZFijqNmbjpYBGL/x/XRYyUSuXWW3tOkckk88YxyDSAIgBKwwVAU3jodRb+vWawaPrHWSDJsbmTn0CeVBo2GLj00="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.3.1":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.3.1","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.3.1","dist":{"shasum":"9a86595095e2b9be3b298dc5a4e19fe2a0e01fc8","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.3.1.tgz","integrity":"sha512-8EbgXduI8HKG/tN1ad1Wp9VARg6n3II5QRqh3MeXvNb9Z96wgJhuhX32e/qsY5e+u4DvrsKm7XRT9S8RNJWA+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhAlHDIFDLT9+RsTprCYmDAZIkOWA8E3OuW/SJoeL2UAiEA3UbH8U8yjD8LXu3HMa5t4oxWtWqWx+is6ipBtXNHpUQ="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.3.2":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.3.2","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.3.2","dist":{"shasum":"6ecf40a45fa43bcb89537b0ccafd916d2890ed33","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.3.2.tgz","integrity":"sha512-oAzcMnshm9lhGFMIvC0QbT0d4ta1O4+76uvPKUYRcRGJybBh8igyuSnup1ZlnUlbcvd2/+/3xMhZuy8S/OfuQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVitkIkLW/L49zhzyek4NKFDaJ+bPWB/lJ99WWuzFixQIgUaHEdSJ4dBaCLQcH7UXpJajKpBPJaATv5Q5R3eUtMEo="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.3.3":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.3.3","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.3.3","dist":{"shasum":"fb2c81b43abb9d992fab82f4e02b94273472a0d4","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.3.3.tgz","integrity":"sha512-Jp85dtA+xLiHn92JfI/OfnEOf4JqPXBTDCe1V9xoW3N4kM3BOybIg6NKqEm6Dl54i3uUhxForCVESfEJWe4+vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAUJIsRdT7Zud41AISMOvNdSlriPsZvwal5jMI7SA22JAiBJzi+AKJFi1XDMktZSkpzfPx+HigLoZg+o8O7jt0QuFg=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.4.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.4.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.4.0","dist":{"shasum":"05154192c591dbfcaff062c1072c4ebd2b5b7090","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.4.0.tgz","integrity":"sha512-Gb6ue7YMOu89zlqVRI5jJJ8+mAlwwz1/A7WstLbzKdHSSOmwuRdDAWUsdmVwYnyvwAgne3Fh+c6sl7pZta8+PA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsaCpsccw7SL6zrYpVC57GUFSTVTlTKo3sRUCurx7uyAIgVCaaLRR62vsw8GywbCw9HIXS4vHAE0wYP5XJFWw9RK0="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.4.1":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.4.1","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.4.1","dist":{"shasum":"9c03b9079d5f17e30aace23188bbd26791504541","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.4.1.tgz","integrity":"sha512-Mh/wYyCU4piOwyXvxANO+ZKLNVP6DpOXC6fcgzWM15bakgCfhuc7mh/CEtZUljxv9lIWcsVzwA81p3r6RDJiig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2sFSE6krTrNg+QDHBdoHDkrDWYFC5Qzhdki4acc+ZAwIgLw2Q+zHvR4kXBEIgwmPslud/yLdsBFigKWxTreGuP0I="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.5.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.5.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.5.0","dist":{"shasum":"0882ceb089017a142d6f5a3b0462677983e2a8ae","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.5.0.tgz","integrity":"sha512-Y+1KpcvY3cq+I4zBES2NU+H9Xmqi+0+ZtxlzOx37C0RuT2sqsHQYVLY4ycFL/9KOISIc309rCF9Hz2ak7sQqwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID9reYjS8/chiaZjKCQvM8GQhmrDcBvGQmIEep7BkIo8AiEA+RNSOpPSWOSVmV53mLlH9p3xYP17pht/mOehjzMQ+Zk="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.6.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.6.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.6.0","dist":{"shasum":"97f4b2a4928d491a466cb746896b54100ed76e20","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.6.0.tgz","integrity":"sha512-izDbi/wBTLJdpytxhfA4IWdvRWJrzLzwrnIlQp1HFqVToslMb++b0A7oTz2mhMzJlcXlbYy28Vux0PQ6V3Qs0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxSsMex+e62EEUyaMsyOXcKDxcSRACLEn1zUz7Una33AIgWQo7zZqU10lPv3TZCH9qXBt9LFoOJtYh3t3mVXEd+uQ="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.6.1":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.6.1","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"latest"},"devDependencies":{"should":"1.2.2"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"_id":"dependency-injection@1.6.1","dist":{"shasum":"6c74953471ac2143896efe309cba18856e3a3263","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.6.1.tgz","integrity":"sha512-f4L298OakJEY18C/IxIJv/ZS/kNKyCFIWFjDQU9rei/9G7NoG95QxQ87xIKmDKsHEXBol59K7Mvv2iaoRcG+hA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqcXDEQLOnhhLiw2ZK+b498qEb+NWhEJhLr5yRYYHENAiBEU7/K3z0aVZAAgakw0z57d4U+TshA8GKq1m5Wsqh6Ew=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.6.2":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.6.2","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"~1.5.4"},"devDependencies":{"chai":"~1.8.1"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@1.6.2","dist":{"shasum":"801444ac71be63ae75fd4ddd1858e0cdfe5cd9ad","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.6.2.tgz","integrity":"sha512-Ij9PVjpJDVsU6FB4Zdj8QJSvm8UiNw9v1wskz/CFnFngOZ7KgzmlmY22+UqmwBUiFyOCaoxU67mpfdHCgWydEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAR7LiTm994mdXPCCVEPHcCqGLCQnrxb4nbBA6n8yvY2AiA9TlR1btcH40fRt4xiJf1BxrBK2V95QQswWADX/DnORg=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.6.3":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.6.3","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"~1.5.4"},"devDependencies":{"chai":"~1.8.1"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@1.6.3","dist":{"shasum":"a65819fdfe6caee2e5b035b48137005817b997a8","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.6.3.tgz","integrity":"sha512-iDST1FDjQ119YkjQTgjsAFVnqYFZxqQzBn96FA5GWJXFc24YD8BbeuLMYw1FU4mnLp32vfnKEV7ERQE1xCPGgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxj7lBtQPH8D12tXJrNqOumfx2OgaY3Ossr208cYPzQwIge1HSOxk/dMrbKxd7Y83T/Ov4H3N026GG/JPPvQW9bTc="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.6.4":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.6.4","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"~1.5.5"},"devDependencies":{"chai":"~1.8.1"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@1.6.4","dist":{"shasum":"e805ac7931000597bf6952aea19004c429698062","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.6.4.tgz","integrity":"sha512-gg7k6TYGGJC/aj+rdKrrupVdSHvJFPXPlHUZIGu/xdVKyPKs31Suem7ON8MEBZcg2TNcSgh03umExWuatb6oMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDJ1P9qs0kh77F4j0YtowD0No91EWwsj2gAfQDJCc2wgIhAJ0jntFFc5wSILZ8P4bunswDvT/7q3V/+uuZgLcM4zSJ"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.6.5":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.6.5","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"~1.5.6"},"devDependencies":{"chai":"~1.8.1"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@1.6.5","dist":{"shasum":"4e6a96692d3f5396d0822b6e514b0d59aaeeb41e","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.6.5.tgz","integrity":"sha512-hqpJpYv/h6mY2QAAz4po/jJxzzkeEPoSKXz+3kyBmvrDPzQh8rwwYmuKHf60n+A3FjFlEAudTLzr7q2g3mOdew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSwYnuV6yFR0oqj3H1Z6/OLCKsqyRV0k9t6NNQ7IfntwIgRg3rMGZW4HOc7qD1WuQwlSd+3gX7VMHIIGizbmdqceI="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.6.6":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.6.6","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"~1.5.6"},"devDependencies":{"chai":"~1.8.1"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@1.6.6","dist":{"shasum":"8ee95b09a1c2c9291e2eb5d4999955e1425e1df5","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.6.6.tgz","integrity":"sha512-AaqsnqEdau6bHNRchBEs3Fv4Q2n85dCguR2eB7e/S1p8PUrEsMPhPwApSUzkk+AFgsyrBp3qvJxiw8enLnvbeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8qgEXBpKuAzjv5Hyljun2lvge0yUK7VBRDJTSxLu3kQIgcVp0jeTVlOkklnlUWMHXZStKKX+lJlB9dmFSKRRWpmc="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.6.7":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.6.7","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"~1.5.6"},"devDependencies":{"chai":"~1.8.1"},"scripts":{"test":"cd ./test; mocha ./index.js --reporter spec;"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@1.6.7","dist":{"shasum":"828c5fd677fe87164e9d83e451a9de85d7c833b7","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.6.7.tgz","integrity":"sha512-iikyd32bgdNDHPvuBoo+lxOkApLzDa8l06BjokMXsUTMVQm5KonbmGpJVvftLp1VNcqvJz0b8NXfJE7cqeFmGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHrNLD7teeOqdleEN7pA+uljPoOVnGKpu6rrSD3uPRjQIhAK9C1v6DQChDwosLtEHVT+oE+umKQntK6UpeFW5P4koE"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.7.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.7.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"~1.6.6"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.14.0"},"scripts":{"test":"cd ./test; echo \"Testing in node:\"; mocha ./node/index.js --reporter spec; cd browser; echo \"Testing in browser:\"; mocha-phantomjs ./index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@1.7.0","dist":{"shasum":"530a27ba7f313cc15adf08cf5be712f4a81013ee","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.7.0.tgz","integrity":"sha512-L6YLuPiAeGRXc8vZs20IDMjQwpDr1OQjuqt8cDjtBXH3GboWakiCOVmS3zvyDmEgWkdrLa0geOR6uFuXfKxw5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEvSP0JhGTVlfLTrEAQr2G0bs8XXpNrAihkN/PG9QbXSAiEAogZC+JG7yP/Syv8+X34i0RUFVOpTzK1r7GcnKrd9pCc="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.7.1":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.7.1","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"~1.6.6"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.14.0"},"scripts":{"test":"cd ./test; echo \"Testing in node:\"; mocha ./node/index.js --reporter spec; cd browser; echo \"Testing in browser:\"; mocha-phantomjs ./index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@1.7.1","dist":{"shasum":"2220280229a3672a401a7d5798c2018a8df59d05","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.7.1.tgz","integrity":"sha512-EjY4dg3C+So04mAbNpdAfdCNVwbeWPSsHxvUkt4TUtcE2fQdepLzNVObu3J4APr1KPkaDTdOTz9cgpOERLIgEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCph7wWlsouNVCK3ik41QmcY4EU55xhvAx8QOhCvWSn9QIhALa7R5CWROHsDCYI0deHyPZBkwo2Ch92zUXhicCW47sx"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.7.2":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.7.2","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"~1.6.6"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.14.0"},"scripts":{"test":"cd ./test; echo \"Testing in node:\"; mocha ./node/index.js --reporter spec; cd browser; echo \"Testing in browser:\"; mocha-phantomjs ./index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@1.7.2","dist":{"shasum":"518d420f55f14b77e08aefccf470408898c08983","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.7.2.tgz","integrity":"sha512-YGvgbJwC0eLDk3Jcl3Nusdp7oKB2s2ezBKODH56E96DbMQMbcr17/6lleLbJCFjCdtCEFj+1337mohA6uQSwhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMV0wL6oe2litPe+rDxoaZVf+LtnHLclOY6jDvLp2izgIhAOmGy7KkQXrVBbGOODmu5z4eFf65ZGbvfo8GNeXWhDwp"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.7.3":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.7.3","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"~1.6.6"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.14.0"},"scripts":{"test":"cd ./test; echo \"Testing in node:\"; mocha ./node/index.js --reporter spec; cd browser; echo \"Testing in browser:\"; mocha-phantomjs ./index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@1.7.3","dist":{"shasum":"0a9ec8c63575b78a753865e77a502a77dfe391b8","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.7.3.tgz","integrity":"sha512-2unQTigxIbZGbLlUESrDEZYf9l5fkhqI1BBVMIBmo4XpxAWZhxIjIkymjq3d3X3lhsL9mLpupHMx9Yz/jR3vhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXt5565TWSi+pkbqVxx6qRFO9HxGHwYbPQXL959bDsAAiEA7koqZWWkggxgz3nsGEazaYNvnRZZgTdG01XQZfrX/ng="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"1.8.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"1.8.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"1.6.6"},"devDependencies":{"chai":"1.8.1","mocha":"1.15.1","mocha-phantomjs":"3.2.0","phantomjs":"1.9.2-5"},"scripts":{"test":"npm run test-node && npm run test-browser","test-build":"cd ./test/browser; simq build;","test-node":"mocha ./test/node/index.js --reporter spec","test-browser":"mocha-phantomjs ./test/browser/index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@1.8.0","dist":{"shasum":"f6c693c876f8b26f7ff532ce86f3e9d47111c786","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-1.8.0.tgz","integrity":"sha512-qhT7yJUAzUrZ3qA9aOpBX8vyKp6Yt0Mr2gzujBBBqfJ1aQnjmxEAVG1PtT8TVJ2edNA53YuYG3OLGC9UNGktfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/afWaIgZEzZEOZVXXrRUD0pb1SyliixMhCVphbBmfkgIgLJWxFabd8cwuCRQL1FZie3ifsVIRASIKMGs59BxN29s="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"2.0.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"2.0.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"1.6.6"},"devDependencies":{"chai":"1.8.1","mocha":"1.15.1","mocha-phantomjs":"3.2.0","phantomjs":"1.9.2-5"},"scripts":{"test":"npm run test-node && npm run test-browser","test-build":"cd ./test/browser; simq build;","test-node":"mocha ./test/node/index.js --reporter spec","test-browser":"mocha-phantomjs ./test/browser/index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@2.0.0","dist":{"shasum":"3070c9af5c3302a06b29e1324a3f0cafab14b316","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-2.0.0.tgz","integrity":"sha512-/bsvVQSuHsKWfTU1ksDtLp/+Go3xncEtnKlKMOOFYAWLYAJ0x+3QvoZ+rmj/kX7pNprIUREt0fYA2FOyprRdWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfU3J5G0v84JsDJng3CFqbl5VEtdRS57mxb/pLWAciTAIgFegc2QbsoxgpvHCQD5uGTdCicdMmIF16WTjx5FtjEj0="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"2.0.1":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"2.0.1","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"1.6.6"},"devDependencies":{"chai":"1.8.1","mocha":"1.15.1","mocha-phantomjs":"3.2.0","phantomjs":"1.9.2-5"},"scripts":{"test":"npm run test-node && npm run test-browser","test-build":"cd ./test/browser; simq build;","test-node":"mocha ./test/node/index.js --reporter spec","test-browser":"mocha-phantomjs ./test/browser/index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@2.0.1","dist":{"shasum":"c7ef18fbff946a161db6a25e6e1285d1c8417802","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-2.0.1.tgz","integrity":"sha512-sWIGqAddcaq3aHXqt26WPsEZDNB8eIGB6EYPuVQmHfa0zmaWYBBbzrQ1UXzvjkp3YVJdu5C775y1IiFXEh8G2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/5ASFTRYC3U1+Zswf3BTklHhcfo43bAy1HDXjuYE1bQIgaTW3k+jhju0NSrqBkNEiSacnLWzLtg967I89gch6kI4="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"2.1.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"2.1.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"1.6.6"},"devDependencies":{"chai":"1.8.1","mocha":"1.16.2","mocha-phantomjs":"3.3.0","phantomjs":"1.9.2-6"},"scripts":{"test":"npm run test-node && npm run test-browser","test-build":"cd ./test/browser; simq build;","test-node":"mocha ./test/node/index.js --reporter spec","test-browser":"mocha-phantomjs ./test/browser/index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@2.1.0","dist":{"shasum":"469f9a0aae12e4eecb97e80160615c50391fb5bc","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-2.1.0.tgz","integrity":"sha512-5bSLSJdgteg2y3BEU4pMwYlOO+cHfxBGP9Q+fy0czt1g7HguCEpjmBcRQ8WKhYBiDDmNrbgNhEnC9it48dN1xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOSv1vTstaUuEUC0nRwPyx7hpzvzW8NpVED6MTxcf2nAiBkWaIY2iiDXopuXXumRlOxq4CTAgWjzKjfMSD3xVCLzg=="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"2.1.1":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"2.1.1","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"1.6.6"},"devDependencies":{"chai":"1.8.1","mocha":"1.16.2","mocha-phantomjs":"3.3.0","phantomjs":"1.9.2-6"},"scripts":{"test":"npm run test-node && npm run test-browser","build-and-test":"npm run test-build && npm run test","test-build":"cd ./test/browser; simq build;","test-node":"mocha ./test/node/index.js --reporter spec","test-browser":"mocha-phantomjs ./test/browser/index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@2.1.1","dist":{"shasum":"51df7a5a2962de05b9ffe3c42ad13f35be54c078","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-2.1.1.tgz","integrity":"sha512-AXV9qkgYs5ZOgGqL44mh/Qt91xMU3F2FpdABFXQg80hGwev1n3RfYuZ1PQiNZRWoczGmSGDWWsMsDGm61ukn0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB4gOfT1ena6zqbPkWtyJFj4E08JChKG+LJbd9e6FTGuAiEAietrirPOQLZGUfNHT9gi+EDrjr5qPaqhGhXjJZRdwPU="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"2.2.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"2.2.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":"*"},"main":"./lib/DI","dependencies":{"easy-configuration":"~2.0.0","callsite":"~1.0.0"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.16.2","mocha-phantomjs":"~3.3.1","phantomjs":"~1.9.2-6"},"scripts":{"test":"npm run test-node && npm run test-browser","build-and-test":"npm run test-build && npm run test","test-build":"cd ./test/browser; simq build;","test-node":"mocha ./test/node/index.js --reporter spec","test-browser":"mocha-phantomjs ./test/browser/index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@2.2.0","dist":{"shasum":"1966690446dbb57daa8b408fcfc985bde52b8c0e","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-2.2.0.tgz","integrity":"sha512-uSD2bin+l0DYujpv+q4EGsMDCasJtIwDD01bBHYXqBBmAZIXeCq4cCFR/LyvUVvvRLfxhRK06rJSwPm0aEFpiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLFnwn6D3/1facuFmpe0rvSc6lYnJ+ANVNN2O6zvY4JQIgHg/JQkGcZ1PzT6Kk0Dm2GPX89E2kWm4BEX2p654iuRg="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"directories":{}},"2.3.0":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"2.3.0","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":">=0.9"},"main":"./lib/DI","dependencies":{"easy-configuration":"~2.0.0","callsite":"~1.0.0"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.17.0","mocha-phantomjs":"~3.3.1","phantomjs":"~1.9.2-6"},"scripts":{"test":"npm run test-node && npm run test-browser","build-and-test":"npm run test-build && npm run test","test-build":"coffee -co ./test/data ./test/data; coffee -co ./test/node/lib ./test/node/src; cd ./test/browser; simq build;","test-node":"mocha ./test/node/index.js --reporter spec","test-browser":"mocha-phantomjs ./test/browser/index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@2.3.0","dist":{"shasum":"5e6cd2c9691b30cbfaf5635f4bc3a003af39a8c1","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-2.3.0.tgz","integrity":"sha512-TLXH6z+BosMxTDF/k/Z0r7fULHqXER5iHEb4X0jXvDvNEOxjLMrj7h3ZbKj2YC1pUqAGiYye8zkgaveooGN50g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEe8z5XpNpHeC6LVeEDFgs0D4jUBBm8wcxDzd762GAKAiEAvBB7pLpVVHKS1/NjQnQHU6N5fzCViQuhP/tNRMS7bKo="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}]},"2.3.1":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"2.3.1","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":">=0.9"},"main":"./lib/DI","dependencies":{"easy-configuration":"~2.0.1","callsite":"~1.0.0"},"devDependencies":{"chai":"~1.9.0","mocha":"~1.18.0","mocha-phantomjs":"~3.3.1","phantomjs":"~1.9.2-6"},"scripts":{"test":"npm run test-node && npm run test-browser","build-and-test":"npm run test-build && npm run test","test-build":"coffee -co ./test/data ./test/data; coffee -co ./test/node/lib ./test/node/src; cd ./test/browser; simq build;","test-node":"mocha ./test/node/index.js --reporter spec","test-browser":"mocha-phantomjs ./test/browser/index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@2.3.1","_shasum":"97e234b897a65e13baddeeb78f3b4c12c6c2bfe3","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"dist":{"shasum":"97e234b897a65e13baddeeb78f3b4c12c6c2bfe3","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-2.3.1.tgz","integrity":"sha512-wxsqOyFGjva8Ednme1COrX2EY1NwIHjPxaH2UKzvkG1P0E3tgmOMaMi4CBbDzEswC98BzBNDkoe/9xnwx4ZwIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3mWxJWFmrZE5dJhbF4ymZmKDU3y9Dw3DMN+8WIB9QVAIgN57p5jdiUN4werLINXilh7D92Lx6k6kQ7gE+2rs74+k="}]}},"2.3.2":{"name":"dependency-injection","description":"Dependency injection with configuration and autowire for node js and browser","version":"2.3.2","author":{"name":"David Kudera","email":"sakren@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:sakren/node-dependency-injection.git"},"license":"MIT","engines":{"node":">=0.9"},"main":"./lib/DI","dependencies":{"easy-configuration":"~2.0.1","callsite":"~1.0.0"},"devDependencies":{"chai":"~1.9.0","mocha":"~1.18.0","mocha-phantomjs":"~3.3.1","phantomjs":"~1.9.2-6"},"scripts":{"test":"npm run test-node && npm run test-browser","build-and-test":"npm run test-build && npm run test","test-build":"coffee -co ./test/data ./test/data; coffee -co ./test/node/lib ./test/node/src; cd ./test/browser; simq build;","test-node":"mocha ./test/node/index.js --reporter spec","test-browser":"mocha-phantomjs ./test/browser/index.html"},"bugs":{"url":"https://github.com/sakren/node-dependency-injection/issues"},"homepage":"https://github.com/sakren/node-dependency-injection","_id":"dependency-injection@2.3.2","_shasum":"caa1145d9b7df32fa7d49d3a1509008cee2cb755","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sakren","email":"sakren@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"dist":{"shasum":"caa1145d9b7df32fa7d49d3a1509008cee2cb755","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-2.3.2.tgz","integrity":"sha512-TWibpeUCH372iqUdQscWvK4mr2cdpBZnQzPXIz59TrVGb311usczK2Y2jvwPwucz+GvuZavYQKnSRGqyvEdGzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAwdfFQcCXsxxKH56RyXHx+ElTMgoo9IpXioRCypXEQmAiBuEVu7UHpTmhaPJ4gq5US6nUTbdEvFkKPkobqsld71jg=="}]}},"2.3.3":{"name":"dependency-injection","description":"[ABANDONED] Dependency injection with configuration and autowire for node js and browser","version":"2.3.3","author":{"name":"David Kudera","email":"kudera.d@gmail.com"},"keywords":["di","dependency injection","autowire","configuration"],"repository":{"type":"git","url":"git@github.com:Carrooi/Node-DependencyInjection.git"},"license":"MIT","engines":{"node":">=0.9"},"main":"./lib/DI","dependencies":{"easy-configuration":"~2.0.1","callsite":"~1.0.0"},"devDependencies":{"chai":"~1.9.0","mocha":"~1.18.0","gulp":"~3.8.6","gulp-coffee":"~2.1.1"},"scripts":{"test":"mocha ./test/index.js --reporter spec","compile":"gulp compile","compile-source":"gulp compile-source","compile-test":"gulp compile-test","compile-test-source":"gulp compile-test-source","compile-test-data":"gulp compile-test-data"},"gitHead":"4ef4a5988417444c13bbdecd09ad5c22731b6b61","bugs":{"url":"https://github.com/Carrooi/Node-DependencyInjection/issues"},"homepage":"https://github.com/Carrooi/Node-DependencyInjection","_id":"dependency-injection@2.3.3","_shasum":"e3fe94d38e292915bd004b6e096b950cd0b466e7","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sakren","email":"kudera.d@gmail.com"},"maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"dist":{"shasum":"e3fe94d38e292915bd004b6e096b950cd0b466e7","tarball":"https://registry.npmjs.org/dependency-injection/-/dependency-injection-2.3.3.tgz","integrity":"sha512-kvlhbjw629NcInaK73Q8whkOCX24PO/7/8LOzAYKIzxLf5hZjqPDUdM7KIEt4Z21OuxdI9KKdx+USh1P88xuTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXUXaJKOZlUTxcyQ/hiWoRksDMEFCkXWZ6aSqCf6gjdwIhAKOfAIQsnhElxC6lj3TRnJ1zMv+VU+QoYwbjrwYEQ7xJ"}]}}},"readme":"[![NPM version](https://img.shields.io/npm/v/dependency-injection.svg?style=flat-square)](http://badge.fury.io/js/dependency-injection)\n[![Dependency Status](https://img.shields.io/gemnasium/Carrooi/Node-DependencyInjection.svg?style=flat-square)](https://gemnasium.com/Carrooi/Node-DependencyInjection)\n[![Build Status](https://img.shields.io/travis/Carrooi/Node-DependencyInjection.svg?style=flat-square)](https://travis-ci.org/Carrooi/Node-DependencyInjection)\n\n# Dependency injection\n\nDependency injection with configuration and autowire for node js and browser (for example in combination with [simq](https://npmjs.org/package/simq)).\n\nImagine, that you have got some classes which are used very often. You have got two options: add instance of these classes\nto window object or to any other object, or create new instance every time when you want to use them.\n\nThe problem is that first solution add some \"mess\" to the window object and the other one is even more problematic. What\nif you will want to change for example constructor of this class (it's arguments) or call some methods right after class\nis instanced? Than you will have to change these setups at every place.\n\nBut with this package, you can configure your classes at one place and then let's just \"ask\" for them. (not service locator).\n\nThis package is inspired by dependency injection in [Nette framework](http://doc.nette.org/en/dependency-injection).\n\n## Help\n\nUnfortunately I don't have any more time to maintain this repository :-( \n\nDon't you want to save me and this project by taking over it?\n\n![sad cat](https://raw.githubusercontent.com/sakren/sakren.github.io/master/images/sad-kitten.jpg)\n\n## Installation\n\n```\n$ npm install dependency-injection\n```\n\n## Configuration\n\nPlease first read full documentation of [easy-configuration](https://github.com/sakren/node-easy-configuration). It will\nreally help you.\n\n\n```\n{\n\t\"services\": {\n\t\t\"application\": {\n    \t\t\"service\": \"path/to/my/application/module\",\n    \t\t\"arguments\": [\"./www\", \"someOtherVariable\"],\n    \t\t\"setup\": {\n    \t\t\t\"setApplicationName\": [\"nameOfApplication\"],\n    \t\t\t\"setSomethingOther\": [\"someUselessVariable\", \"andAnotherOne\"]\n    \t\t}\n    \t}\n\t}\n}\n```\n\nThere we set some application service with some arguments which will be given to constructor and some setup. Every time\nyou will need this service, it will have got these arguments and all setup function will be called.\n\nSection service is path for module require (common js).\n\nYou can of course use also modules from node_modules directory just like you are used to.\n\nDI automatically look into values from setup in your module (service). If it is function, then it will be called, otherwise\nargument will be passed into this object property.\n\n## Usage\n\n```\nvar DIFactory = require('dependency-injection/DIFactory');\nvar factory = new DIFactory('./path/to/your/configuration/file.json');\n\nvar di = factory.create();\n```\n\n**Relative paths to config files are supported only on node (not in browser)!!!**\n\nThis will create new instance of DI class which holding all your services.\n\nYou have to also set the basePath property. DI will prepend this basePath to all services' paths from your configuration.\nSo it should be path to root directory of your application.\n\nIn example below, you can see how to get your services.\n\n```\ndi.get('application');\ndi.create('application');\ndi.getFactory('application');\n```\n\n## Base path to services\n\nBase path is used for requiring your services. All services (exceptions are node_modules services) are relative to this path.\n\n**Default base path is directory in which is your config.json file.**\n\n```\ndi.basePath = __dirname + '/my/custom/base/directory';\n```\n\n## Auto exposing into global\n\nDI can be automatically exposed into window object (when on browser) or into global object (in node). Default name for\nthis object is `di`.\n\n```\n{\n\t\"setup\": {\n\t\t\"expose\": true\n\t}\n}\n```\n\nCustom name:\n\n```\n{\n\t\"setup\": {\n\t\t\"expose\": \"secondDI\"\n\t}\n}\n```\n\n### get\n\nSome services may be \"singleton\" type (not really singleton but with one instance in whole application), which application\nservice is clearly is.\n\nThis method will create one instance of service and store it. Every other time, this instance will be returned.\n\n### getByPath\n\nSame as `get` method, but this accepts path to node module (like in your service configuration)\n\n### create\n\nMethod create will just create new instance of service and will not store it.\n\n### getFactory\n\ngetFactory is almost the same like create method, but will return anonymous function, so if you then want to use it,\nyou have to call it.\n\n```\nvar application = di.getFactory('application');\napplication = application();\t\t// just call it\n```\n\n## Not instantiate services\n\nWhen you want for example use jQuery as service, you will not want to automatically call something like `new jquery`.\nSo you can tell DI, that this service will not be instantiate.\n\n```\n{\n\t\"services\": {\n\t\t\"jquery\": {\n\t\t\t\"service\": \"jquery\"\n\t\t\t\"instantiate\": false\n\t\t}\n\t}\n}\n```\n\n## Auto run services\n\nWhen you are using configuration with json files, you can set some services to be started automatically after calling\nthe `create` method.\n\n```\n{\n\t\"services\": {\n\t\t\"setup\": {\n\t\t\t\"service\": \"./path/to/setup\",\n\t\t\t\"run\": true\n\t\t}\n\t}\n}\n```\n\n## Autowiring\n\nAccessing some DI object is not so pretty like we want, so there is some nice way how to avoid it. You can let DI to \"inject\"\nall your services to other. For example if your application service needs translator service, just let DI to give it to\napplication.\n\nAll you need to do is add parameter \"translator\" to constructor of your application service. This name must be same like\nname of service in your configuration. DI then automatically give it translator service.\n\nThe same thing is also for methods. You don't have to configure them, just set name of needed service in method's arguments\nand DI will give you these services.\n\nThis is quite similar to dependency injection in [angular](http://angularjs.org/).\n\nNow in most cases you just have to use `get` method just once for create instance of your base application service\nand other services will be automatically injected.\n\nPlease, try to avoid circular dependencies (service A depends on service B and service B depends on service A).\n\n## Examples\n\nIn your configuration, you can use three dots as replacement for services.\n\nServices:\n```\nvar serviceA = function(serviceB, serviceC) { ... };\nvar serviceB = function(serviceC, namespace, item) { ... };\nvar serviceC = function(namespace, item, serviceD) { ... };\nvar serviceD = function() { ... };\n```\n\nConfiguration:\n```\n{\n\t\"services\": {\n\t\t\"serviceA\": {\n\t\t\t\"service\": \"path/to/service/A\",\n\t\t\t\"instantiate\": false\n\t\t},\n\t\t\"serviceB\": {\n\t\t\t\"service\": \"path/to/service/B\",\n\t\t\t\"arguments\": [\"...\", \"some namespace\", \"some item\"],\n\t\t\t\"instantiate\": false\n\t\t},\n\t\t\"serviceC\": {\n\t\t\t\"service\": \"path/to/service/C\",\n\t\t\t\"arguments\": [\"some namespace\", \"some item\"],\n\t\t\t\"instantiate\": false\n\t\t},\n\t\t\"serviceD\": {\n\t\t\t\"service\": \"path/to/service/D\",\n\t\t\t\"instantiate\": false\n\t\t}\n\t}\n}\n```\n\nor more expanded:\n```\n{\n\t\"services\": {\n\t\t\"serviceA\": {\n\t\t\t\"service\": \"path/to/service/A\",\n\t\t\t\"arguments\": [\"...\"],\n\t\t\t\"instantiate\": false\n\t\t},\n\t\t\"serviceB\": {\n\t\t\t\"service\": \"path/to/service/B\",\n\t\t\t\"arguments\": [\"...\", \"some namespace\", \"some item\"],\n\t\t\t\"instantiate\": false\n\t\t},\n\t\t\"serviceC\": {\n\t\t\t\"service\": \"path/to/service/C\",\n\t\t\t\"arguments\": [\"some namespace\", \"some item\", \"...\"],\n\t\t\t\"instantiate\": false\n\t\t},\n\t\t\"serviceD\": {\n\t\t\t\"service\": \"path/to/service/D\",\n\t\t\t\"arguments\": [\"...\"],\n\t\t\t\"instantiate\": false\n\t\t}\n\t}\n}\n```\n\nOnly problem is with minified javascript files which changes variable names. Solution for this is write some kind of hint\nfor DI container.\n\n```\nvar someFunction = function(otherNameForApplicationService) {\n\t{'@di:inject': ['@application']};\t\t\t// services' names are prepended with '@'\n\n\totherNameForApplicationService.run();\t\t// this will call method run on service application\n};\n```\n\nor you can also include services by their full paths:\n```\nvar someFunction = function(otherNameForApplicationService) {\n\t{'@di:inject': ['$path/to/application/service']};\t\t// services' paths are prepended with '$'\n\n\totherNameForApplicationService.run();\n};\n```\n\nor if you need factory:\n```\nvar someFunction = function(otherNameForApplicationService) {\n\t{'@di:inject': ['factory:$path/to/application/service']};\t\t// can also be name of service: \"factory:@application\"\n\n\totherNameForApplicationService.run();\n};\n```\n\nThese hints has got the same syntax as arguments configuration.\n\n### Disable autowiring\n\nIf you want to disable autowiring for some service, you can set \"autowired\" option to false in your config (like instantiate).\n\nWhen you will try to autowire this service, DI will throw an error.\n\n```\n{\n\t\"services\": {\n\t\t\"setup\": {\n\t\t\t\"someName\": \"./path/to/this/service\",\n\t\t\t\"autowired\": false\n\t\t}\n\t}\n}\n```\n\n## Autowire factories\n\nYou can also let DI to autowire factories. For example if you want to get factory for translator, you will add \"Factory\"\nto the end of translator.\n\n```\nMyClass.prototype.setTranslator = function(translatorFactory) {\n\tvar translator = translatorFactory();\t\t\t// now do something with translator\n};\n```\n\n## Links to other services\n\nWhen you have got for example foreign library registered as service in this DI and want to autowire some other service into\nit, you have to use their names of methods arguments.\n\nAnother possibility is to set these services in your config.\n\n```\n{\n\t\"services\": {\n\t\t\"foreignLibrary\": {\n\t\t\t\"service\": \"path/to/service\",\n\t\t\t\"arguments\": [\n\t\t\t\t\"@translator\"\n\t\t\t]\n\t\t}\n\t}\n}\n```\n\nor with full module path:\n```\n{\n\t\"services\": {\n\t\t\"foreignLibrary\": {\n\t\t\t\"service\": \"path/to/service\",\n\t\t\t\"arguments\": [\n\t\t\t\t\"$path/to/translator/module\"\n\t\t\t]\n\t\t}\n\t}\n}\n```\n\nyou can even access properties or methods from other services:\n```\n{\n\t\"services\": {\n\t\t\"foreignLibrary\": {\n\t\t\t\"service\": \"path/to/service\",\n\t\t\t\"arguments\": [\n\t\t\t\t\"@translator::getLanguage('en')\",\t\t\t// en can be default language\n\t\t\t\t\"@http::basePath\"\n\t\t\t]\n\t\t}\n\t}\n}\n```\n\nor create service from other service (for example from factory)\n```\n{\n\t\"services\": {\n\t\t\"httpFactory\": {\n\t\t\t\"service\": \"./path/to/http/module\"\n\t\t},\n\t\t\"http\": {\n\t\t\t\"service\": \"@httpFactory::createHttp()\"\n\t\t}\n\t}\n}\n```\n\n## Default settings\n\nYou can change default behavior of some options in your config file.\n\n```\n{\n\t\"defaults\": {\n\t\t\"instantiate\": false\n\t},\n\t\"services\": { ... }\n}\n```\n\n## Default services\n\nThere are already prepared some services.\n\n* `di`: di container itself\n* `timer`: object with `setTimeout`, `setInterval`, `clearTimeout` and `clearInterval` methods\n* `window`: window object (browser only)\n* `document`: window.document object (browser only)\n* `global`: global object (node.js only)\n\n```\ndi.get('di');\n```\n\n## Parameters\n\nIn documentation of [easy-configuration](https://github.com/sakren/node-easy-configuration) you can see that you can use\nalso parameters. This is useful for example for setting your services.\n\n```\n{\n\t\"parameters\": {\n\t\t\"database\": {\n\t\t\t\"user\": \"root\",\n\t\t\t\"password\": \"toor\"\n\t\t}\n\t},\n\t\"services\": {\n\t\t\"database\": {\n\t\t\t\"service\": \"database/connection\",\n\t\t\t\"arguments\": [\n\t\t\t\t\"%database.user%\",\n\t\t\t\t\"%database.password%\"\n\t\t\t]\n\t\t}\n\t}\n}\n```\n\nCredentials for database connection will be root and toor.\n\nOr you can access these parameters from di object.\n\n```\nconsole.log(di.parameters);\t\t\t\t\t\t\t// whole object of expanded parameters\nconsole.log(di.getParameter('database.user'));\t\t// root\n```\n\n`getParameter()` method is just shortcut to [getParameter](https://github.com/sakren/node-easy-configuration/blob/master/src/EasyConfiguration.coffee#L173)\nmethod in [easy-configuration](https://github.com/sakren/node-easy-configuration).\n\n## Advanced configuration\n\nIf you need more control over configuration, you can create instance of `easy-configuration` object on your own and pass\nit to DIFactory.\n\n```\nvar Configuration = require('dependency-injection/Configuration');\t\t// shortcut to easy-configuration module\nvar DIFactory = require('dependency-injection/DIFactory');\n\nvar config = new Configuration;\nconfig.addConfig('./path/to/config.json', 'development');\n\nvar factory = new DIFactory(config);\nvar di = factory.create();\n```\n\n## Without configuration\n\nMaybe it will be better for someone to use this DI without configuration, so here is example of application, translator\nand jquery definition.\n\n```\nvar DI = require('dependency-injection');\nvar di = new DI;\n\ndi.addService('application', require('./path/to/my/application/module'), ['./www', 'someOtherVariable'])\n\t.addSetup('setApplicationName', ['nameOfApplication'])\n\t.addSetup('setSomethingOther', ['someUselessVariable', 'andAnotherOne']);\n\ndi.addService('translator', require('./path/to/translator'))\n\t.addSetup('setLanguage', ['en']);\n\ndi.addService('jquery', 'jquery')\n\t.setInstantiate(false);\n\ndi.addService('private', 'my/private/service')\n\t.setAutowired(false);\n```\n\nInstead of path to service (second parameter in addService method) you can also use string with path, but this path will be\nthen relative to class of DI!\n\n## Create instance\n\nIf you have got some other object which you want to use with other services, but can not use configuration or DI for this,\nyou can use `createInstance` method and DI will create new instance of your object with dependencies defined in constructor.\n\n```\nvar SuperClass = require('./mySuperClass');\nvar super = di.createInstance(SuperClass, ['and some argument']);\n```\n\n## Inject method\n\nFor simple injecting services into your functions, you can use method `inject`.\n\n```\ndi.inject(function(application) {\n\tapplication.doSomeMagic();\n});\n```\n\nor with arguments\n\n```\ndi.inject(function(application, path) {\n\tapplication.setPath(path);\n}, ['...', '/path/to/some/folder']);\t\t// syntax is same like in configuration\n```\n\nyou can of course use also autowire hints.\n\n## Tests\n\n```\n$ npm test\n```\n\n## Changelog\n\n* 2.3.3\n\t+ Move under Carrooi organization\n\t+ Abandon package\n\n* 2.3.1 - 2.3.2\n\t+ Fixed bug with passing list of parameters in method calls [https://github.com/sakren/node-dependency-injection/issues/7](#7)\n\n* 2.3.0\n\t+ Added option for services derived from other services\n\t+ Support for calling methods from other services in config\n\t+ Some optimization\n\t+ exposed [easy-configuration](https://github.com/sakren/node-easy-configuration) into dependency-injection/Configuration\n\t+ DIConfigurator renamed to DIFactory (DIConfigurator is now deprecated)\n\t+ Support for services from npm modules\n\t+ Default base path for services in config file is dir name of config file\n\t+ Updated dependencies\n\n* 2.2.0\n\t+ Relative paths to config files\n\t+ Little updates in tests\n\t+ Added default services\n\t+ Better documentation\n\t+ Many improvements in configuration (see [easy-configuration](https://github.com/sakren/node-easy-configuration))\n\n* 2.1.1\n\t+ Hints has exactly the same syntax as arguments configuration\n\t+ Inject method's second argument is args, not scope (BC break!)\n\n* 2.1.0\n\t+ Added [config](https://github.com/sakren/node-easy-configuration) object do DIFactory\n\t+ Bug with exposing\n\t+ Accessing parameters from di instance\n\t+ Updated dependencies\n\n* 2.0.1\n\t+ Injecting by arguments and hints was not working\n\n* 2.0.0\n\t+ Removed autowiring into `inject` methods (BC break!)\n\t+ Added methods `getByPath` and `getFactoryByPath`\n\t+ Added basePath option\n\t+ Better docs\n\t+ Added hints for autowiring\n\n* 1.8.0\n\t+ Better tests (mocha does not need to be installed globally)\n\t+ Updated dependencies\n\t+ Added badges\n\t+ Added to travis\n\n* 1.7.3\n\t+ Bug with no-string arguments\n\n* 1.7.2\n\t+ Bug with functions as services\n\n* 1.7.1\n\t+ Potential bug in IE\n\n* 1.7.0\n\t+ Updated dependencies\n\t+ Added `injectMethods` to services\n\t+ Refactored autowiring\n\t+ Some optimizations\n\t+ `DI.autowireArguments` moved to `Helpers.autowireArguments`\n\t+ Throwing an error if circular reference is found\n\n* 1.6.6 - 1.6.7\n\t+ Bugs in Internet Explorer 8\n\n* 1.6.2 - 1.6.5\n\t+ Some optimizations\n\t+ Should assert module replaced with chai\n\t+ Better error messages\n\n* 1.6.1\n\t+ Bug with setting other arguments than strings\n\n* 1.6.0\n\t+ Added `get` method, `getByName` is now deprecated\n\t+ Added `inject` method\n\t+ Autowiring with @\n\n* 1.5.2\n\t+ Add setup into properties\n\n* 1.4.1\n\t+ Bug\n\n* 1.4.0\n\t+ Option for exposing di into\n\n* 1.3.2 - 1.3.3\n\t+ Bug with run option\n\n* 1.3.1\n\t+ Just some mistake in readme\n\n* 1.3.0\n\t+ Added auto run option into configuration\n\t+ Really huge mistake in readme\n\n* 1.2.3\n\t+ Autowiring parameters even if they are not in function definition\n\n* 1.2.2\n\t+ Added missing test\n\n* 1.2.1\n\t+ Added ability to inject DI container itself\n\n* 1.2.0\n\t+ Added DI.createInstance method\n\t+ DI.addService accepts also objects\n\t+ Typos in README\n\t+ Optimizations\n\t+ Added mocha tests\n\t+ Added setInstantiate method\n\t+ Added autowired option\n\n* 1.1.1\n\t+ inject methods are called before custom setup\n\n* 1.1.0\n\t+ Support for not-instantiate services\n\n* 1.0.1\n\t+ Added information about autowiring factories\n\n* 1.0.0\n\t+ Initial version\n","maintainers":[{"name":"sakren","email":"sakren@gmail.com"}],"time":{"modified":"2022-06-15T00:51:50.705Z","created":"2013-07-30T08:11:27.444Z","1.0.0":"2013-07-30T08:11:31.747Z","1.0.1":"2013-07-30T11:53:29.067Z","1.1.0":"2013-07-30T12:04:52.069Z","1.1.1":"2013-07-30T12:47:52.213Z","1.2.0":"2013-08-13T14:06:51.589Z","1.2.1":"2013-08-13T14:23:51.041Z","1.2.2":"2013-08-13T14:26:17.709Z","1.2.3":"2013-08-20T15:07:49.091Z","1.3.0":"2013-08-22T07:34:11.265Z","1.3.1":"2013-08-22T07:37:25.685Z","1.3.2":"2013-08-22T07:45:16.001Z","1.3.3":"2013-08-22T13:27:31.444Z","1.4.0":"2013-08-22T14:10:23.077Z","1.4.1":"2013-08-22T14:13:36.600Z","1.5.0":"2013-08-23T21:50:13.219Z","1.6.0":"2013-09-18T15:33:27.053Z","1.6.1":"2013-09-23T08:04:08.064Z","1.6.2":"2013-11-20T10:04:54.758Z","1.6.3":"2013-11-20T10:47:35.888Z","1.6.4":"2013-11-20T11:01:56.893Z","1.6.5":"2013-11-20T11:10:36.882Z","1.6.6":"2013-11-21T14:28:18.070Z","1.6.7":"2013-11-21T14:57:53.898Z","1.7.0":"2013-11-25T20:52:51.616Z","1.7.1":"2013-11-26T07:35:57.138Z","1.7.2":"2013-11-26T08:05:02.358Z","1.7.3":"2013-11-26T08:11:34.132Z","1.8.0":"2013-12-12T08:07:50.493Z","2.0.0":"2013-12-13T12:11:45.169Z","2.0.1":"2013-12-13T12:58:10.064Z","2.1.0":"2013-12-28T23:35:45.367Z","2.1.1":"2014-01-02T10:07:52.406Z","2.2.0":"2014-01-07T17:00:49.356Z","2.3.0":"2014-01-12T17:49:50.569Z","2.3.1":"2014-05-08T10:16:42.392Z","2.3.2":"2014-05-08T13:01:28.522Z","2.3.3":"2015-07-18T12:16:25.907Z"},"author":{"name":"David Kudera","email":"kudera.d@gmail.com"},"repository":{"type":"git","url":"git@github.com:Carrooi/Node-DependencyInjection.git"},"homepage":"https://github.com/Carrooi/Node-DependencyInjection","keywords":["di","dependency injection","autowire","configuration"],"bugs":{"url":"https://github.com/Carrooi/Node-DependencyInjection/issues"},"license":"MIT","readmeFilename":"README.md","users":{"monolithed":true}}