{"id":14957506,"url":"https://github.com/expressjs/routification","last_synced_at":"2025-10-19T07:31:30.316Z","repository":{"id":12481708,"uuid":"15150981","full_name":"expressjs/routification","owner":"expressjs","description":"DEPRECATED","archived":false,"fork":false,"pushed_at":"2013-12-28T00:31:50.000Z","size":115,"stargazers_count":11,"open_issues_count":4,"forks_count":7,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-01-29T10:23:23.544Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/pillarjs/router","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/expressjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-13T00:14:06.000Z","updated_at":"2024-07-10T03:59:16.000Z","dependencies_parsed_at":"2022-09-23T07:41:17.958Z","dependency_job_id":null,"html_url":"https://github.com/expressjs/routification","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expressjs%2Froutification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expressjs%2Froutification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expressjs%2Froutification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expressjs%2Froutification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/expressjs","download_url":"https://codeload.github.com/expressjs/routification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088474,"owners_count":19253565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-09-24T13:15:00.213Z","updated_at":"2025-10-19T07:31:30.311Z","avatar_url":"https://github.com/expressjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!CAUTION]\n\u003e **This repository is archived and no longer actively maintained.**\n\u003e\n\u003e We are no longer accepting issues, feature requests, or pull requests.\n\u003e For additional support or questions, please visit the [Express.js Discussions page](https://github.com/expressjs/express/discussions).\n\n\n# Routification [![Build Status](https://travis-ci.org/expressjs/routification.png)](https://travis-ci.org/expressjs/routification)\n\nTurn any connect app into an Express-like router.\nIn the future, Express will be a Routification instance.\nUnlike Express 3.0, each route is its own middleware.\nYou will probably see a very insigificant performance drop,\nbut there's no more implicit `app.use(app.router)` you have to worry about.\n\nRoutification is built on [path-to-regexp](https://github.com/component/path-to-regexp).\nIf you have any issues with path matching,\nplease open an issue in that repository instead.\n\nRoutification assumes you've `npm install connect` yourself.\nIt does not rely on `connect` itself.\n\n## API\n\n### var app = routification([app], [options])\n\n`app` is an optional `connect` instance.\n`options` are passed to [path-to-regexp](https://github.com/component/path-to-regexp#pathtoregexppath-keys-options).\n\n```js\nvar routify = require('routification')\nvar app = routify()\nvar app = routify(connect())\nvar app = routify({\n  sensitive: true\n})\nvar app = routify(connect(), {\n  sensitive: true\n})\n```\n\n### app\\[VERB](path || regexp, middleware...)\n\nVerb can be any HTTP method supported by node.\n`delete` is also aliased as `del`.\nEach `middleware` should have a signature of `(req, res)` or `(req, res, next)`.\n\nNote: if the request method is `HEAD`,\nit will also match any `GET` routes as well.\nTo match `HEAD` and not `GET`,\ndo `app.head()` before any `app.get()`.\n\n### app.all(path || regexp, middleware...)\n\nWill match any request with the given path or regexp.\n\n### License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Jonathan Ong me@jongleberry.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpressjs%2Froutification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexpressjs%2Froutification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpressjs%2Froutification/lists"}