bare

The opposite of a framework

Stats

StarsIssuesVersionUpdatedCreatedSize
bare
010.0.28 years ago8 years agoMinified + gzip package size for bare in KB

Readme

bare

Make node.js frameworks scram - use bare

A bare example:

'use strict';
var bare = require('bare')
  , http = require('http');

bare.router.on('get', '/test', function(req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('test\n');
  console.log('test');
});

http.createServer(function(req, res) {
  bare.router.dispatch(req, res, console.log);
}).listen(8080);

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.