{"_id":"vine","_rev":"129-378e1db277bc0f3d41f3de0c1d209a4d","name":"vine","description":"API builder","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.1":{"name":"vine","description":"API builder","version":"0.0.1","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"http://github.com/spiceapps/vine.git"},"main":"./index","_id":"vine@0.0.1","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.4.9","dist":{"tarball":"https://registry.npmjs.org/vine/-/vine-0.0.1.tgz","shasum":"0f3d365aff67b35e67615328f6d6a6f05f25658a","integrity":"sha512-UnUG699WP7KWq0CbQ8vuXk716CAaj9nD5je5V1rRgr1KphJn1ImzqpnlucTKM3r7zsuLBJxXuloIPiNHN7X/jw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHvcvOsgI8rsl4KPoY4wdfVO/NhiS+GOnq7LYymhbrwUAiBQBTte1yf7eIcxKbfwtjJNldiYP91WX2TYK0F0FgVmKg=="}]},"directories":{}},"0.0.1-1":{"name":"vine","description":"API builder","version":"0.0.1-1","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"http://github.com/spiceapps/vine.git"},"main":"./index","_id":"vine@0.0.1-1","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.4.9","dist":{"tarball":"https://registry.npmjs.org/vine/-/vine-0.0.1-1.tgz","shasum":"8fef1d271ec5cbff321351fbc5525c20fc216e0a","integrity":"sha512-e8iVj88GL5nBpgQEFA7xTtA1d5LbAzB1Dptma9pMX25+AVutB4n75uUFrmOQTpXrP3K8arj9inFWLI51eTAMOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjEhwSaXzkCaz5aOPEDLEQnXSOtMXlziibsy7X+ucZmwIhALQ8tDgqMZTz2fefbma/DLKeSjmXYXZf3SPWgAiHRNag"}]},"directories":{}},"0.0.1-2":{"name":"vine","description":"API builder","version":"0.0.1-2","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"http://github.com/spiceapps/vine.git"},"main":"./index","_id":"vine@0.0.1-2","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.4.9","dist":{"tarball":"https://registry.npmjs.org/vine/-/vine-0.0.1-2.tgz","shasum":"bb4e1146eff9961a81281b85b2f8d99a0c765d51","integrity":"sha512-Cmvamua6bgj/U3NSNUDh/IYoNkxN58OAQDNHUuLDHiBYFoj2E0mY941Tq9W5newhFGq3EMRgfGGR88GrDPjYvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGoyd7mwVqHqZ4QkUNass2BSCwwr0ImU8UmFhQPibqmAiAryEMRoUEh8Krm6WaDGKHVlrRlMvW+dMy0/QgQh0pz1w=="}]},"directories":{}},"0.0.5":{"name":"vine","description":"API builder","version":"0.0.5","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"http://github.com/spiceapps/vine.git"},"main":"./index","_id":"vine@0.0.5","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.4.10","dist":{"tarball":"https://registry.npmjs.org/vine/-/vine-0.0.5.tgz","shasum":"6f66d95e3cc02c01210b89f4665def5ae8bc44d9","integrity":"sha512-P8xa1nkNL20IGv/4dli5rhmUHNpyr4/xud/8CPx/0aW9B7qx9PurLi+Zvzn/3NlA5mYcplOIZSWeQIapw2GNKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5XI/rI/cNCl4y1exvqi13ejhiN9Yhkw7x0x9xzTBliwIgbEVn9bVXm5K9tBWYGhNk69kdrYtib2q4wSg3SEU4qvA="}]},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.0.6":{"name":"vine","description":"API builder","version":"0.0.6","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"http://github.com/spiceapps/vine.git"},"main":"./index","_id":"vine@0.0.6","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.4.10","dist":{"tarball":"https://registry.npmjs.org/vine/-/vine-0.0.6.tgz","shasum":"974bcc82b8621e6578ae9918429607dc63647ce0","integrity":"sha512-i9MZA2hXgo0pUkgIUb270yM5reDvrxhY75795faz7w72W/VTZgQXIyBeDtx8l8eDiunND3Bs0vCAYAuwevrNHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHC7xcOwM7RJ2hncO8KP4mALaBRHdow3BrIPYSYu8QtrAiBCDcwXLEiJf/NcoPAYEkcnS5E4c4g8/e/PI3VL7x+KZg=="}]},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.0.7":{"name":"vine","description":"API builder","version":"0.0.7","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"http://github.com/spiceapps/vine.git"},"main":"./index","_id":"vine@0.0.7","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.4.10","dist":{"tarball":"https://registry.npmjs.org/vine/-/vine-0.0.7.tgz","shasum":"086f196e95e39607f45dca8b36ed5a1c32be8511","integrity":"sha512-ESY1dyPvAr3z7zwSXus8yw4q28gxL2tNkPYNu0w8CNiIWr4KVnTpV8wjNoaJaER0fOgceMcqqNQHKavtq22oXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF6MrpQNZIswT4RMHD4Eh5VeMC/ghC8v2fmorK/xnw84AiAYQoADL2fmkY9ECFIAGuUw/s0NVAMEe6wsybVkX8kTUg=="}]},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.0.8":{"name":"vine","description":"API builder","version":"0.0.8","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"git://github.com/spiceapps/vine.git"},"main":"./index.js","_npmJsonOpts":{"file":"/Users/craigcondon/.npm/vine/0.0.8/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"vine@0.0.8","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.27","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"881fd77646a875f1da5925b9f52fa567b6fd27ec","tarball":"https://registry.npmjs.org/vine/-/vine-0.0.8.tgz","integrity":"sha512-NG7dHL0QLYydh2f7uMQoatPT0YTlj3DxpFeUgnapMyKM1W+2aZsZpKSyFm+b8Lp3IE2GATvMvyX0dduu8bE+uw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICO9al65IXLgYMlZ9FOSOR8FoR2PtQtbrUGalbVlGODwAiB/m8+zwrR0VviOny22ZNyqVkpSrYwWLe8taLhqw9yV2Q=="}]},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.0.10":{"name":"vine","description":"API builder","version":"0.0.10","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"git://github.com/spiceapps/vine.git"},"main":"./index.js","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"_id":"vine@0.0.10","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"98c93f027962778dddbaed09b6edab039346ed82","tarball":"https://registry.npmjs.org/vine/-/vine-0.0.10.tgz","integrity":"sha512-9c8c6ym74M22UYnYqJbaMJFgh+HJX7vsJzSJnMUvpsPKX2xlaKL0X6K0Dtq3frVodTfUdsVSzqcRpgqeL+TP5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3WAMHVHNG/CtKiUAfe9phT32kfPLCwTuZfPfokU1HLAIgfcBcDq23vNpvJV9Ljope3ujZxP1jwiAWOhgFvRi7Bis="}]},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.0.11":{"name":"vine","description":"API builder","version":"0.0.11","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"git://github.com/crcn/vine.git"},"main":"./index.js","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"_id":"vine@0.0.11","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"3f334e32a18395641c7d00e901db8547c3836e4d","tarball":"https://registry.npmjs.org/vine/-/vine-0.0.11.tgz","integrity":"sha512-uccBZflz493MXWIYe6U6RYVQ7Vb7KHaNlNhXCR2cTbmbiyfUTSXzcIbdtT67Va+3ZlXnC4sW1wYTsX2qHnKJrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDOKdlyKGLmDFbzWjZiX/+4/Kwwom5jLvJGZebS3NKNaAiEAhHwFjzsDDkVr8rz1OOnlwEDQcGSEMJIfY8cE1rJYLdg="}]},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.0.12":{"name":"vine","description":"API builder","version":"0.0.12","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"git://github.com/crcn/vine.git"},"dependencies":{"outcome":"*"},"main":"./index.js","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"_id":"vine@0.0.12","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"621a277577a160a6821ad86b5aec5f1e592fe568","tarball":"https://registry.npmjs.org/vine/-/vine-0.0.12.tgz","integrity":"sha512-n+i9w/nemcgGDxyNmgR6R7Z2J0pHU2GLXKO0cdWzD/Rg2JcbjUhLOzOtAdSO4iRV3b74iKognLT3yyNhKS7Cig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgLdvrpCQVwnz0yFQG3hoXPfUJ+7X4MtS6UQlyZ1gQZAIgbConjJVk7Jo1SG/AsTxl/s5+M0PFO4VKVFi6K2RxH8c="}]},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.0.13":{"name":"vine","description":"API builder","version":"0.0.13","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"git://github.com/crcn/vine.git"},"dependencies":{"outcome":"*"},"main":"./index.js","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"_id":"vine@0.0.13","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"22d3196af3467dab27cf92e3811a5a5134f3bff7","tarball":"https://registry.npmjs.org/vine/-/vine-0.0.13.tgz","integrity":"sha512-fyTjbwS4by2wl3iVU8Uda5+5HLG/EIIPh1DHXj9CzDDZSJALVFJFeSBG1nQ6PZAInw5sN1IGUNHVAHb7spBiOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjzH+/mW+wJ8g5nnHH3bzhPpAvrNXF5F21YYpLFao46wIgNRvqgZepdH7Zpcdte0J45OxHRXiheBIY6C2TAp18MPA="}]},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.0.14":{"name":"vine","description":"API builder","version":"0.0.14","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"git://github.com/crcn/vine.git"},"dependencies":{"outcome":"*"},"main":"./index.js","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"_id":"vine@0.0.14","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"82f9533d300829f8cae2c56d594135e15739d59d","tarball":"https://registry.npmjs.org/vine/-/vine-0.0.14.tgz","integrity":"sha512-XKImQtD9UyGMkxcvd/pPp2bwQKTS51f/9EBfRszrO3P1PSnu2ts/TiA/LoTTS3EBDnvXvM+WFBUDaPrNou+jPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj2ccpvln3IxvVOoui1eX264DZRfKabTpDusYsNf0D0AIgai9bwwpM/oXyL4nDQLHYHSsYupqfWEEHgi021zfNJ1U="}]},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.1.0":{"name":"vine","description":"API builder","version":"0.1.0","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"http://github.com/crcn/vine.git"},"dependencies":{"outcome":"*"},"main":"./index.js","readme":"Vine -  JSON Message builder           \n============================\n\nWhat's this?\n------------\n\nJust a small utility to help build consistent JSON messages, usually for API's.\n\nWhy?\n----\n\nConsistency. It's also cleaner, and easier to maintain. \n\n\nWhere should I use this?\n------------------------\n\n\t- API\n\t- nice replacement for callback(err, result);\n\nCode Usage:\n-----------\n\n\n```javascript\n\nvar vine = require('vine');\n\n\nvar data = vine.message('hello %s %s','craig','condon').\n\nerror('this is an error').\n\nwarning('this is a warning').\n\n//time to cache this response\nttl(5).\n\n//result data = success\nresult({data:'and this is some data'});\n\n\nconsole.log(data.data); \n\n/* output:\n\n\n\t{ message: 'hello craig condon',\n\t  errors: [ { message: 'this is an error' } ],\n\t  warnings: [ { message: 'this is a warning' } ],\n\t  ttl: 5,\n\t  result: { data: 'and this is some data' } }\n\t\n*/\n\n```\n\n\t\nTo Do: \n------\n\n- code != clean\n\t","readmeFilename":"README.md","_id":"vine@0.1.0","dist":{"shasum":"42655c6cb2b44404c5d2442da39d1cafdbfe2221","tarball":"https://registry.npmjs.org/vine/-/vine-0.1.0.tgz","integrity":"sha512-X3mA/2K+2M6j4131TKlc363u31El3KUCz2iLlTsSOUSU8ZKPz66oz7iUyDdL4ivPWWt4V/vxJGqNf+xlpzjOKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4ZThcRrhJHmGTs9Txh3bL3j7JUY/3IvLKH1/jjE05xQIgKukmhdOVF5+seFbBcbkrkN7eHJ6G6/mlnLJibAioYFk="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.1.1":{"name":"vine","description":"API builder","version":"0.1.1","author":{"name":"Craig Condon"},"repository":{"type":"git","url":"http://github.com/crcn/vine.git"},"dependencies":{"outcome":"*"},"main":"./index.js","readme":"Vine -  JSON Message builder           \n============================\n\nWhat's this?\n------------\n\nJust a small utility to help build consistent JSON messages, usually for API's.\n\nWhy?\n----\n\nConsistency. It's also cleaner, and easier to maintain. \n\n\nWhere should I use this?\n------------------------\n\n\t- API\n\t- nice replacement for callback(err, result);\n\nCode Usage:\n-----------\n\n\n```javascript\n\nvar vine = require('vine');\n\n\nvar data = vine.message('hello %s %s','craig','condon').\n\nerror('this is an error').\n\nwarning('this is a warning').\n\n//time to cache this response\nttl(5).\n\n//result data = success\nresult({data:'and this is some data'});\n\n\nconsole.log(data.data); \n\n/* output:\n\n\n\t{ message: 'hello craig condon',\n\t  errors: [ { message: 'this is an error' } ],\n\t  warnings: [ { message: 'this is a warning' } ],\n\t  ttl: 5,\n\t  result: { data: 'and this is some data' } }\n\t\n*/\n\n```\n\n\t\nTo Do: \n------\n\n- code != clean\n\t","readmeFilename":"README.md","_id":"vine@0.1.1","dist":{"shasum":"04d15b476b59dac42528ba5de9552916f2359064","tarball":"https://registry.npmjs.org/vine/-/vine-0.1.1.tgz","integrity":"sha512-NBiN0phDxRdNHdBmmnzSDrO5xj1G+VGRJjoDaq7CeaF6x5Qx0a78ZHVM/A36xSAznoFRWCybVjFMq5wDYlDOtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFbaavofI2bGPo9KG0X5B+Gzfv7DY3CsFppugDSxxd+8AiAhHruwD5tLlmoPdRrQsMOwaJp4/sbajEVnsjHpkh71AQ=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}]}},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"time":{"modified":"2022-06-28T17:26:52.846Z","created":"2011-07-14T02:15:31.899Z","0.0.1":"2011-07-14T02:15:32.107Z","0.0.1-1":"2011-07-14T02:40:44.991Z","0.0.1-2":"2011-07-18T07:58:29.982Z","0.0.5":"2011-08-10T02:58:50.248Z","0.0.6":"2011-08-14T22:43:56.245Z","0.0.7":"2011-08-15T04:48:31.531Z","0.0.8":"2011-09-12T05:22:20.232Z","0.0.9":"2011-09-13T17:44:43.999Z","0.0.10":"2011-11-14T22:32:43.943Z","0.0.11":"2011-11-30T18:54:55.583Z","0.0.12":"2011-12-17T20:49:41.780Z","0.0.13":"2011-12-31T01:37:49.488Z","0.0.14":"2012-02-17T20:54:41.044Z","0.1.0":"2012-12-06T23:31:58.315Z","0.1.1":"2013-05-23T18:30:50.096Z"},"author":{"name":"Craig Condon"},"repository":{"type":"git","url":"http://github.com/crcn/vine.git"},"users":{"fgribreau":true}}