{"id":23488441,"url":"https://github.com/onesy-me/request","last_synced_at":"2026-02-18T15:32:19.034Z","repository":{"id":44306817,"uuid":"455232823","full_name":"onesy-me/request","owner":"onesy-me","description":"Request","archived":false,"fork":false,"pushed_at":"2025-02-27T18:38:54.000Z","size":602,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-25T19:23:43.803Z","etag":null,"topics":["amaui","back-end","backend","browser","front-end","frontend","http","https","javascript","js","node","nodejs","request","requests","typescript","utils","web"],"latest_commit_sha":null,"homepage":"https://docs.onesy.me/library/request","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/onesy-me.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,"zenodo":null}},"created_at":"2022-02-03T16:05:52.000Z","updated_at":"2025-02-27T18:38:58.000Z","dependencies_parsed_at":"2025-01-06T09:41:47.812Z","dependency_job_id":"68b23d59-d919-4563-bb68-11d093f4b80b","html_url":"https://github.com/onesy-me/request","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"2b02e64bc15febfa5d81d18df2c9c0fdabc3346b"},"previous_names":["onesy-me/amaui-request","amaui-org/amaui-request"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/onesy-me/request","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Frequest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Frequest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Frequest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Frequest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onesy-me","download_url":"https://codeload.github.com/onesy-me/request/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onesy-me%2Frequest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29583918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T13:56:48.962Z","status":"ssl_error","status_checked_at":"2026-02-18T13:54:34.145Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["amaui","back-end","backend","browser","front-end","frontend","http","https","javascript","js","node","nodejs","request","requests","typescript","utils","web"],"created_at":"2024-12-24T23:11:29.272Z","updated_at":"2026-02-18T15:32:19.029Z","avatar_url":"https://github.com/onesy-me.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003c/br\u003e\n\u003c/br\u003e\n\n\u003cp align='center'\u003e\n  \u003ca target='_blank' rel='noopener noreferrer' href='#'\u003e\n    \u003cimg width='auto' height='84' src='https://raw.githubusercontent.com/onesy-me/onesy/refs/heads/main/utils/images/logo.png' alt='onesy logo' /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align='center'\u003eonesy Request\u003c/h1\u003e\n\n\u003ch3 align='center'\u003e\n  \u003csub\u003eMIT license\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eProduction ready\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eUMD 18.1kb gzipped\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003e100% test cov\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n  \u003csub\u003eBrowser and Nodejs\u003c/sub\u003e\n\u003c/h3\u003e\n\n\u003cp align='center'\u003e\n    \u003csub\u003eVery simple code\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eModern code\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eJunior friendly\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eTypescript\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/sub\u003e\n    \u003csub\u003eMade with :yellow_heart:\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n### Add\n\n```sh\nyarn add @onesy/request\n```\n\n### Use\n\n```javascript\n  import OnesyRequest from '@onesy/request';\n\n  // Make a new OnesyRequest instance\n  const onesyRequest = new OnesyRequest();\n\n  await onesyRequest.get('https://jsonplaceholder.typicode.com/posts/4');\n\n  // or as a static method without a new instance\n  await OnesyRequest.get('https://jsonplaceholder.typicode.com/posts/4');\n\n  // {\n  //     response: {\n  //         userId: 1,\n  //         id: 4,\n  //         title: 'eum et est occaecati',\n  //         body: 'ullam et saepe reiciendis voluptatem adipisci\\nsit amet autem assumenda provident rerum culpa\\nquis hic commodi nesciunt rem tenetur doloremque ipsam iure\\nquis sunt voluptatem rerum illo velit'\n  //     },\n  //     status: 200,\n  //     headers: {\n  //         cache-control: 'max-age=43200',\n  //         content-type: 'application/json; charset=utf-8',\n  //         expires: -1,\n  //         pragma: 'no-cache'\n  //     },\n  //     request: {\n  //         headers: {\n  //             Accept: 'application/json, text/plain, */*'\n  //         }\n  //     },\n  //     options: {\n  //         method: 'GET',\n  //         url: 'https://jsonplaceholder.typicode.com/posts/4',\n  //         request: {\n  //             headers: {\n  //                 Accept: 'application/json, text/plain, */*'\n  //             },\n  //             csrf: {\n  //                 cookie: 'CSRF-TOKEN',\n  //                 headers: 'X-CSRF-TOKEN'\n  //             }\n  //         },\n  //         response: {\n  //             resolveOnError: true,\n  //             type: 'json',\n  //             parse: {\n  //                 json: true\n  //             }\n  //         }\n  //     }\n  // }\n```\n\n### Dev\n\nInstall\n\n```sh\nyarn\n```\n\nTest\n\n```sh\nyarn test\n```\n\n### Prod\n\nBuild\n\n```sh\nyarn build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesy-me%2Frequest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonesy-me%2Frequest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesy-me%2Frequest/lists"}