{"id":21703281,"url":"https://github.com/hacklone/coool-route-node","last_synced_at":"2026-04-29T16:39:08.066Z","repository":{"id":218213688,"uuid":"745860794","full_name":"Hacklone/coool-route-node","owner":"Hacklone","description":"Utilities for route nodes","archived":false,"fork":false,"pushed_at":"2024-02-27T15:00:00.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-29T10:20:28.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Hacklone.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}},"created_at":"2024-01-20T11:18:20.000Z","updated_at":"2024-01-20T11:29:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"daa77007-5cbf-4bcf-a17d-7045d11ba19e","html_url":"https://github.com/Hacklone/coool-route-node","commit_stats":null,"previous_names":["hacklone/coool-route-node"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacklone%2Fcoool-route-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacklone%2Fcoool-route-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacklone%2Fcoool-route-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacklone%2Fcoool-route-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hacklone","download_url":"https://codeload.github.com/Hacklone/coool-route-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244655837,"owners_count":20488632,"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-11-25T21:30:15.255Z","updated_at":"2026-04-29T16:39:07.991Z","avatar_url":"https://github.com/Hacklone.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @coool/route-node\n\nUtilities for easy route node definitions.\n\n## Install\n\n```shell script\n$ npm i --save @coool/route-node\n```\n\n## Usage \n\n### Define routes\n\n```typescript\nexport const RouteLocations = {\n  Home: new RouteNode('', {\n    queryParams: {\n      Stay: 'stay',\n    },\n  }),\n\n  Dashboard: new RouteNode('dashboard', {\n    Items: new RouteNode('items/:itemId', undefined, {\n      params: {\n        'itemId': 'itemId',\n      },\n    }),\n  }),\n};\n```\n\n### Use routes\n\n```typescript\n@Get(RouteLocations.Dashboard.children.Items)\npublic async getItems(\n  @Param(RouteLocations.Dashboard.children.Items.params.itemId) itemId: string,\n) {\n  // ...\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhacklone%2Fcoool-route-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhacklone%2Fcoool-route-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhacklone%2Fcoool-route-node/lists"}