We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Run npm install --save cottage in your project directory.
npm install --save cottage
Here are some basic Hello, world! example:
'use strict'; // unnecessary in Node v6 const cottage = require('cottage'); const app = cottage(); app.get('/', function*(req, res) { return "Hello, world!"; }); app.listen(8080);