New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

midnight

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

midnight

Web framework for building modern web applications

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

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.

Keywords

midnight

FAQs

Package last updated on 27 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts