{"_id":"b-ioc","_rev":"5-534250ae359adf8215b782cbc7b38680","name":"b-ioc","description":"A magic free, dirt simple IoC container for Node.","dist-tags":{"latest":"1.2.0"},"versions":{"1.1.0":{"name":"b-ioc","version":"1.1.0","description":"A magic free, dirt simple IoC container for Node.","main":"src/index.js","directories":{"example":"example","test":"test"},"keywords":["require","dependency","dependencies","di","dependency injection","ioc","inversion of control"],"dependencies":{},"devDependencies":{"gitbook-plugin-github":"^2.0.0","tap-spec":"^4.1.1","tape":"^4.4.0"},"scripts":{"test":"tape test/index.js | tap-spec","docs:prepare":"gitbook install","docs:watch":"npm run docs:prepare && gitbook serve","docs:build":"npm run docs:prepare && rm -rf _book && gitbook build","docs:publish":"npm run docs:build && cd _book && git init && git config user.email 'brandon@brandonjpierce.com' && git commit --allow-empty -m 'Update docs' && git checkout -b gh-pages && git add . && git commit -am 'Update docs' && git push git@github.com:brandonjpierce/b-ioc gh-pages --force"},"author":{"name":"Brandon Pierce","email":"brandon@brandonjpierce.com","url":"http://brandonjpierce.com"},"repository":{"type":"git","url":"git://github.com/brandonjpierce/b-ioc.git"},"homepage":"https://github.com/brandonjpierce/b-ioc","license":"MIT","gitHead":"afe664b186951435f9983dd657f1f63e1efeadb8","bugs":{"url":"https://github.com/brandonjpierce/b-ioc/issues"},"_id":"b-ioc@1.1.0","_shasum":"87bc84e4d46afc903376f1896cb62f6639672fe0","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.0.0","_npmUser":{"name":"brandonjpierce","email":"brandon@brandonjpierce.com"},"dist":{"shasum":"87bc84e4d46afc903376f1896cb62f6639672fe0","tarball":"https://registry.npmjs.org/b-ioc/-/b-ioc-1.1.0.tgz","integrity":"sha512-HsxppgQL8bvnR0CkD6ENoI03oJPJGZU4eVc5Upi6L3yplgPwPPcyP4mEf9x7mSMnHjP3Fh8LVQWf+aGtvxoS5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHJQPuk6PUfXI+V4Tbr4e9K15nwVUJPbzzNZiMBTAszwIgcrj+61AaH3GLv26Ne+08pi34EHMHWYRs0r879nIU6dY="}]},"maintainers":[{"name":"brandonjpierce","email":"brandon@brandonjpierce.com"}]},"1.2.0":{"name":"b-ioc","version":"1.2.0","description":"A magic free, dirt simple IoC container for Node.","main":"src/index.js","directories":{"example":"example","test":"test"},"keywords":["require","dependency","dependencies","di","dependency injection","ioc","inversion of control"],"dependencies":{},"devDependencies":{"gitbook-plugin-github":"^2.0.0","tap-spec":"^4.1.1","tape":"^4.4.0"},"scripts":{"test":"tape test/index.js | tap-spec","docs:prepare":"gitbook install","docs:watch":"npm run docs:prepare && gitbook serve","docs:build":"npm run docs:prepare && rm -rf _book && gitbook build","docs:publish":"npm run docs:build && cd _book && git init && git config user.email 'brandon@brandonjpierce.com' && git commit --allow-empty -m 'Update docs' && git checkout -b gh-pages && git add . && git commit -am 'Update docs' && git push git@github.com:brandonjpierce/b-ioc gh-pages --force"},"author":{"name":"Brandon Pierce","email":"brandon@brandonjpierce.com","url":"http://brandonjpierce.com"},"repository":{"type":"git","url":"git://github.com/brandonjpierce/b-ioc.git"},"homepage":"https://github.com/brandonjpierce/b-ioc","license":"MIT","gitHead":"80c584a92c06b71e7b2c448ade8630405f890d0f","bugs":{"url":"https://github.com/brandonjpierce/b-ioc/issues"},"_id":"b-ioc@1.2.0","_shasum":"1102ae9c6e09b1b719b55a2c242ff65655e01e8c","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.0.0","_npmUser":{"name":"brandonjpierce","email":"brandon@brandonjpierce.com"},"dist":{"shasum":"1102ae9c6e09b1b719b55a2c242ff65655e01e8c","tarball":"https://registry.npmjs.org/b-ioc/-/b-ioc-1.2.0.tgz","integrity":"sha512-Mz0RQh4djjCnyaRFghn56VFrPqL5s05LpoF7hs8dmObuWVfq4R9SAH0JHAKW6llpxvF0DTuQJqU+LtJF0lMCEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEiHqdTTqHihjpoIZPTQNQNZ1t/jtO1hxnYZgekbTw0PAiEAktfwKgCWQ+Zctm1KMJ5m82Sj5bNUFr7f2Dx9qNyRegE="}]},"maintainers":[{"name":"brandonjpierce","email":"brandon@brandonjpierce.com"}]}},"readme":"# [b-ioc](http://brandonjpierce.github.io/b-ioc/)\n\nb-ioc is a tiny and magic free IoC container for Node. It helps you manage dependencies and facilitates an easy testing environment for your modules.\n\n### Installation\n\n```\nnpm install b-ioc --save\n```\n\n### Small Introduction\n\n```js\nvar Ioc = require('b-ioc');\n\nvar ClassA = require('class-a');\nvar ClassB = require('class-b');\n\n// binding the classes\nIoc.bind('classA', function() {\n  return new ClassA();\n});\n\nIoc.bind('classB', function() {\n  // classB needs classA as a dependency\n  var classA = Ioc.use('classA');\n  return new ClassB(classA);\n});\n\n// using the bindings\nvar classB = Ioc.use('classB');\n```\n\nBe sure to consult the documentation for more examples and an in depth look at the API.\n\n### Documentation\n\n* [Getting Started](http://brandonjpierce.github.io/b-ioc/docs/introduction/getting-started.html)\n* [Api](http://brandonjpierce.github.io/b-ioc/docs/api/index.html)\n","maintainers":[{"email":"brandonpierce91@gmail.com","name":"brandonjpierce"}],"time":{"modified":"2022-06-13T03:59:06.348Z","created":"2016-01-22T21:00:44.541Z","1.1.0":"2016-01-22T21:00:44.541Z","1.2.0":"2016-01-22T21:17:06.822Z"},"homepage":"https://github.com/brandonjpierce/b-ioc","keywords":["require","dependency","dependencies","di","dependency injection","ioc","inversion of control"],"repository":{"type":"git","url":"git://github.com/brandonjpierce/b-ioc.git"},"author":{"name":"Brandon Pierce","email":"brandon@brandonjpierce.com","url":"http://brandonjpierce.com"},"bugs":{"url":"https://github.com/brandonjpierce/b-ioc/issues"},"license":"MIT","readmeFilename":"README.md"}