use leveldb as a static file server
use leveldb as a static file server.
var static = require'level-static'var http = require'http'var levelup = require'levelup'var db = levelup'/tmp/level-static'httpcreateServerstaticdblisten8000
index.html if you give a path that ends in a
sets mime type and content length.
Of course, can also be used with sublevel
and as an express middleware.