Run npm install --save cottage in your project directory.
npm install --save cottage
'use strict'; // unnecessary in Node v6 const cottage = require('cottage'); const app = cottage(); app.get('/', function*(req, res) { return "Hello, world!"; }); app.listen(8080);
There was an error while loading. Please reload this page.