1.0.0 • Published 8 years ago

itsjoekent-server v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

itsjoekent-server

Quickly spin-up an express server.

Usage

const server = require('itsjoekent-server');

const app = server
  .makeApp()
  .public('/public', path.join(__dirname, 'public'))
  .gzip('/public/dist/', true)
  .spa(`${__dirname}/template.html`)
  .listen()
  .app;

Installation

$ npm install itsjoekent-server

Apart of itsjoekent/packages

Very opinionated ™️ suite of NPM packages I use to quickly build cool shit. https://github.com/itsjoekent/packages

License

MIT