{"id":21377217,"url":"https://github.com/softchef/softchef-utility","last_synced_at":"2025-03-16T09:44:36.662Z","repository":{"id":48931978,"uuid":"237920291","full_name":"SoftChef/softchef-utility","owner":"SoftChef","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-05T05:21:59.000Z","size":1658,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T16:53:56.665Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SoftChef.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":"2020-02-03T08:42:37.000Z","updated_at":"2021-07-05T05:22:02.000Z","dependencies_parsed_at":"2022-09-13T04:01:01.384Z","dependency_job_id":null,"html_url":"https://github.com/SoftChef/softchef-utility","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Fsoftchef-utility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Fsoftchef-utility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Fsoftchef-utility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftChef%2Fsoftchef-utility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoftChef","download_url":"https://codeload.github.com/SoftChef/softchef-utility/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852432,"owners_count":20358270,"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-22T09:19:36.440Z","updated_at":"2025-03-16T09:44:36.630Z","avatar_url":"https://github.com/SoftChef.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Request\n\n```\nconst request = new Request(event)\n```\n\nMethods:\n\n```\nrequest.parameter(key)\n// Get URL path paramter, ex: /Users/{username}, request.parameter('username')\n\nrequest.get(key, defaultValue)\n// Get query string, ex: ?filter=hello, request.get('filter', null)\n\nrequest.input(key, defaultValue)\n// Get post field data, ex: name=Josh, request.input('name', 'Who')\n\nrequest.inputs(keys)\n// Get post mulitple fields data, ex: name=Josh\u0026enabled=true, request.inputs(['name', 'enabled'])\n\nrequest.validate(keysProvider)\n// Validate input data, keysProvider is an callback, keysProvider(joi) please return a Joi rules\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftchef%2Fsoftchef-utility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftchef%2Fsoftchef-utility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftchef%2Fsoftchef-utility/lists"}