Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Vinny vad710

🎯
Focusing
View GitHub Profile
@vad710
vad710 / loader.js
Created Oct 22, 2015 — forked from cyu/loader.js
Load view/update functions from .js files and loads them to CouchDB.
View loader.js
/**
* 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');