{"id":17403045,"url":"https://github.com/thlorenz/render-routes","last_synced_at":"2025-03-29T20:14:00.261Z","repository":{"id":9937939,"uuid":"11953610","full_name":"thlorenz/render-routes","owner":"thlorenz","description":"Give it a routes object and it spits out html that you can load into your browser.","archived":false,"fork":false,"pushed_at":"2013-08-07T19:40:47.000Z","size":200,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T12:16:55.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/thlorenz.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}},"created_at":"2013-08-07T15:37:43.000Z","updated_at":"2016-02-06T22:19:49.000Z","dependencies_parsed_at":"2022-09-13T14:50:15.741Z","dependency_job_id":null,"html_url":"https://github.com/thlorenz/render-routes","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thlorenz%2Frender-routes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thlorenz%2Frender-routes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thlorenz%2Frender-routes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thlorenz%2Frender-routes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thlorenz","download_url":"https://codeload.github.com/thlorenz/render-routes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246237436,"owners_count":20745348,"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-10-16T18:48:49.194Z","updated_at":"2025-03-29T20:14:00.226Z","avatar_url":"https://github.com/thlorenz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# render-routes [![build status](https://secure.travis-ci.org/thlorenz/render-routes.png)](http://travis-ci.org/thlorenz/render-routes)\n\nGive it a routes object and it spits out html that you can load into your browser.\n\n```js\nvar renderRoutes = require('render-routes');\nvar express = require('express');\nvar app = express();\n\napp.get('/routes', function (req, res) {\n  res.send(renderRoutes(app.routes));\n});\n```\n\n![screenshot](https://github.com/thlorenz/render-routes/raw/master/assets/screenshot.png)\n\n## Installation\n\n    npm install render-routes\n\n## API\n\n```\n/**\n * Takes a routes hash and returns html to be displayed in your browser.\n *\n * @name exports\n * @function\n * @param allRoutes {Object} i.e. { get: [ { path: '/foo' }, { path: '/bar' } ], post: [ { '/foo' } ] }\n * @return {String} html rendition of your routes\n */\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthlorenz%2Frender-routes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthlorenz%2Frender-routes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthlorenz%2Frender-routes/lists"}