0.3.3 • Published 3 years ago

maritime v0.3.3

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago
const Maritime = require("maritime");
const app = new Maritime();
const router = new Maritime.router();

router.get("*", data => {
  data.res.send("Hello World!");
});

app.mount(router);
app.listen(3000);

Getting Started

  • Maritime Examples - A set of applications written in Maritime to show various functionalities.

Features

  • 🚌 In-built routing - integrated, clean router system.
  • Dynamic routing engines - Use different routing engines to support the route syntax you want.
  • 🔥 View engines - supports rendering templates of multiple types including EJS, Pug and Handlebars.
  • ⚡️ Modern, semantic asynchronous middleware.
  • 🔧 HTTP helper methods - helper methods are included to assist you with common HTTP tasks such as redirects, sending data and downloading files to the client.
  • 📕 Extensive, in-built middleware such as a body parser, static file server, method override and a cookie parser to help you get your app off the ground even faster.
  • 🔒 One-command HTTPS server - Quickly and easily create HTTPS servers through app.listen().

Installation

Maritime requires Node v7.6.0 or higher for async and promise functionality.

$ npm i maritime

Credit

Author: Tom

This repository utilises code from other open-source projects, including NPM dependencies and some code from other open-source projects such as Express and Koa. Thanks to the contributors to those projects and the wider open source ecosystem.

License

MIT

0.3.3

3 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

1.0.0

4 years ago

0.0.3

4 years ago

0.0.1

4 years ago

0.0.2

4 years ago

0.0.0-unfinished

4 years ago