{"id":15305480,"url":"https://github.com/alenvelocity/wyndon","last_synced_at":"2026-03-02T10:31:36.514Z","repository":{"id":42632971,"uuid":"382859011","full_name":"AlenVelocity/wyndon","owner":"AlenVelocity","description":"Modern Minimalist Middleware Framework","archived":false,"fork":false,"pushed_at":"2023-03-06T05:40:57.000Z","size":289,"stargazers_count":9,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T00:52:58.609Z","etag":null,"topics":["backend","middleware","node","server","typescript"],"latest_commit_sha":null,"homepage":"https://alensaito1.github.io/wyndon/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlenVelocity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-04T13:29:25.000Z","updated_at":"2022-12-15T12:09:04.000Z","dependencies_parsed_at":"2024-10-01T08:00:47.975Z","dependency_job_id":null,"html_url":"https://github.com/AlenVelocity/wyndon","commit_stats":null,"previous_names":["alensaito1/wyndon"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlenVelocity/wyndon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlenVelocity%2Fwyndon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlenVelocity%2Fwyndon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlenVelocity%2Fwyndon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlenVelocity%2Fwyndon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlenVelocity","download_url":"https://codeload.github.com/AlenVelocity/wyndon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlenVelocity%2Fwyndon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29998513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","middleware","node","server","typescript"],"created_at":"2024-10-01T08:00:40.183Z","updated_at":"2026-03-02T10:31:36.475Z","avatar_url":"https://github.com/AlenVelocity.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wyndon \n\n## Minimalist Middleware Framework\n\n[![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)](https://www.typescriptlang.org/) [![NodeJs](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge\u0026logo=node.js\u0026logoColor=white)](https://nodejs.org/en/) [![z](https://img.shields.io/npm/dw/wyndon?style=for-the-badge\u0026logoColor=white)](https://www.npmjs.com/package/wyndon)\n\n[![Wyndon](https://nodei.co/npm/wyndon.png)](https://www.npmjs.com/package/wyndon)\n\nWydon is a Modern Middleware Framework for creating HTTP servers which supports _middleware_\n\n## Why?\nWhy not?\n# Installation\n```sh\n\u003e npm i wyndon\n```\n# Usage\nThe following code shows the procedure to create a simple Server and binding it to a PORT\n```TS\nimport { App } from 'wyndon'\n// or const { App } = require('wyndon')\n\n// Initialize App\nconst app = new App()\n// Add your middleware\napp.use((req, res, next) =\u003e {\n    // Do stuff like logging and auth here\n    next()\n})\n\napp.use('/', (req, res) =\u003e {\n    // Write code\n    res.end('This is a cool response')\n})\n\napp.use('/hi', (req, res) =\u003e {\n    res.end('Hi. Cool endpoint, right?')\n})\n\n\n// Bind the App to a PORT\napp.listen(process.env.PORT || 5000)\n\n//Pofit!\n```\n\n## Routing\n\n If you want advanced routing, you can use the `Router` class\n\n```TS\nimport { App, Router } from 'wyndon'\n\nconst app = new App()\n\n\n// Every method returns the modified instance. So you can chain methods\nconst coolRouter = new Router()\n    .use('/test', (req, res) =\u003e res.end('Working'))\n    .use('/json', (req, res) =\u003e res.json({ key: 'value'}))\n    .use((req, res) =\u003e 'Welcome to /route')\n\napp.use('/route', coolRouter)\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falenvelocity%2Fwyndon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falenvelocity%2Fwyndon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falenvelocity%2Fwyndon/lists"}