{"_id":"viceroy-rest-server","_rev":"75-7bd22befaac6f59d9250bc8634a2f71a","name":"viceroy-rest-server","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.1":{"name":"viceroy-rest-server","version":"0.0.1","description":"","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"~1.4.1","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.1"},"dependencies":{"lingo":"0.0.5","primitive":"~0.3.0","connect":"~2.11.2"},"_id":"viceroy-rest-server@0.0.1","dist":{"shasum":"330d7afb32eb8d742a195e6a98fe88ecdf19e582","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.0.1.tgz","integrity":"sha512-y2c5LnBjCM62de6vQxDfkKxSi1XbCwVWAqiIBXe5iwiygblnYSr1lxM4JCQ1kXLAsiGFHr5RFlBFkf2aVOHcuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGkohM8cD9Qx+mfDZBCBpPk6KXQ0aicF/ZBms8E+iB8QAiAp9G+/tIlox/ed7Dq2Uzz1gQ9GTEPrszo08cvwaAtxyw=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.0.2":{"name":"viceroy-rest-server","version":"0.0.2","description":"","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"~1.4.1","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.1"},"dependencies":{"lingo":"0.0.5","primitive":"~0.3.0","connect":"~2.11.2"},"_id":"viceroy-rest-server@0.0.2","dist":{"shasum":"519a30d168554204bf212b6be4396bdc52ed8b57","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.0.2.tgz","integrity":"sha512-ttzOKNsCn15ck+B7Gd88Wwwz362jx9ed5EJcgOmcGjvEfIXz1QAge/EhgoIcXTSXFuQ35b291/1GVOXl43w5Kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEV6y2UJiPxMRvDXlQG/aMfdMdgO1CzO/2SbfRs4WAeZAiAYDBKDR8kO2JrOQDYQs0U5MM2Q357Q52IurPA79ieOtw=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.1.0":{"name":"viceroy-rest-server","version":"0.1.0","description":"","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"~1.4.1","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.1"},"dependencies":{"lingo":"0.0.5","primitive":"~0.3.0","connect":"~2.11.2"},"_id":"viceroy-rest-server@0.1.0","dist":{"shasum":"02d6fff7433bc5ba34927ba750fcf29406475576","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.1.0.tgz","integrity":"sha512-EeWkmTKA1MiKBmB8sYaL6kG+MciDLQ3blRm/mn1Veob/aokZTe+KvSq2IsFp8Z3LU8mCLJDbKtpSVmq4C/YMQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXL/eC+Uv05x3J2bUcm/HZPMqw8d8TJBE23A0ydekOqAIhAKcZTPB6GsqgGL6a2qx1XbwMBfExfxHbhB5lzdzXRWI1"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.1.1":{"name":"viceroy-rest-server","version":"0.1.1","description":"","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"~1.4.1","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.1"},"dependencies":{"lingo":"0.0.5","primitive":"~0.3.0","connect":"~2.11.2"},"_id":"viceroy-rest-server@0.1.1","dist":{"shasum":"ce4c5318e0c596ea8570fc3e51fae2f30f7d8254","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.1.1.tgz","integrity":"sha512-ofJOP5iMpli1TwXA1evmCr7elEraat3KeEdWB9tMYK/Ss91r7YBOaf2yMzkBvmg04cbk4tLQdXO0d2Z6YaO6KQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDoPxxPm5Z/n9r1zglOqLA/luygU9RnvtHTm9RPtRTFXAiAdJv/+6ExHmZk+3jPZiPOhoCsDj5K30nvIIftnVpPVHw=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.1.2":{"name":"viceroy-rest-server","version":"0.1.2","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.5.1","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.4"},"dependencies":{"lingo":"0.0.5","primitive":"~0.3.0","connect":"~2.11.2"},"_id":"viceroy-rest-server@0.1.2","dist":{"shasum":"9e8e29b454ce56f97466f99f578a65727f2ebf08","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.1.2.tgz","integrity":"sha512-w68v5Chqb8POEc+hiidBR8n8tQAU+IYcmKJdVx6+zJF4wdGo4n0sTotriPGUPocOZv6nqTxZ0pCcHOwLAjDRog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDao5H1c3v59c+nNYZLMNPrrFZ2SDG1/cdQrKUjtsQKCwIhANpb8v3ThhsgXCd889QddOOX2+fPubRtSeZMrtzYXP2v"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.1.3":{"name":"viceroy-rest-server","version":"0.1.3","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.5.1","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.4"},"dependencies":{"lingo":"0.0.5","primitive":"~0.3.0","connect":"~2.11.2"},"_id":"viceroy-rest-server@0.1.3","dist":{"shasum":"b53c3b9d20ebae68edc50f2ea51ade21d200ff37","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.1.3.tgz","integrity":"sha512-sSRPuHF1DIMJ5UvC2AThBJl/wAIbFJuxhy1PsiZqEFvo/+8X3/C5PmQZrCykil0nW3v2ZzfPvMHoz8cvJeHMfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJn4LNhyuhQFPE7m0mqv3t4d7d0s2i9fRhLh6CMcgW8AIhAPJ+yU1EGls4W2fNfg15DBQIwfDHRFUy21jK9T5ifeC7"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.1.4":{"name":"viceroy-rest-server","version":"0.1.4","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.5.1","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.4"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.0","connect":"~2.11.2"},"_id":"viceroy-rest-server@0.1.4","dist":{"shasum":"954154698aa16fa0fb18c3463d7fdb021a734715","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.1.4.tgz","integrity":"sha512-TOVJqLJiwOrblUh0x+g8ianE+fiJiVx7TzXt61nWlN/SbQPfv4oFogZoQpPI+yCYVAFWiuicLk1tcDslG2az+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWYXTOI9uqU6SslLqyIZg/uKGHZEx6mOrn6OIpLB8aDAiA8ochmLDy1JoFs/7Khph8fe/2PJrOl2dSH926FOW1cgg=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.1.5":{"name":"viceroy-rest-server","version":"0.1.5","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.0","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.1.5","dist":{"shasum":"e9e178669da5e871540f4b4083bffcb797d3fed3","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.1.5.tgz","integrity":"sha512-UtirxP437Jba7I0cECeKr5P/8EiTSGDd3Gm0uo5ET7KDATFpG0nMUcdfMPWiiUkIokI7mDFLcQf4PqVuG5sJdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQC9mZ3v2T1xEtxgVLKDr25M1U9UEYfBrP8FX2FVHVaAiAgafGZ9qc8N7tp6LYaoFqG3beo5+r41RU4ASBjJ2T7Ag=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.1.6":{"name":"viceroy-rest-server","version":"0.1.6","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.0","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.1.6","dist":{"shasum":"2c34e1962705ecd3e1097206942d8929887b6025","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.1.6.tgz","integrity":"sha512-8NYabzTQx+moHabYAFssiEbGDjIwu061X++CxOiOjAEuK6hL4rmCW8y7fWukjGJ+vAQC/1sobRc5p4sHEW2SsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEyuEimO0TKhOVhi4tVPQJOd1ohhl0NEucEsjxPqpUKAiEAu7Vq4mNtz/68AUycMOtn/YpQ04U+cJUbVHPo616+ay8="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.2.0":{"name":"viceroy-rest-server","version":"0.2.0","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.0","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.2.0","dist":{"shasum":"0efa718920169e81b973e8c7e8f75e08a5f39af6","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.2.0.tgz","integrity":"sha512-mCp2W+N2AEzscLYQ7LD3c4DUFIokw/ANnls3MYYVUNc9/HhI2AvrvOR2WOSsE9wy+O44lXhP3jsHGGh4YhNvQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0CmURQhH6X2u8WlKA9xCXPk1YDWicmvKBe4oo0qPbtQIhAPmqte1NDxBBfK6JTH+qfWGQjd769d9MJLTh9Ts4ZwYA"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.2.1":{"name":"viceroy-rest-server","version":"0.2.1","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.0","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.2.1","dist":{"shasum":"cad7deecf38a88a45290efb4b0a7d8ca3452ae9b","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.2.1.tgz","integrity":"sha512-VG5kroFxIoVhXK/TWTwvNtvUi5PPEU2Osspc0OFbQ6cYg28S8YyXm3y2F+Qutufu/smStn+nXZUUlZVDqqZbDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBpCZSwNMoAy1e/VGMls5B2HjPAgXoXP3KmzcH4TUGjGAiAJo2jlg6o2AgTqYc9+4C8MI4rj+yYRIHPqep6v+GriVw=="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.2.2":{"name":"viceroy-rest-server","version":"0.2.2","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.0","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.2.2","dist":{"shasum":"caa01247c6b7dcec25349838576df59b8e29c9ff","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.2.2.tgz","integrity":"sha512-KMsZy7EqUeGUP3sJiEu1JGsLKnvzr+m9wJt30X3nRI+r/Yhr0QbAcP06ZVbJ8nKE+OpZaMaJ+vX8hf5bQhLKgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfp1yIrXbaKXqTpUn+CLKrRxSpE3UrOl0q524Yn9ab5gIgDaGMosB6WCuG0Ndin777lo+NRMGUNkoX23P9gRoQ1N0="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.2.3":{"name":"viceroy-rest-server","version":"0.2.3","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.2","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.2.3","dist":{"shasum":"bd16a7675cf8a4b9c153152fb0ebba3983cc17af","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.2.3.tgz","integrity":"sha512-mHSy1eutJ5NWKKNqtzM9/vt8dt4zpE0A61RcJZ7Xj2UK4omCniB85rILIPWDwIc6huyuHKh3g/BDo0gWENXkKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGsVKoAN/0L2p/ITE7zl27RO6c9e9t3smOU7j0cBR2rwIhAIWSRenrjS7Chqq4b+XbKLx08ncUy96A72E7LuwcJZN3"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.2.4":{"name":"viceroy-rest-server","version":"0.2.4","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.2","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.2.4","dist":{"shasum":"5d9ddad5d94146d0c8d462851d67365b33a9e74c","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.2.4.tgz","integrity":"sha512-shXHatebICroAu+UvX+BvbXICa0jOZ01d0GzWxkgHP8iBGvWDthGIpVdyuvhKDtcWoqUYmzqmWy9GfBFvYz/1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHmnL8TXNMIhKMAdyDtH/wIRC6zgFnrT+ugZtzj28lsAIgOBnhJndUiZB0a51BGglORY5pVasa06uVhI7fs1Q0gpQ="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.2.5":{"name":"viceroy-rest-server","version":"0.2.5","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.2","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.2.5","dist":{"shasum":"e2aa12acf4d48568200bad913dd3d37da3980053","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.2.5.tgz","integrity":"sha512-Upqfnnk17GpAU9ZZ62feoUN11v4/2/WV5+gWAekYtd9d0v+KMIYa8Li1j7eblvuTrGc8ONe6pjsZuFpW3C82WA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzPIoTv2XPXUOYeJvi88d1uxOf6euCt018KMB5Ri5eogIhAJrPRvwKpj1C0/Cm4Qnkl5BjvYA2yV2oWsxr+FPyH1kz"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"directories":{}},"0.3.1":{"name":"viceroy-rest-server","version":"0.3.1","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.2","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.3.1","dist":{"shasum":"5d6d019d04075d56ebffd02dfd4e710b9534aba0","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.3.1.tgz","integrity":"sha512-+ShJFIxaG+jUyrv6QIC9dYjFJjwE1lSHdvZ0DWQJq2mUjsINPDu+1m1tGYT3HmE0y4lVflzIMKkLiFOBnkBA3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE/m1rYLAA3oLoCuv+OEwBEtnStZPvGe5nGMLmokSRm8AiAdMTE3kAvsI9o0YkCiQCmqXGIr4zXe97blSrsHuvZmAg=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}]},"0.3.2":{"name":"viceroy-rest-server","version":"0.3.2","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.2","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.3.2","dist":{"shasum":"ae0239242147d381d91031805421256bee3c0fd5","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.3.2.tgz","integrity":"sha512-hM802mtZofSVgFeXifshEGs2ov6tIrcifkoPkEiDeW//4+PJu9Wp6Gk2EZF2bPnWsYsN3OTDyhqNTHt0SgwXdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2aOx0MVJ3DZqaMswdpUbfmZPlQSNrOG/kljubld0nEQIgKImVQXl3qV5AjktLxmcmVDdYchNfUJcPzvIp4UCzIbI="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}]},"0.3.3":{"name":"viceroy-rest-server","version":"0.3.3","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.2","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.3.3","dist":{"shasum":"10d85caa8e482553fcb1b477414387552a1ab8b9","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.3.3.tgz","integrity":"sha512-aOCEVviuMG9wbNwu+pBPZ3dANnM+mvSNi6nzKWOuquSPpUqi0Slxb7Yi77e4U5NiVu9Ed+vEnkTVQYBB6aLwZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVOsLJU33NDOmUDkebI5jYpNAdzPywDtTWpIunyOPqXAiEApPLYe0iDUn1AB4xIBgaR8VWNOhAda1TKFjleuqsQJ6U="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}]},"0.4.0":{"name":"viceroy-rest-server","version":"0.4.0","description":"Viceroy REST Server contains middleware for express and [Viceroy] [1]. It allows you to create RESTful routes as well as custom routes based on your Viceroy Models.","main":"./lib/viceroy-rest-server","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"license":"MIT","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"homepage":"https://github.com/Battlefy/Viceroy-REST-Server","devDependencies":{"mocha":"~1.15.1","should":"~2.1.1","connect":"~2.11.2","superagent":"~0.15.7","viceroy":"1.7.3","viceroy-nedb":"0.0.1","viceroy-rest":"0.0.7"},"dependencies":{"lingo":"0.0.5","primitive":"0.4.2","connect":"~2.11.2","nedb":"~0.9.3"},"_id":"viceroy-rest-server@0.4.0","_shasum":"c355ca35448c78c58dd077af61d3ec53fd3c1010","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"robertwhurst","email":"robertwhurst@gmail.com"},"maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"}],"dist":{"shasum":"c355ca35448c78c58dd077af61d3ec53fd3c1010","tarball":"https://registry.npmjs.org/viceroy-rest-server/-/viceroy-rest-server-0.4.0.tgz","integrity":"sha512-6CQJ8/y06AWihd7OE9tA/yYbELqeqndmZVY60lgz4if9GFrOFGfkKBMUW/b/IsURa1ajvyGv+fVI7vjMse/Sow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcOv1/bVU+Olox9EBYWJ1GPLybtZBJvzn6fkznRNMoJgIhAKQ1l/EKro1jmR3XLB/eRjigetcoRwdkNNrj0keGbKSs"}]}}},"readme":"# Viceroy-REST-Server\n\nViceroy REST Server contains middleware for express and [Viceroy] [1].\nIt allows you to create RESTful routes as well as custom routes based on\nyour Viceroy Models.\n\n## Sample Code:\n\n```javascript\n// modules\nvar util = require('util');\nvar connect = require('connect');\nvar viceroy = require('viceroy');\nvar viceroyNeDB = require('viceroy-nedb');\n\n// libs\nvar viceroyRestServer = require('viceroy-rest-server');\nvar Model = viceroy.Model;\n\n// create the web server\nvar app = connect();\n\n// link up the viceroy driver\nviceroy.driver(viceroyNeDB({\n  databasePath: 'viceroy-rest-server-test'\n}));\n\n// create the viceroy rest server\nvar server = viceroyRestServer(app);\nviceroy.use(server.middleware());\n\n// load a people resource\nserver.loadRoutes(function(router) {\n  // this creates the following routes for 'people':\n  // create: POST /people\n  // show: GET /people/:id\n  // index: GET /people\n  // update: PUT /people/:id\n  // destroy: DELETE /people/:id\n  router.resource('people');\n});\n\n\n// create and register the Persion model\nfunction Person() {\n  Model.apply(this, arguments);\n}\nutil.inherits(Person, Model);\nviceroy.model(Person);\n\n\n// setup the db connection\nviceroy.connect(function() {\n\n  // bind the web server to port 8000\n  app.listen(8000);\n});\n\n\n```\n\n","maintainers":[{"name":"robertwhurst","email":"robertwhurst@gmail.com"},{"name":"shanejonas","email":"jonas.shane@gmail.com"}],"time":{"modified":"2022-06-28T16:52:51.492Z","created":"2013-12-11T23:05:50.531Z","0.0.1":"2013-12-11T23:05:52.714Z","0.0.2":"2013-12-12T01:17:13.405Z","0.1.0":"2013-12-14T02:13:31.225Z","0.1.1":"2013-12-16T23:48:24.544Z","0.1.2":"2013-12-17T20:06:58.367Z","0.1.3":"2013-12-18T19:43:15.261Z","0.1.4":"2013-12-18T23:44:49.809Z","0.1.5":"2013-12-20T19:06:57.869Z","0.1.6":"2013-12-20T20:23:03.411Z","0.2.0":"2013-12-24T22:46:38.974Z","0.2.1":"2013-12-30T19:30:21.313Z","0.2.2":"2013-12-31T20:08:08.000Z","0.2.3":"2014-01-03T02:29:41.279Z","0.2.4":"2014-01-12T22:25:32.393Z","0.2.5":"2014-01-12T22:49:10.993Z","0.3.0":"2014-01-30T00:24:53.541Z","0.3.1":"2014-02-13T21:35:34.697Z","0.3.2":"2014-03-11T00:25:07.056Z","0.3.3":"2014-04-22T18:30:50.587Z","0.4.0":"2014-07-17T00:49:52.225Z"},"author":{"name":"Battlefy","email":"info@battlefy.com"},"repository":{"type":"git","url":"git://github.com/Battlefy/Viceroy-REST-Server.git"},"readmeFilename":"README.md","homepage":"https://github.com/Battlefy/Viceroy-REST-Server","bugs":{"url":"https://github.com/Battlefy/Viceroy-REST-Server/issues"},"license":"MIT","users":{}}