Skip to content

Instantly share code, notes, and snippets.

@pacovell
pacovell / some-resource.js
Created August 26, 2011 20:28 — forked from indexzero/some-resource.js
An example of a possible "resource" API in node.js
var util = require('util'),
resourceLib = require('our-new-resource-lib');
var SomeResource = function (options) {
resourceLib.Resource.call(this, options);
//
// Setup any other application specific state.
//