kequapp
TypeScript icon, indicating that this package has built-in type declarations

0.8.1 • Public • Published

kequapp

Non-intrusive Node JavaScript web application framework

\ `hek-yü-ap \

Introduction

Kequapp is a framework designed to leverage Node's built-in features while staying out of your way. It can be used to create performant api's, html pages, and anything you can think of. Kequapp provides a robust and flexible foundation to build your web applications with ease.

Documentation

For detailed documentation, guides, and more examples, please visit the official documentation website.

Upgrading

0.7.0 -> 0.8.0

Handles are now called actions. Replace all instances of "handle" with "action", "createHandle" with "createAction".

Installation

npm install kequapp

Hello World Example

Here's a simple example to get you started with Kequapp.

import { createServer } from 'http';
import { createApp } from 'kequapp';

const app = createApp({
    routes: [
        {
            method: 'GET',
            url: '/',
            actions: [() => 'Hello world!'],
        },
    ],
});

createServer(app).listen(4000, () => {
    console.log('Server running at http://localhost:4000');
});

Contributing

Contributions welcome! If you have any questions, need further assistance, or want to contribute, please visit our GitHub page.

License

Kequapp is licensed under the ISC license.

Package Sidebar

Install

npm i kequapp

Weekly Downloads

6

Version

0.8.1

License

ISC

Unpacked Size

89.5 kB

Total Files

65

Last publish

Collaborators

  • kequc