Skip to content
cisounPublic

About

A lightweight web server built on top of Node with zero dependencies and extensibility in mind.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

122 Commits

Folders and files

Repository files navigation

GitHub package.json version GitHub License

A lightweight web server built on top of Node.js with zero dependencies and extensibility in mind.

Usage

import nest from 'nest';
const app = nest();

app.use(async (req, res, next) => {
  console.log(`Requested: ${req.path}`);
  await next();
});

app.get('/api/hello', (req, res) => {
  res.code(200).json({message: 'Hello!'});
});

app.run('localhost', 3000);

Built-in features

Requirements

  • Node.js >=22.5.0

Installation

npm i https://github.com/cisoun/nest

License

Nest is distributed under GNU General Public License version 3. See LICENSE.

About

A lightweight web server built on top of Node with zero dependencies and extensibility in mind.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages