{"id":18303550,"url":"https://github.com/sina-byn/express-rest-snippets","last_synced_at":"2026-04-09T02:31:21.320Z","repository":{"id":243904762,"uuid":"813277974","full_name":"sina-byn/express-rest-snippets","owner":"sina-byn","description":"a VS Code snippet extension to develop REST APIs with Express.js faster than ever","archived":false,"fork":false,"pushed_at":"2024-06-11T16:30:53.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T10:18:10.224Z","etag":null,"topics":["expressjs","extension","javascript","rest","rest-api","restful-api","typescript","vscode","vscode-extension","vscode-snippet","vscode-snippets","vscode-snippets-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=sina-byn.express-rest-snippets","language":null,"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/sina-byn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-06-10T20:20:10.000Z","updated_at":"2024-08-30T16:31:41.000Z","dependencies_parsed_at":"2024-06-12T00:48:19.394Z","dependency_job_id":"31495d3c-ccd8-4120-a525-ace58e004c3a","html_url":"https://github.com/sina-byn/express-rest-snippets","commit_stats":null,"previous_names":["sina-byn/express-rest-snippets"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sina-byn/express-rest-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sina-byn%2Fexpress-rest-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sina-byn%2Fexpress-rest-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sina-byn%2Fexpress-rest-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sina-byn%2Fexpress-rest-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sina-byn","download_url":"https://codeload.github.com/sina-byn/express-rest-snippets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sina-byn%2Fexpress-rest-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31582585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["expressjs","extension","javascript","rest","rest-api","restful-api","typescript","vscode","vscode-extension","vscode-snippet","vscode-snippets","vscode-snippets-extension"],"created_at":"2024-11-05T15:26:00.487Z","updated_at":"2026-04-09T02:31:21.296Z","avatar_url":"https://github.com/sina-byn.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express REST Snippets\n\n\u003e The source code for this extension is available at https://github.com/sina-byn/express-rest-snippets.\n\n## Example\n\nInitialize an express server with `exp` :\n\n```javascript\nconst express = require('express');\n\nconst app = express();\n\nconst port = process.env.PORT || 3000;\n\napp.listen(port, () =\u003e {\n  console.log(`Server running at http://localhost:${port}`);\n});\n```\n\n## Snippets\n\n| Snippet | Description                                   |\n| :------ | --------------------------------------------- |\n| `exp`   | initialize an express server                  |\n| `rtr`   | initialize an express router                  |\n| `mid`   | add an express middleware                     |\n| `rmid`  | add an express router middleware              |\n| `emid`  | add an express error middleware               |\n| `rt`    | add an express route                          |\n| `ctrl`  | add an express controller                     |\n| `res`   | add an express response expression            |\n| `sres`  | add an express success response expression    |\n| `eres`  | add an express error response expression      |\n| `ncres` | add an express no-content response expression |\n\n**Enjoy!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsina-byn%2Fexpress-rest-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsina-byn%2Fexpress-rest-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsina-byn%2Fexpress-rest-snippets/lists"}