Sha256: 8529b004f22eb479a465dc591a512708afc6f70f18068efbd53f29afe0815fa4

Contents?: true

Size: 238 Bytes

Versions: 7

Compression:

Stored size: 238 Bytes

Contents

var http = require('http');
var ecstatic = require('ecstatic')(__dirname);
var fs = require('fs');

var server = http.createServer(function (req, res) {
    ecstatic(req, res);
});

console.log('Listening on :8088');
server.listen(8088);

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
snowball-0.1.22 node_modules/browserify/node_modules/http-browserify/example/json-stream/server.js
sprockets-browserify-0.3.0 node_modules/browserify/node_modules/http-browserify/example/json-stream/server.js
sprockets-browserify-0.2.0 node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/server.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/server.js
ruby-wisp-source-0.7.0 vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/server.js
sprockets-browserify-0.1.2 node_modules/browserify/node_modules/http-browserify/example/json-stream/server.js
sprockets-browserify-0.1.0 node_modules/browserify/node_modules/http-browserify/example/json-stream/server.js