Skip to content

msavela/midnight

Repository files navigation

Midnight Build and Test

Midnight is an open source web framework for node.js without external dependencies.

const midnight = require("midnight");
const app = midnight();

app.route("/", (req, res) => {
  res.send("Hello world!");
});

app.start();

Installation

npm i midnight

Typescript Support

Midnight provides first-class Typescript support with comprehensive type definitions. These types are automatically available when you install the package in a Typescript project.

Examples

Typescript Example

A basic example demonstrating how to use Midnight.js with Typescript is available in the examples/typescript directory.

To run the Typescript example:

cd examples/typescript
npm install
npm run start:dev

Documentation

See full documentation.

About

Web framework for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published