{"id":19427011,"url":"https://github.com/frolleks/pathless","last_synced_at":"2026-01-19T02:01:13.276Z","repository":{"id":257052129,"uuid":"857195942","full_name":"frolleks/pathless","owner":"frolleks","description":"A lightweight, flexible routing library for JavaScript.","archived":false,"fork":false,"pushed_at":"2024-09-28T02:07:59.000Z","size":1826,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-01T20:59:16.886Z","etag":null,"topics":["http","pathless"],"latest_commit_sha":null,"homepage":"","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/frolleks.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,"zenodo":null}},"created_at":"2024-09-14T02:51:35.000Z","updated_at":"2024-09-28T07:38:30.000Z","dependencies_parsed_at":"2024-09-14T15:58:12.391Z","dependency_job_id":"0b992c0a-5266-4c3c-90df-1e67a4584a20","html_url":"https://github.com/frolleks/pathless","commit_stats":null,"previous_names":["frolleks/http-lib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frolleks/pathless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frolleks%2Fpathless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frolleks%2Fpathless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frolleks%2Fpathless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frolleks%2Fpathless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frolleks","download_url":"https://codeload.github.com/frolleks/pathless/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frolleks%2Fpathless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28557783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T00:46:33.223Z","status":"online","status_checked_at":"2026-01-19T02:00:08.049Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["http","pathless"],"created_at":"2024-11-10T14:10:00.589Z","updated_at":"2026-01-19T02:01:13.257Z","avatar_url":"https://github.com/frolleks.png","language":"TypeScript","readme":"# Pathless\n\nA lightweight, flexible routing library for JavaScript. Designed for simplicity, Pathless provides an intuitive API for handling HTTP requests and organizing your routes.\n\n```js\n// CJS\nconst pathless = require(\"pathless\");\n// ESM\nimport pathless from \"pathless\";\n\nconst app = pathless();\n\napp.get(\"/\", (req, res) =\u003e res.send(\"Hello world!\"));\n\napp.listen(3000, () =\u003e console.log(\"Server is listening on port 3000\"));\n```\n\n## Features\n\n- **Flexible Routing**: Easily define routes for various HTTP methods, including support for dynamic and wildcard routes.\n- **Middleware Support**: Add global or route-specific middleware to handle tasks like authentication, logging, and more.\n- **Modular Routers**: Organize your application into reusable routers for better scalability and maintainability.\n\n## Quick Start\n\n```bash\n$ npm i pathless@latest\n$ yarn add pathless@latest\n$ pnpm i pathless@latest\n```\n\n## Comparison with other frameworks\n\n| Stat        | Framework | 1%     | 2.5%   | 50%    | 97.5%  | Avg       | Stdev    | Min    |\n| ----------- | --------- | ------ | ------ | ------ | ------ | --------- | -------- | ------ |\n| **Req/Sec** | Pathless  | 27,215 | 27,215 | 32,447 | 33,983 | 31,973.82 | 1,827.87 | 27,214 |\n|             | Express   | 6,451  | 6,451  | 8,279  | 8,495  | 8,023.82  | 609.14   | 6,451  |\n|             | Hono      | 28,079 | 28,079 | 34,399 | 35,327 | 33,888.73 | 1,882.39 | 28,065 |\n\n(from [frolleks/nodejs-http-framework-benchmark](https://github.com/frolleks/nodejs-http-framework-benchmark))\n\n## Documentation\n\nVisit the [repository's Wiki](https://github.com/frolleks/pathless/wiki).\n\n## License\n\nMIT License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrolleks%2Fpathless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrolleks%2Fpathless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrolleks%2Fpathless/lists"}