Simple, lightweight and dependency-free NodeJS web application framework.
Sample
·
Report Bug
·
Request Feature
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.
Complete API documentation is available at lottojs.tech.
npm i @lottojs/lotto
Designed to be simple...
import { Lotto } from '@lottojs/lotto'
const app = new Lotto()
app.get('/ping', ({ res }) => res.text('pong.'))
app.init()
- 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.
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.
Distributed under the MIT License. See LICENSE
for more information.