Skip to content

Instantly share code, notes, and snippets.

View vad710's full-sized avatar
🎯
Focusing

Vinny vad710

🎯
Focusing
View GitHub Profile
@vad710
vad710 / loader.js
Created October 22, 2015 15:11 — forked from cyu/loader.js
Load view/update functions from .js files and loads them to CouchDB.
/**
* Script to Load Views into Database
* Originaly from: http://blog.sourcebender.com/2010/07/28/loading-couchdb-views.html
*/
var fs = require('fs');
var http = require('http');
var path = require('path');
var console = require('sys');
var url = require('url');