Nocturnal Parakeet Monitor

    kado

    4.4.0 • Public • Published

    Kado

    pipeline status Build Status

    npm install kado
    

    Collection of JavaScript Framework Libraries for Node.js

    Quick Hello Server

    Place the following code into an empty JavaScript file, example: app.js.

    'use strict'
    // import kado
    const kado = require('kado')
    // create application
    const app = kado.getInstance()
    // create a webserver
    const http = new kado.HyperText.HyperTextServer()
    // register the webserver
    app.http.addEngine('http', http.createServer(app.router))
    // register a route
    app.get('/', (req, res) => { res.end('Hello') })
    // start the application and listen
    app.start().then(() => app.listen())

    After saving the file, execute the code by running the following command from the same folder as the JavaScript file.

    node app
    

    Once the command has executed, a web server that says "Hello" will be available on port 3000 of your local machine, example: http://localhost:3000.

    See kado.org to go further.

    Features

    • Single Node.js Module
    • Compatible with Node.js 10 and above.
    • Contains 51 libraries that cover a majority of coding tasks.
    • Use libraries as needed and keep the code light.
    • Consistent stable code that rarely changes.
    • Complete reference documentation.
    • Easy to learn, familiar, inspired by popular modules.
    • Ready for continuous integration.

    Documentation

    Visit kado.org

    Kado Library List

    See the Kado Library List

    Questions or Problems?

    Please see our bug tracker

    Change Log

    Please see the CHANGELOG

    Contributing

    Please see the Contribution Guidelines

    License

    Kado Copyright (C) 2013-2022 Bryan Tong, NULLIVEX LLC. All rights reserved. Kado is licensed under the Lesser GNU Public License version 3.0 or newer see LICENSE for a complete copy of applicable license

    Install

    npm i kado

    Homepage

    kado.org

    DownloadsWeekly Downloads

    54

    Version

    4.4.0

    License

    LGPL-3.0

    Unpacked Size

    1.26 MB

    Total Files

    234

    Last publish

    Collaborators

    • nullivex