naff-server

0.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i naff-server

Weekly Downloads

0

Version

0.1.0

License

none

Last publish

Collaborators

  • kaheglar