UNPKG

node-sitefile

Version:

Bootstrap Express webserver for misc. resources using Sitefile

18 lines (15 loc) 313 B
(function(exports) { "use strict"; function Cow(name) { this.name = name || "Anon cow"; } exports.Cow = Cow; Cow.prototype = { greets: function(target) { if (!target) { throw new Error("missing target"); } return this.name + " greets " + target; } }; })(this);