nanoexpress
GitHubKnown BugsFAQ
  • Getting Started
  • Server
  • Middlewares
  • Routes
    • Static Serve
    • Request
    • Response
    • Route
    • Errors handling
  • Schemas
  • WebSocket
  • Docker / Linux
  • Optimizations
  • Benchmarks
  • Known bugs
  • Sponsors
  • FAQ
  • License
Powered by GitBook
On this page
  • Coming updates and latest news at here
  • Features
  • Installation

Was this helpful?

Getting Started

Thanks for choosing nanoexpress!

NextServer

Last updated 9 months ago

Was this helpful?

We are on and ! Please check it out

Coming updates and latest news at

Features

  • Express-compatible middleware* layer

  • Express-like API

  • In-built async support without any of HttpResponse instance*

  • In-built WebSocket support

  • In-built Stream support

Code is provided as-is, do not expect or demand free support, warranty or debugging

Installation

You can install

$ npm i nanoexpress
# or
$ yarn add nanoexpress
  • This library does not support HTTP2!

As soon as you have installed the right package, let's create the first server

import nanoexpress from 'nanoexpress';

const app = nanoexpress();

app.get('/', (req, res) => {
    return res.send({ status: 'ok' });
});

app.listen(3000);

Using app.listen(PORT, '0.0.0.0') is recommended to use for Docker, Heroku and AWS

than most Node.js backend frameworks

* schema validator support

* serialization support

* support

Faster
Ajv
fast-json-stringify
Swagger
ProductHunt
StackShare
here
Nano-framework for Node.js powered