{"_id":"rethinkdbdash-unstable","_rev":"28-d4651a474e639c3578349cb018e3d9a7","name":"rethinkdbdash-unstable","description":"A Node.js driver for RethinkDB with promises and a connection pool","dist-tags":{"latest":"1.12.13"},"versions":{"1.12.1":{"name":"rethinkdbdash-unstable","version":"1.12.1","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.1","dist":{"shasum":"050335fa898891804f9482fcbe85db4e9a1222c2","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.1.tgz","integrity":"sha512-RjE6JkJOLnzPBTdtM2u+q55LbJMhl5YmUamdiOwuZn6cYyAe1vU8ddLjkJ1vyym3vOP5zrrkl+zzczvlWToEgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjslr1xZ0opRSFu9hr76d/EB5SmGLSipRIeac8GS6mTAiA0qgAHJKBV7KJ2cgTOk68wqw68AV/Wnbrz5WaP8AtTaA=="}]},"_from":"./","_npmVersion":"1.3.24","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}]},"1.12.2":{"name":"rethinkdbdash-unstable","version":"1.12.2","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.2","dist":{"shasum":"aa8d048414965e1a252dbc6f48d55156e5cd883a","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.2.tgz","integrity":"sha512-H4jUt67OtHEz2NpoDdHjp0F7mbIrAElMrpdX15/5QpCxfiXkXgB/GfseAcJQ62S5Aso224gdnuZ/qxP2ErLTQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcPavTDIqlqOPS4gqcmIIIzMjlKSmKpHOryNc3IsKPbAiAbJYZE+QrilV3MKzQQ2y/JJpoLWVRsKkl7L5HXC/ZLhA=="}]},"_from":"./","_npmVersion":"1.4.3","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}]},"1.12.3":{"name":"rethinkdbdash-unstable","version":"1.12.3","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.3","dist":{"shasum":"ff3859661f7860c74cb0f12bebc29770838d9f29","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.3.tgz","integrity":"sha512-tCq0Gw8Ogf04ZpvkLeIxl5Ib+jBczP5xWHuazJv4lVCxrxut62VEEqU80fc8evupdDt5XLrhPRo6SYUbeaEAug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFv9KllvvfXfwO08pgS7hSG9Rwu0j+EFJ/xhTi+udzy/AiEAqEPhviSwu5C0baLRdXQMK6m3EgmBVu9njhHYSAjGK34="}]},"_from":"./","_npmVersion":"1.4.3","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}]},"1.12.4":{"name":"rethinkdbdash-unstable","version":"1.12.4","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.4","dist":{"shasum":"0f2a41c6d1b7be332a91aa0f0ccc3e122bc5fa41","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.4.tgz","integrity":"sha512-UYS6WE12ILRU6OOknLKwh+ZkGcInwt3/gWh5YjfIBiXF+mrBbiTtr6/7JRsOb4jZcfPwJiLenSE9g81r1tXv0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHBi9P8bEFgjqIqLvhb5dqrl8K9cIsteHp1hE/xA1Jt+AiBhDSgi4Bo1i2OLkWG8raWZecH0bR1fF6SnteMxt+SdAw=="}]},"_from":"./","_npmVersion":"1.4.3","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}]},"1.12.5":{"name":"rethinkdbdash-unstable","version":"1.12.5","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.5","dist":{"shasum":"33fe6f1a29e0bbb71c2e9ac5dcd79de80e070dc2","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.5.tgz","integrity":"sha512-hx2QsSxW2Lupx4BsqBjPRFylYLvsyGIzWHugfUr++ckhUX0B0HNIea7UUBzO3m0Eald1e1i1QtuNrPdrxFrp2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9ugVl7PxpfDzI33pFS242p/cYcoZGe4WEw9x18GDZqQIgUGYx3BIac6EBpT4Mz8T2cKTpTscyjeyNdUwqWqfUBNA="}]},"_from":"./","_npmVersion":"1.4.3","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}]},"1.12.6":{"name":"rethinkdbdash-unstable","version":"1.12.6","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.6","dist":{"shasum":"21f9d0a640e490ff73a6eef8394246322ac3fefe","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.6.tgz","integrity":"sha512-/6LCHiFYy222QNh3K2MFL9zjbghUv9db0ZKAoCP+x9V6de8HmBczb5Vv6MWki3D4em++agJ9NIW+xmNSEu7X8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4F9l/KenSVOTkI+S5oMk61FQafT3gbs9UsYewjFmnYQIgHP8cvCE1y+CVQrd7/66uox3k/F3hubIbtbQ6j6SgLmA="}]},"_from":"./","_npmVersion":"1.4.3","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}]},"1.12.7":{"name":"rethinkdbdash-unstable","version":"1.12.7","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.7","dist":{"shasum":"1c0452458aae4c7b1ab7fa759758f61b0b605b8a","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.7.tgz","integrity":"sha512-Oh1xAA82uXg6PGd042BUwUbFjppnDbnDuVtCgtWgwR34o4fJn0EgnimGHhJ1MiLjsdlYmnCFV8whzh5kKEFaWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFw/rykPcuGMehWBmtGz4s5uYJLHqwAwXLpd6CLPeC+oAiEA0cW8J0HnO7RqhjSlvMaug5gCOXRElFd+x32foNe7nfw="}]},"_from":"./","_npmVersion":"1.4.3","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}]},"1.12.8":{"name":"rethinkdbdash-unstable","version":"1.12.8","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.8","dist":{"shasum":"ef674ed129a91bd4cc2ef54a2f28fbdd9712a9a6","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.8.tgz","integrity":"sha512-2LT8QUizsLcF4wkDYnvmvx8ZXnfM47CmlV7otRf+YxStvw/lZDDERkMd7VmVIQUKFh4YK3xTKBHHoQgQS9KaAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaXpZ3cDf8pQDD3SxuDKxih+Pp9q+8Vf+b7Wn3UPloZgIgOrs/nZYyNohaWtPN+U6oRpjsDv/CgJEYdvVXvsq3wJQ="}]},"_from":"./","_npmVersion":"1.4.3","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}]},"1.12.9":{"name":"rethinkdbdash-unstable","version":"1.12.9","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.9","_shasum":"0f79eece1d72033af1e5198fd10278b2d22fe361","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}],"dist":{"shasum":"0f79eece1d72033af1e5198fd10278b2d22fe361","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.9.tgz","integrity":"sha512-okZskdselShR1zfpGjdhtZ69vQ5XM1ZL/61YwPSnqjP6oapX+zMTz/G4E+c0NPrwi/8fB6sedW9lz1c0/+kgZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiaXQUAeOpGWjbN+/bsLyMWzLq8ksFnNCWq5xxov63TAIhAJWoo3zYRvzJTBjVbwHklQo4HHm55Z6y+Btt3ZFzkxpX"}]}},"1.12.10":{"name":"rethinkdbdash-unstable","version":"1.12.10","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.10","_shasum":"bc08cbccb573eb7446ce5246e84d9da8e0dedbd4","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}],"dist":{"shasum":"bc08cbccb573eb7446ce5246e84d9da8e0dedbd4","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.10.tgz","integrity":"sha512-okBjqgaec9jhqxkSJlKNP3BcO9ajOaevk2oFExKJOw2CTT8qezF1SQgPj3fuQ40iucfwNx6A7DSzWO1akvW0lw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkghPPep1h0fHOOjPV71TCIJcoIFehPU3YFBZ+NNG/xAIgKlVD/hXomygvqKzEEGWN+6jKY3SjwOU4bOQ0Lmisw9c="}]}},"1.12.11":{"name":"rethinkdbdash-unstable","version":"1.12.11","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.11","_shasum":"5eac5ec1130bf3250577cca0a1693528bd3c3d40","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}],"dist":{"shasum":"5eac5ec1130bf3250577cca0a1693528bd3c3d40","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.11.tgz","integrity":"sha512-vz2pTf4ghmpoP3/UKlTRbV3oV21HLFwMMMqF2j56d+rRStM0DZWWxmIHTiPLAELskkQofEju3Yj+rIdTXGeCvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKkT0q05WwHAf/nB5HSInciTVhNVdx0H8Fs61IFtZ+nAIgKLMdExgZFAd5qiCXbaxkHcU6YDF48uM/3xKJnRFIljA="}]}},"1.12.12":{"name":"rethinkdbdash-unstable","version":"1.12.12","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.12","_shasum":"2c199f74e4411ab8888a52a61de3d01613c8dc4f","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}],"dist":{"shasum":"2c199f74e4411ab8888a52a61de3d01613c8dc4f","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.12.tgz","integrity":"sha512-S8pou+FvYs7cwcYbjm+XXJhJbRQWQ62KYOOz/Syxar1nGdOCWGAXoYOBdllZusd7lyjIINQNOXxiJHG1vFAVnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWMoer3tHFpYSYXrcHFjdturfq3gbUDan/XWb2xcmvYAiB+ZyayUINmsTw/lVJI1HipRIl3/kGgpV7kLtQ7XBzGgQ=="}]}},"1.12.13":{"name":"rethinkdbdash-unstable","version":"1.12.13","description":"A Node.js driver for RethinkDB with promises and a connection pool","main":"lib/index.js","directories":{"test":"test"},"scripts":{"test":"mocha --harmony-generators -t 20000"},"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"keywords":["rethinkdb","driver","nodejs"],"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"license":"MIT","bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"engines":{"node":">= 0.11.9"},"dependencies":{"node-protobuf":"git://github.com/atnnn/node-protobuf.git","bluebird":">= 1.0.0"},"devDependencies":{"mocha":">= 1.11.0"},"homepage":"https://github.com/neumino/rethinkdbdash","_id":"rethinkdbdash-unstable@1.12.13","_shasum":"9a4dbc727232ede59d972e6fcd7f2f250329e748","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"neumino","email":"orphee@gmail.com"},"maintainers":[{"name":"neumino","email":"orphee@gmail.com"}],"dist":{"shasum":"9a4dbc727232ede59d972e6fcd7f2f250329e748","tarball":"https://registry.npmjs.org/rethinkdbdash-unstable/-/rethinkdbdash-unstable-1.12.13.tgz","integrity":"sha512-zJObrIe8smTXlCy5/n1Ib86s5/7wgmSYdQB3XLjL/gZ78SZp15uj3u9UVmCFGPW0kZKcIMzPEwSZhHjr4Pyaww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5IFAFf8jPe9tzpSHKRSeTmKHIfgkza7myPUbkaZD4IgIgFEMymElSLYq/6J8lxPiBIkQPUI/N8nsIBB+Jrw6m+RY="}]}}},"readme":"rethinkdbdash\n=============\n\n<a href=\"https://app.wercker.com/project/bykey/10e69719c2031f4995798ddb9221c398\"><img alt=\"Wercker status\" src=\"https://app.wercker.com/status/10e69719c2031f4995798ddb9221c398/m/master\" align=\"right\" /></a>\n\nA Node.js driver for RethinkDB with promises and a connection pool.\n\nThis is the branch for Node `0.11.10` and `0.11.9` that provides the package `rethinkdbdash-unstable`.\nIf you use a stable version of Node, please install `rethinkdbdash`.\n\n`rethinkdbdash-unstable` depends on `node-protobuf` which is written in C++ and use V8's API.\nLower or higher version of Node won't work.\n\n_Note_: To use `yield` as shown in the examples, you have to start `node` with\nthe `--harmony` flag.\n\n\n### Quick start ###\n-------------\n\nExample wih [koa](https://github.com/koajs/koa):\n\n```js\nvar app = require('koa')();\nvar r = require('rethinkdbdash')();\n\napp.use(function *(){\n    var result = yield r.table(\"foo\").get(\"bar\").run();\n\n    this.body = JSON.stringify(result);\n});\n\napp.listen(3000);\n```\n\nExample with [bluebird](https://github.com/petkaantonov/bluebird):\n\n```js\nvar Promise = require('bluebird');\nvar r = require('rethinkdbdash')();\n\nvar run = Promise.coroutine(function* () {\n    var result\n\n    try{\n        result = yield r.table(\"foo\").get(\"bar\").run();\n        console.log(JSON.stringify(result, null, 2));\n    }\n    catch(e) {\n        console.log(e);\n    }\n})();\n```\n\nNote: You have to start node with the `--harmony` flag.\n\n\n### Install ###\n-------------\n- Build node 0.11.10 (checkout `v0.11.10-release`) from source.  \nBinaries won't work with `node-protobuf` -- some libraries are not properly linked.\n- Install the `libprotobuf` binary and development files (required to build `node-protobuf` in the next step).\n- Install `rethinkdbdash-unstable` with `npm`.\n\n```\nnpm install rethinkdbdash-unstable\n```\n\n\n### Documentation ###\n-------------\nWhile rethinkdbdash uses almost the same syntax as the official driver, there are still\na few differences.\n\nThis section references all the differences. For all the other methods not\nmentionned here, please refer to the\n[official driver's documentation](http://www.rethinkdb.com/api/javascript/).\n\n\n\nThe differences are:\n\n#### Module name ####\n\nImport rethinkdbdash:\n```js\nvar r = require('rethinkdbdash')(options);\n```\n\n`options` can be:\n- `{pool: false}` -- if you do not want to use a connection pool.\n- the options for the connection pool, which can be:\n\n```js\n{\n    min: <number>, // minimum number of connections in the pool, default 50\n    max: <number>, // maximum number of connections in the pool, default 1000\n    bufferSize: <number>, // minimum number of connections available in the pool, default 50\n    timeoutError: <number>, // wait time before reconnecting in case of an error (in ms), default 1000\n    timeoutGb: <number>, // how long the pool keep a connection that hasn't been used (in ms), default 60*60*1000\n}\n```\n\n\n#### Promises ####\n\nRethinkdbdash returns a bluebird promise when a method in the official driver\ntakes a callback.\n\nExample 1 with `yield`:\n```js\ntry{\n    var cursor = yield r.table(\"foo\").run();\n    var result = yield cursor.toArray();\n    //process(result);\n}\nelse {\n    console.log(e.message);\n}\n```\n\nExample 2 with `yield`:\n```js\ntry{\n    var cursor = yield r.table(\"foo\").run();\n    var row;\n    while(cursor.hasNext()) {\n        row = yield cursor.next();\n        //process(row);\n    }\n}\nelse {\n    console.log(e.message);\n}\n```\n\nExample with `then` and `error`:\n```js\nr.table(\"foo\").run().then(function(connection) {\n    //...\n}).error(function(e) {\n    console.log(e.mssage)\n})\n```\n\n\n#### Connection pool ####\n\nRethinkdbdash implements a connection pool and is created by default.\n\nIf you do not want to use a connection pool, iniitialize rethinkdbdash with `{pool: false}` like that:\n```js\nvar r = require('rethinkdbdash')({pool: false});\n```\n\nYou can provide options for the connection pool with the following syntax:\n```js\nvar r = require('rethinkdbdash')({\n    min: <number>, // minimum number of connections in the pool, default 50\n    max: <number>, // maximum number of connections in the pool, default 1000\n    bufferSize: <number>, // minimum number of connections available in the pool, default 50\n    timeoutError: <number>, // wait time before reconnecting in case of an error (in ms), default 1000\n    timeoutGb: <number>, // how long the pool keep a connection that hasn't been used (in ms), default 60*60*1000\n});\n\ntry {\n    var cursor = yield r.table(\"foo\").run();\n    var result = yield cursor.toArray(); // The connection used in the cursor will be released when all the data will be retrieved\n}\ncatch(e) {\n    console.log(e.message);\n}\n```\n\nGet the number of connections\n```js\nr.getPool().getLength();\n```\n\nGet the number of available connections\n```js\nr.getPool().getAvailableLength();\n```\n\nDrain the pool\n```js\nr.getPool().drain();\n```\n\n\n__Note__: If a query returns a cursor, the connection will not be released as long as the\ncursor hasn't fetched everything or has been closed.\n\n\n\n\n#### Cursor ####\n\nRethinkdbdash does not extend `Array` with methods and returns a cursor as long as your\nresult is a sequence.\n\n```js\nvar cursor = yield r.expr([1, 2, 3]).run()\nconsole.log(JSON.stringify(cursor)) // does *not* print [1, 2, 3]\n\nvar result = yield cursor.toArray();\nconsole.log(JSON.stringify(result)) // print [1, 2, 3]\n```\n\n\n#### Errors ####\n- Better backtraces\n\nLong backtraces are split on multiple lines.  \nIn case the driver cannot parse the query, it provides a better location of the error.\n\n- Different handling for queries that cannot be parsed on the server.\n\nIn case an error occured because the server cannot parse the protobuf message, the\nofficial driver emits an `error` on the connection.  \nRethinkdbdash emits an error and rejects all queries running on this connection and\nclose the connection. This is the only way now to avoid having some part of your\nprogram hang forever.\n\n\n#### Miscellaneous ####\n\n\n- Maximum nesting depth\n\nThe maximum nesting depth is your documents is by default 100 (instead of 20).\nYou can change this setting with\n\n```js\nr.setNestingLevel(<number>)\n```\n\n- Performance\n\nThe tree representation of the query is built step by step and stored which avoid\nrecomputing it if the query is re-run.  \n`exprJSON`, internal method used by `insert`, is more efficient in the worst case.\n\n- Connection\n\nIf you do not wish to use rethinkdbdash connection pool, you can implement yours. The\nconnections created with rethinkdbdash emits a \"release\" event when they receive an\nerror, an atom, or the end (or full) sequence.\n\nA connection can also emit a \"timeout\" event if the underlying connection times out.\n\n### Run tests ###\n-------------\n\nUpdate `test/config.js` if your RethinkDB instance doesn't run on the default parameters.\n\nRun\n```\nmocha --harmony-generators\n```\n\n\nTests are also being run on [wercker](http://wercker.com/):\n- Builds: [https://app.wercker.com/#applications/52dffe8ba4acb3ef16010ef8/tab](https://app.wercker.com/#applications/52dffe8ba4acb3ef16010ef8/tab)\n- Box: \n  - Github: [https://github.com/neumino/box-rethinkdbdash](https://github.com/neumino/box-rethinkdbdash)\n  - Wercker builds: [https://app.wercker.com/#applications/52dffc65a4acb3ef16010b60/tab](https://app.wercker.com/#applications/52dffc65a4acb3ef16010b60/tab)\n\n\n### Roadmap ###\n============\n- Pre-serialize a query (not sure if possible though)\n","maintainers":[{"name":"neumino","email":"orphee@gmail.com"}],"time":{"modified":"2022-06-26T12:18:25.292Z","created":"2014-03-29T16:20:01.701Z","1.12.1":"2014-03-29T16:20:01.701Z","1.12.2":"2014-04-02T22:56:34.554Z","1.12.3":"2014-04-04T19:05:14.084Z","1.12.4":"2014-04-12T21:23:42.615Z","1.12.5":"2014-04-20T00:12:31.193Z","1.12.6":"2014-05-02T21:47:52.784Z","1.12.7":"2014-05-02T22:04:37.723Z","1.12.8":"2014-05-03T22:18:05.794Z","1.12.9":"2014-05-16T05:27:16.740Z","1.12.10":"2014-05-16T05:58:41.157Z","1.12.11":"2014-05-18T22:51:38.934Z","1.12.12":"2014-05-18T23:32:59.529Z","1.12.13":"2014-05-25T20:35:59.070Z"},"homepage":"https://github.com/neumino/rethinkdbdash","keywords":["rethinkdb","driver","nodejs"],"repository":{"type":"git","url":"git://github.com/neumino/rethinkdbdash"},"author":{"name":"Michel Tu","email":"orphee@gmail.com","url":"http://justonepixel.com/"},"bugs":{"url":"https://github.com/neumino/rethinkdbdash/issues"},"license":"MIT","readmeFilename":"README.md"}