Skip to content
/ lotto Public

Simple, lightweight and dependency-free NodeJS web application framework.

License

Notifications You must be signed in to change notification settings

lottojs/lotto

Repository files navigation

Contributors Forks Stargazers Issues MIT License NPM


Logo

@lottojs/lotto

Simple, lightweight and dependency-free NodeJS web application framework.

Sample · Report Bug · Request Feature

About The Project

Lorenzo Lotto was a Venetian painter who lived in the Serenissima Repubblica di Venezia and was one of the main exponents of the Venetian Renaissance of the early sixteenth century.

@lottojs/lotto is a simple, lightweight and dependency-free NodeJS web application framework, thought to help building apis on a quickly way due to the provision of built-in middlewares and helpers.

Documentation

Complete API documentation is available at lottojs.tech.

Getting Started

Installation

 npm i @lottojs/lotto

Usage

Designed to be simple...

    import { Lotto } from '@lottojs/lotto'

    const app = new Lotto()

    app.get('/ping', ({ res }) => res.text('pong.'))

    app.init()

Features

  • Fast 🚀 - Router based on RegExp.
  • Lightweight 🪶 - Lotto has zero external dependencies and uses only the node:http api.
  • Built-in 📦 - Lotto has built-in middlewares (@lottojs/body-parser and @lottojs/params-parser), built-in helpers and supports custom middlewares.
  • Route Nesting 🪹 - Give power to your application using the Router class.

Contributing

All forms of contributions are more than welcome! You can contribute in the following ways:

  • Create an Issue
  • Create a Pull Request
  • Create third-party middlewares
  • Share with your friends
  • Make your application with Lotto.

For more details, see Contribution Guide.

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

About

Simple, lightweight and dependency-free NodeJS web application framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published