Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 567 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 567 Bytes

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