{"_id":"relax","_rev":"18-33faa0c2770a886917f7e8bcd01c0937","name":"relax","description":"Just relax, like you should with couch!","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"author":{"name":"Jann Horn","email":"jannhorn@googlemail.com"},"name":"relax","description":"Just relax, like you should with couch!","version":"0.1.0","homepage":"https://github.com/thejh/node-relax","repository":{"type":"git","url":"git://github.com/thejh/node-relax.git"},"dependencies":{"request":"*"},"devDependencies":{},"_npmUser":{"name":"thejh","email":"jannhorn@gmail.com"},"_id":"relax@0.1.0","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.1","_defaultsLoaded":true,"dist":{"shasum":"9ea4f94c526de3b7619f2f44b4a55f9a09c6f99e","tarball":"https://registry.npmjs.org/relax/-/relax-0.1.0.tgz","integrity":"sha512-s/W6nOknePnjVxR/Zpw9RZUifMipfNfHsTvFlqZH0IXbZOBLVNBeClioJo9tLbv5dcxdJewvHUBZ8LFzO26RfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3dbwGwXw9vBy3WVZ2MLWRMO2IhPqkQAI3m5nRTS86+QIgFaRtbVN5xkXwJTJpk+oFWq55r0wGkLHD8XvvawpO0vI="}]},"maintainers":[{"name":"thejh","email":"jannhorn@gmail.com"}],"directories":{}},"0.1.1":{"author":{"name":"Jann Horn","email":"jannhorn@googlemail.com"},"name":"relax","description":"Just relax, like you should with couch!","version":"0.1.1","homepage":"https://github.com/thejh/node-relax","repository":{"type":"git","url":"git://github.com/thejh/node-relax.git"},"dependencies":{"request":"*"},"devDependencies":{},"tags":["couchdb","database","client"],"_npmUser":{"name":"thejh","email":"jannhorn@gmail.com"},"_id":"relax@0.1.1","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-beta-7","_nodeVersion":"v0.6.7-pre","_defaultsLoaded":true,"dist":{"shasum":"8536ac2b510f4783bf1d2be7e86f09980c9ad909","tarball":"https://registry.npmjs.org/relax/-/relax-0.1.1.tgz","integrity":"sha512-TdifgXdA+V1CDaxB8vu09VT+vHWlnbp1Cn1GmjkNpfy9Is4OWjAjw4VhYaEbpk8vZee52e/VH+KEnFgX9LEc+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGN2Wxxi8fjFTUwXFH17h47u6/L/oP6vzTWdBy6GuoPgIgStHxl6PutkGRfKmhNn+J202GJnQtD/SLg9vnvBO4xuM="}]},"maintainers":[{"name":"thejh","email":"jannhorn@gmail.com"}]}},"readme":"This module (on npm as `relax`) has the goal to make working with couchdb\nsimpler. E.g. one property of couch is that you can't lock tables or so,\nwhen stuff fails, you just have to retry. That's not bad, it's good for\nperformance and stability. However, it might have made your life a bit\nharder, especially if you were using a module that just overwrites changes.\nWell, this module wants to make it simpler. Usage:\n\n    var db = new (require('relax'))({host: '127.0.0.1', port: 5984, ssl: false, db_name: 'test'})\n\nExcept for `db_name`, all options are optional and default to these values.\n\nLow-Level API\n=============\nYou can use these two methods to get and store documents:\n\n    # get a document from the database\n    # `id` gets escaped via encodeURIComponent\n    db.get(id, function done(errOrNull, doc){})\n    \n    # store a document\n    # `id` gets escaped via encodeURIComponent\n    # This method does NOT handle conflicts, it will call back with an error!\n    db.store(id, doc, function done(errOrNull){})\n\nHigh-Level API\n==============\n\n    db.alter(id, function modify(doc){}, function done(err){})\n\nThis method fetches the specified document, calls the `modify` callback on it\nand stores the result of that callback. If an error occurs, it waits, repeats this\nprocess, which means that it re-fetches the document, calls the `modify`\ncallback on it again and tries to store it again. It fails after ten errors\n(conflicts don't count).\n","maintainers":[{"name":"bruno12mota","email":"bruno12mota@gmail.com"},{"name":"magalhas","email":"magalhas@gmail.com"},{"name":"thejh","email":"jannhorn@googlemail.com"}],"time":{"modified":"2022-06-26T10:54:22.833Z","created":"2011-11-15T16:53:25.246Z","0.1.0":"2011-11-15T16:53:27.387Z","0.1.1":"2011-12-30T00:30:28.360Z"},"author":{"name":"Jann Horn","email":"jannhorn@googlemail.com"},"repository":{"type":"git","url":"git://github.com/thejh/node-relax.git"},"readmeFilename":"","homepage":"https://github.com/thejh/node-relax"}