0.1.0 • Published 12 years ago

naff-server v0.1.0

Weekly downloads
3
License
-
Repository
github
Last release
12 years ago

naff-server

Server for NaFF.

Getting Started

Install the module with: npm install naff-server

var app = require('naff-server')
app.listen(3000)

Documentation

(Coming soon)

Examples

Basic

var app = require('naff-server')
app.listen(3000)

HTTPS

var https = require('https')
  , app = require('naff-server')
  , port = app.get('port')

var server = https.createServer(app).listen(port, function() {
  console.log("NaFF server listening on port " + port)
})

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

0.1.0 - Inital release

License

Copyright (c) 2012 Stephen Smyth
Licensed under the MIT license.

0.1.0

12 years ago