{"id":27135376,"url":"https://github.com/islomkhodja/ownserver","last_synced_at":"2025-07-14T09:17:12.550Z","repository":{"id":181980179,"uuid":"128209494","full_name":"islomkhodja/ownserver","owner":"islomkhodja","description":"micro web framework.","archived":false,"fork":false,"pushed_at":"2024-12-06T04:18:48.000Z","size":41,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T01:01:40.558Z","etag":null,"topics":["http","microframework","nodejs","ownserver","unicon"],"latest_commit_sha":null,"homepage":"","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/islomkhodja.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,"governance":null}},"created_at":"2018-04-05T13:22:25.000Z","updated_at":"2020-03-16T07:37:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"98c37b71-b282-427f-b4c0-3407cb119f82","html_url":"https://github.com/islomkhodja/ownserver","commit_stats":null,"previous_names":["islomkhodja/ownserver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/islomkhodja%2Fownserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/islomkhodja%2Fownserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/islomkhodja%2Fownserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/islomkhodja%2Fownserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/islomkhodja","download_url":"https://codeload.github.com/islomkhodja/ownserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/islomkhodja%2Fownserver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259085305,"owners_count":22803176,"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":["http","microframework","nodejs","ownserver","unicon"],"created_at":"2025-04-08T01:01:44.055Z","updated_at":"2025-06-10T13:33:36.377Z","avatar_url":"https://github.com/islomkhodja.png","language":"JavaScript","readme":"# ownserver\n\n\n```javascript\nconst http = require('http');\nconst finalhandler = require('finalhandler');\nconst Server = require('../');\nconst server = new Server();\n\nserver.setRoute('/', {\n  method: \"GET\",\n  handler: (req, res) =\u003e {\n    res.end('This is main page')\n  },\n})\n\nserver.setRoute('/:1/:2', {\n  method: \"GET\",\n  handler: (args, req, res, err) =\u003e {\n    res.end('This is main page', args[1], args[2]);\n  }\n}, {\n  method: \"POST\",\n  handler: (args, req, res, err) =\u003e {\n    res.end(\"this is sparta!!\");  \n  }\n});\n\nhttp.createServer(function(req, res) {\n  server(req, res, finalhandler(req, res))\n}).listen(3000);\n\n```\n\nexample papkasida ham bor..\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fislomkhodja%2Fownserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fislomkhodja%2Fownserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fislomkhodja%2Fownserver/lists"}