{"id":29785623,"url":"https://github.com/tagaryen/jsarchernet","last_synced_at":"2025-07-27T17:13:28.602Z","repository":{"id":306391929,"uuid":"1020113813","full_name":"tagaryen/jsarchernet","owner":"tagaryen","description":"network framework. http(s) server and client. supports openssl 1.3 (gmssl)","archived":false,"fork":false,"pushed_at":"2025-07-25T08:21:22.000Z","size":8738,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-25T13:00:02.211Z","etag":null,"topics":["encrypt-cer","gmssl","http","https","network","openssl"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tagaryen.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":"2025-07-15T11:07:35.000Z","updated_at":"2025-07-25T08:23:29.000Z","dependencies_parsed_at":"2025-07-25T13:10:34.166Z","dependency_job_id":null,"html_url":"https://github.com/tagaryen/jsarchernet","commit_stats":null,"previous_names":["tagaryen/jsarchernet"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tagaryen/jsarchernet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tagaryen%2Fjsarchernet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tagaryen%2Fjsarchernet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tagaryen%2Fjsarchernet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tagaryen%2Fjsarchernet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tagaryen","download_url":"https://codeload.github.com/tagaryen/jsarchernet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tagaryen%2Fjsarchernet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267392562,"owners_count":24079919,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"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":["encrypt-cer","gmssl","http","https","network","openssl"],"created_at":"2025-07-27T17:13:23.346Z","updated_at":"2025-07-27T17:13:28.594Z","avatar_url":"https://github.com/tagaryen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsarchernet  \nnetwork framework. http(s) server and client, support openssl 1.3(gmssl)  \n\n## install \nnpm install jsarchernet  \n\n## examples  \nhttp client  \n``` js\nconst {http, HttpError} = require('jsarchernet')\n\nlet res = http.request(\"https://www.zhihu.com\", \n    {\n        method: \"GET\",\n        headers: {\"User-Token\": \"17c858a9d7574fc78f6dc5b404a20d88\"}\n    });\n\nconsole.log(res.statusCode)\nconsole.log(res.body.toString('utf-8'))\n```\nhttp server\n``` js\nconst {http, HttpError} = require('jsarchernet')\n\nhttp.createHttpServer(\"127.0.0.1\", 9607, 0, (req, res) =\u003e {\n    console.log(req.body.toString('utf-8'));\n    res.setBody('{\"nihao\":\"hello\"}');\n}, (err) =\u003e {\n    console.error(err);\n})\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftagaryen%2Fjsarchernet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftagaryen%2Fjsarchernet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftagaryen%2Fjsarchernet/lists"}