This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Launch this server and hit it with your browser. | |
// In the console you'll see: | |
// | |
// Has domain before level: true | |
// Has domain after level: false | |
var domain = require('domain'); | |
var restify = require('restify'); | |
var level = require('level'); | |
var db = level('./testdb'); |