{"id":49726,"url":"https://github.com/romuloalves/micro-get","last_synced_at":"2025-07-31T02:31:40.468Z","repository":{"id":236480873,"uuid":"792696186","full_name":"romuloalves/micro-get","owner":"romuloalves","description":"Package to filter GET HTTP request with zeit/micro","archived":false,"fork":false,"pushed_at":"2024-04-27T10:02:23.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-14T17:56:34.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/romuloalves.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}},"created_at":"2024-04-27T10:02:06.000Z","updated_at":"2024-04-27T10:02:27.000Z","dependencies_parsed_at":"2024-04-27T10:40:31.151Z","dependency_job_id":"6fcab363-33b8-4f84-84a5-583e9e4fc086","html_url":"https://github.com/romuloalves/micro-get","commit_stats":null,"previous_names":["romuloalves/micro-get"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romuloalves%2Fmicro-get","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romuloalves%2Fmicro-get/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romuloalves%2Fmicro-get/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romuloalves%2Fmicro-get/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romuloalves","download_url":"https://codeload.github.com/romuloalves/micro-get/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228209982,"owners_count":17885593,"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-01-05T21:38:13.166Z","updated_at":"2024-12-04T23:31:10.510Z","avatar_url":"https://github.com/romuloalves.png","language":"JavaScript","funding_links":[],"categories":["Modules"],"sub_categories":["HTTP Requests"],"readme":"# micro-get\n\n\u003e Package to filter GET HTTP requests with [micro](https://github.com/zeit/micro)\n\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n\n## Installation\n\nInstall using [npm](https://www.npmjs.com/):\n```\n$ npm install --save micro-get\n```\n\n## Usage\n\n```js\n'use strict'\n\nconst {send} = require('micro')\nconst get = require('micro-get')\n\n/*\n  - GET requests will execute the function\n  - Non-GET requests will return HTTP Code 405\n*/\nmodule.exports = get(async (req, res) =\u003e {\n  return send(res, 200, `It's a GET request!`)\n})\n```\n\n## License\n\nMIT License\n\nCopyright (c) 2016 Rômulo Alves\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 all\ncopies 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 THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromuloalves%2Fmicro-get","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromuloalves%2Fmicro-get","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromuloalves%2Fmicro-get/lists"}