{"_id":"architect","_rev":"47-303146476d533e61cbff3a50e388066c","name":"architect","description":"A Simple yet powerful plugin system for node applications","dist-tags":{"latest":"0.1.13"},"versions":{"0.0.1":{"name":"architect","version":"0.0.1","description":"Framework for Plugin based JavaScript applications","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Fabian Jakobs","email":"fabian@c9.io"}],"repository":{"type":"git","url":"git://github.com/c9/architect.git"},"dependencies":{"remoteagent-protocol":"0.0.x"},"devDependencies":{"asyncjs":"0.0.x"},"main":"lib/architect","engines":{"node":"0.6.x"},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_npmUser":{"name":"fjakobs","email":"fabian.jakobs@web.de"},"_id":"architect@0.0.1","_engineSupported":false,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"9b77d9e9effde1abf9ec7718f1c30ee055f17421","tarball":"https://registry.npmjs.org/architect/-/architect-0.0.1.tgz","integrity":"sha512-qEC4XyaRlcF07/kopOgXWf07T+U+cnNaTudGU8ICoyYGEE/Sf/o0oG8pGNXiv+Br2TWe5b+NOigqZcknSSsemg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSkMwC7rG+NC0d2STilNQboCUIdpNdY9naXZXmNYXzBAIgHwRSXbsFSmVE0cpPGYKxezd1zwcKRlz7NlzH1nQjuIg="}]},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"}],"directories":{}},"0.0.3":{"name":"architect","description":"A Simple yet powerful plugin system for large-scale node applications","version":"0.0.3","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"git://github.com/c9/architect.git"},"dependencies":{"architect-agent":"~0.2.0","architect-socket-transport":"~0.2.0"},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_npmUser":{"name":"sergi","email":"sergi.mansilla@gmail.com"},"_id":"architect@0.0.3","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.19","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"0a6a0ae33ea2f775ef66a5915863b5174edd3d41","tarball":"https://registry.npmjs.org/architect/-/architect-0.0.3.tgz","integrity":"sha512-/RvjQr6DoC180rETNFZsIA0hQMo0XHrLF80UP5uq2GdvmjdEuKTwl/kAgjjIItLtS4UmYZiWGwJk7jFa3SENiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3Dp54WZSKof2ROTG6qLTaj5laDOLstX00FjK1D0j+vQIhANnh1Yo36o4ELITu2uXJroUhw8NVKoZVCMoJmUcv8r7h"}]},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"}]},"0.1.1":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.1","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"git://github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_npmUser":{"name":"fjakobs","email":"fabian.jakobs@web.de"},"_id":"architect@0.1.1","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"ff5848427c03ce9c8bccf588fcd02903dcf2e784","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.1.tgz","integrity":"sha512-8CPFiKxx6BBopZRiJXLUtQ91rVWbTs5EfXerdh++ofilMZw+kvuXUhTMMh6afT0A4PhPRgqofCesp97QGdRHmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNvISECAwpt0VJkMMvE5MkURaJTIpBj9okXZ49OWu/MAiEAmtPZePJuNvMLDYndPwDQzi7nAwS6dILFB1VCnS5uHqU="}]},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"}]},"0.1.2":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.2","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"git://github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_npmUser":{"name":"fjakobs","email":"fabian.jakobs@web.de"},"_id":"architect@0.1.2","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"49519f6b208445ccf24762948d374d2e22ef5661","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.2.tgz","integrity":"sha512-QRywhRT9BhQ2gDvg4RD3qIlwukLynCfEqa3XNgaguTLd/CEuJDV6x/H2qsIU7vwBBkkV6a7iaW3KB6SXjIosvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDhQPjzfXF6uLqTPUoIRrANGXw8tecPHK6fAF9lpLOjIAiB+5Yr/P8NL+Jw6tkPB9XN3CdJZTBy/Rf/AE1GPFmCPHA=="}]},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"}]},"0.1.3":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.3","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"git://github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_npmUser":{"name":"zef","email":"zef@c9.io"},"_id":"architect@0.1.3","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"c6d276c52402a37c02cf3e586a67a07854c07926","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.3.tgz","integrity":"sha512-7uFV7FtP8c15h3BiPtpRzkXSKGcTQf4srKxwPZH9n9Kzbomk2LQLfP33oIhWaqOZtBTL8iV4TiDO6+MR+XRyMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEu1iz50WWj65OvpW2YMH0UI/G6AzeCynhBG58rm0TsQAiEA1u1SfLyqDfzJc6l6hLQYgDcKVqY4CCZKEbUXqdevbOs="}]},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"},{"name":"zef","email":"zef@c9.io"}]},"0.1.4":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.4","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"git://github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_npmUser":{"name":"cadorn","email":"christoph@christophdorn.com"},"_id":"architect@0.1.4","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"b081d6d4ada9e963819b3e9e6426054d52be7849","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.4.tgz","integrity":"sha512-qEh+H4mWIB7IJ/eI62FtK+qmj8Y9AGhA/EKScKGy8LOLELYkcguJVsMd9EOztF7QQmiChXvNLQe+sdqG/9Ff8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCG9s8an9J3waHtfXlNJQaPDiEUL/Vz76BztqTEwUCYPQIgdVMzsjNpHVJVc5MTvTFeNkejKeAeVvF80pwXYAhHIbM="}]},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"},{"name":"zef","email":"zef@c9.io"},{"name":"cadorn","email":"christoph@christophdorn.com"}]},"0.1.5":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.5","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"git://github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_npmUser":{"name":"creationix","email":"tim@creationix.com"},"_id":"architect@0.1.5","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"72ae5547e58e73b3b8af086cf0fc9f34ea1fa0fb","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.5.tgz","integrity":"sha512-WZTZmhZisFIc+5n0svEFeJ67SgHfRSHZ/Y1pySUsYeD6/Wafs7xi2CI9t8p8ZJDPDExKDKHSqkFNGCnZ+hgRMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE5gwLNUFJT1U31LMPd2DQQcJodOEjsrkjPmVkDa2+azAiBR0+suAtmRN1puUe7HWNWX3adJtbLvpHcvScajA1tXIw=="}]},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"},{"name":"zef","email":"zef@c9.io"},{"name":"cadorn","email":"christoph@christophdorn.com"},{"name":"creationix","email":"tim@creationix.com"}]},"0.1.6":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.6","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"http://github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_id":"architect@0.1.6","dist":{"shasum":"cf8d313b1b3df75023270cdc24c5778a5fc880eb","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.6.tgz","integrity":"sha512-JxM/fC+k/KM11OcnToHUD2qvAtxnCK2KZEQdjvfAGDdyzYRQkB3UpkNdZ/hw2/ZTwA2hc9d13W5Z697WZ1AoEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFbYbPQy1Zv+GqIy99yAV623Y7rj4bbB3uarm6cv/K2QIgTU5WjHxA89aJQ1Tn0QVwnvRqOqCEvZXegswiJTNP8O8="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"},{"name":"zef","email":"zef@c9.io"},{"name":"cadorn","email":"christoph@christophdorn.com"},{"name":"creationix","email":"tim@creationix.com"}]},"0.1.7":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.7","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"http://github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_id":"architect@0.1.7","dist":{"shasum":"98bdeeec35a25b47e1a6a56482faf0c079bd7416","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.7.tgz","integrity":"sha512-TokrRKaAFcEC7GCTOXpt0HZO25ynDWTmRei1p7aeK5DReihH6nfsek1gmPPP/adzn1bESvZhIdclDL6s+7Hugg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdtvSSYTDlLLPhH6czuk/TQk47aUtCOSViMuepEmqjYAIgDpbbwLGtr8E6v2LQUKCY0zYahXM11rlapS74erf7/J0="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"sergi","email":"sergi.mansilla@gmail.com"},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"},{"name":"zef","email":"zef@c9.io"},{"name":"cadorn","email":"christoph@christophdorn.com"},{"name":"creationix","email":"tim@creationix.com"}]},"0.1.8":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.8","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"http://github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_id":"architect@0.1.8","dist":{"shasum":"3e7193f3517053a9022ab8cdd15b9d0161cc748d","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.8.tgz","integrity":"sha512-5Ffn/LvD46xK75+YHShLBy3AlYxMRBwJM5U01ZDyKHnwKfuf4Jvr2CD0c5MMiNUAnyP6o76LfycHXVt/YjvROQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXc01TAtQEfihnhMcGamYDFKjs25pdzqvzBR98s430BgIgPmPHuOgQ7uws7N29ZkAvept680CzzuLPif4MdyoJuJo="}]},"_npmVersion":"1.1.66","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"},{"name":"zef","email":"zef@c9.io"},{"name":"cadorn","email":"christoph@christophdorn.com"},{"name":"creationix","email":"tim@creationix.com"}]},"0.1.9":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.9","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"http://github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_id":"architect@0.1.9","dist":{"shasum":"f79a99e9cacd11117314bc149a6be39139a88ab1","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.9.tgz","integrity":"sha512-aNSlKfOJpUhSSu9/KAzurhYMucrnhn7HaVlkm3r9evyWlUXTF8DlFg6Bz2TIvQm5FZZ5rG6TrzvTwOg4IYAAOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9TOanQqL7zT7jUgFInb3JuI8bUsVqSWHb6/3sKdOKVgIgZwEC94E4voH43noE8R5hFW9i79x9VdvtFwPpJnf1waE="}]},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"},{"name":"creationix","email":"tim@creationix.com"}]},"0.1.10":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.10","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"http://github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"_id":"architect@0.1.10","dist":{"shasum":"06fe38b57295d7117b8734b54e8bd58786113442","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.10.tgz","integrity":"sha512-qsWglVMhuOE7jtHmj2Kd0CdmosQttNSMqpXzSYiNdaw2LGx8RXH8iV1kMDBCXs4hkwWqzB9oxEqbT6qFCHL1rw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFC9KDBQsB0MZ9c/N9sbtD2OQZtXg6y6D7mliFpjeZ3rAiBzHreetpZyez0xhdbT/nO27OjnOJRZ1UhjzTOlo2ZxfQ=="}]},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"},{"name":"creationix","email":"tim@creationix.com"}]},"0.1.11":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.11","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"http://github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/c9/architect/issues"},"_id":"architect@0.1.11","dist":{"shasum":"591352ad7dfb2ead05965db3b37d3c490c21d7a2","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.11.tgz","integrity":"sha512-UIL8xU9r/fXmnam2AQjZxM7KrTxtc1/pVowalbi4TgVwrjnGNzz4XRwiZcr0oeHGlmZ2bv3l6fAW3jdTaNbcXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/OKArKk70Dv4pe5PpiDGTFPdswbJaMqYrBD6+PHi3TAIhAOuY41pmL4avKg3gVLLbV/MIxn2dE6IMxrXOAobLWqdQ"}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"lennartcl","email":"lclkats@gmail.com"},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"},{"name":"creationix","email":"tim@creationix.com"},{"name":"lennartcl","email":"lclkats@gmail.com"}]},"0.1.13":{"name":"architect","description":"A Simple yet powerful plugin system for node applications","version":"0.1.13","author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"main":"architect.js","repository":{"type":"git","url":"git+ssh://git@github.com/c9/architect.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"licenses":[{"type":"MIT","url":"http://github.com/c9/architect/raw/master/LICENSE"}],"gitHead":"e01ab96740583b91ce32da26233167cc79b7b621","bugs":{"url":"https://github.com/c9/architect/issues"},"homepage":"https://github.com/c9/architect#readme","_id":"architect@0.1.13","scripts":{},"_shasum":"efa78783fd818b64e4c47b0e75eea193520390ba","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"lennartcl","email":"postcards@lennart.cl"},"dist":{"shasum":"efa78783fd818b64e4c47b0e75eea193520390ba","tarball":"https://registry.npmjs.org/architect/-/architect-0.1.13.tgz","integrity":"sha512-u2o/uQRl/SptcE5EEBjF2VUjXYiR5b+IRKv2I4+HYG2KQhHMT6Bqyl1VNQ3N0/QaBWLriF3ZqLTeE7WPgV7dAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA7l78RxbaCko2zEwsbJL0TJYyZVQkuXi2Zv23waQI52AiEAyPaa1jRJGqOeTBqb7LzKIzVCZ2esXAl6H8bFoHM6aWo="}]},"maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"},{"name":"creationix","email":"tim@creationix.com"},{"name":"lennartcl","email":"lclkats@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/architect-0.1.13.tgz_1492533020853_0.9603020097129047"}}},"readme":"# Architect\n\nArchitect is a simple but powerful structure for Node.js applications. Using Architect,\nyou set up a simple configuration and tell Architect which plugins you want to load. Each\nplugin registers itself with Architect, so other plugins can use its functions. Plugins can\nbe maintained as NPM packages so they can be dropped in to other Architect apps.\n\n## Plugin Interface\n\n```js\n// auth.js\n\n/* All plugins must export this public signature.\n * @options is the hash of options the user passes in when creating an instance\n * of the plugin.\n * @imports is a hash of all services this plugin consumes.\n * @register is the callback to be called when the plugin is done initializing.\n */\nmodule.exports = function setup(options, imports, register) {\n\n  // \"database\" was a service this plugin consumes\n  var db = imports.database;\n\n  register(null, {\n    // \"auth\" is a service this plugin provides\n    auth: {\n      users: function (callback) {\n        db.keys(callback);\n      },\n      authenticate: function (username, password, callback) {\n        db.get(username, function (user) {\n          if (!(user && user.password === password)) {\n            return callback();\n          }\n          callback(user);\n        });\n      }\n    }\n  });\n};\n```\n\nEach plugin is a node module complete with a package.json file.  It need not\nactually be in npm, it can be a simple folder in the code tree.\n\n```json\n{\n    \"name\": \"auth\",\n    \"version\": \"0.0.1\",\n    \"main\": \"auth.js\",\n    \"private\": true,\n    \"plugin\": {\n        \"consumes\": [\"database\"],\n        \"provides\": [\"auth\"]\n    }\n}\n```\n\n## Config Format\n\nThe `loadConfig` function below can read an architect config file.  This file can be either JSON or JS (or anything that node's require can read).\n\nThe sample calculator app has a config like this:\n\n```js\nmodule.exports = [\n  { packagePath: \"architect-http\", port: 8080 },\n  { packagePath: \"architect-http-static\", root: \"www\" },\n  \"./plugins/calculator\",\n  \"./plugins/db\",\n  \"./plugins/auth\"\n]\n```\n\nNotice that the config is a list of plugin config options.  If the only option in the config is `packagePath`, then a string can be used in place of the object.  If you want to pass other options to the plugin when it's being created, you can put arbitrary properties here.\n\nThe `plugin` section in each plugin's package.json is also merged in as a prototype to the main config.  This is where `provides` and `consumes` properties are usually set.\n\n## Architect main API\n\nThe architect module exposes two functions as it's main API.\n\n### createApp(config, [callback])\n\nThis function starts an architect config.  The return value is an `Architect` instance.  The optional callback will listen for both \"error\" and \"ready\" on the app object and report on which one happens first.\n\n### loadConfig(configPath)\n\nThis is a sync function that loads a config file and parses all the plugins into a proper config object for use with `createApp`.  While this uses sync I/O all steps along the way are memoized and I/O only occurs on the first invocation.  It's safe to call this in an event loop provided a small set of configPaths are used.\n\n## Class: Architect\n\nInherits from `EventEmitter`.\n\nThe `createApp` function returns an instance of `Architect`.\n\n### Event: \"service\" (name, service)\n\nWhen a new service is registered, this event is emitted on the app.  Name is the short name for the service, and service is the actual object with functions.\n\n### Event: \"plugin\" (plugin)\n\nWhen a plugin registers, this event is emitted.\n\n### Event: \"ready\" (app)\n\nWhen all plugins are done, the \"ready\" event is emitted.  The value is the Architect instance itself.\n\n","maintainers":[{"name":"fjakobs","email":"fabian.jakobs@web.de"},{"name":"sergi","email":"sergi.mansilla@gmail.com"},{"name":"creationix","email":"tim@creationix.com"},{"name":"lennartcl","email":"lclkats@gmail.com"}],"time":{"modified":"2022-06-13T03:21:38.236Z","created":"2012-02-29T09:14:07.336Z","0.0.1":"2012-02-29T09:14:08.706Z","0.0.3":"2012-05-16T18:24:35.317Z","0.1.1":"2012-06-20T18:20:08.516Z","0.1.2":"2012-06-22T05:56:55.140Z","0.1.3":"2012-06-23T20:14:32.513Z","0.1.4":"2012-06-24T02:52:12.926Z","0.1.5":"2012-09-26T02:03:47.173Z","0.1.6":"2012-09-26T03:04:17.183Z","0.1.7":"2012-10-30T13:55:41.008Z","0.1.8":"2012-12-03T16:56:55.421Z","0.1.9":"2013-03-26T09:02:16.567Z","0.1.10":"2013-04-29T13:05:05.102Z","0.1.11":"2014-02-19T11:13:20.891Z","0.1.13":"2017-04-18T16:30:21.583Z"},"author":{"name":"ajax.org B.V.","email":"info@ajax.org"},"repository":{"type":"git","url":"git+ssh://git@github.com/c9/architect.git"},"readmeFilename":"README.markdown","contributors":[{"name":"Tim Caswell","email":"tim@c9.io"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Christoph Dorn","email":"christoph@christophdorn.com"}],"bugs":{"url":"https://github.com/c9/architect/issues"},"users":{"am-a":true,"ieb":true,"gonzalofj":true,"lukecarrier":true,"caffeinewriter":true,"dpjayasekara":true},"homepage":"https://github.com/c9/architect#readme"}