Skip to content

Instantly share code, notes, and snippets.

View roryfranklin's full-sized avatar

Rory Franklin roryfranklin

View GitHub Profile
@roryfranklin
roryfranklin / dump.node.js
Created June 12, 2012 11:06 — forked from natevw/dump.node.js
2couchbase2 - dump everything from CouchDB into Couchbase (via memcached interface)
var asy = require('async'),
mc = require('mc'),
f = require('fermata');
var DB = 'test';
var client = new mc.Client(),
source = f.json("http://localhost:5984")(DB);
var page = {limit:5};