{"id":13464911,"url":"https://github.com/prahladyeri/http-live-simulator","last_synced_at":"2025-04-05T09:31:48.331Z","repository":{"id":57148335,"uuid":"139453256","full_name":"prahladyeri/http-live-simulator","owner":"prahladyeri","description":"A simple HTTP Server that serves with random delay for live simulation","archived":false,"fork":false,"pushed_at":"2020-10-01T02:27:31.000Z","size":11,"stargazers_count":58,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-21T02:21:58.422Z","etag":null,"topics":["http-server","javascript"],"latest_commit_sha":null,"homepage":"https://github.com/prahladyeri/http-live-simulator","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/prahladyeri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-02T14:17:38.000Z","updated_at":"2024-05-31T08:04:44.000Z","dependencies_parsed_at":"2022-08-31T19:52:57.842Z","dependency_job_id":null,"html_url":"https://github.com/prahladyeri/http-live-simulator","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/prahladyeri%2Fhttp-live-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prahladyeri%2Fhttp-live-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prahladyeri%2Fhttp-live-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prahladyeri%2Fhttp-live-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prahladyeri","download_url":"https://codeload.github.com/prahladyeri/http-live-simulator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318295,"owners_count":20919457,"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-server","javascript"],"created_at":"2024-07-31T14:00:52.635Z","updated_at":"2025-04-05T09:31:46.293Z","avatar_url":"https://github.com/prahladyeri.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# HTTP Live Simulator\n\n`http-live-simulator` is a simple http file server for local development written in Node.JS. It is similar, for instance, to python's `http.server` module or node's `http-server`, but with one major difference: It adds a random time delay of 200-500 milliseconds before serving each request in order to simulate a live hosted environment where such delays are a common occurrence.\n\n## Installation:\n\n`npm install -g http-live-simulator`\n\n## Usage:\n\n```\n$ http-live\nServing Directory: /your/current/path\nPort 8080\nDelay: 200-500ms\n```\n\nYou can change the behaviour of http live server with following optional arguments:\n\n```\nOptional arguments:\n  -h, --help            Show this help message and exit.\n  -v, --version         Show program's version number and exit.\n  -p PORT, --port PORT  Port number for running the server\n  -m MIN_DELAY, --min-delay MIN_DELAY\n                        Minimum delay in milliseconds\n  -x MAX_DELAY, --max-delay MAX_DELAY\n                        Maximum delay in milliseconds\n```\n\n## Uninstallation:\n\n`npm uninstall -g http-live-simulator`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprahladyeri%2Fhttp-live-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprahladyeri%2Fhttp-live-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprahladyeri%2Fhttp-live-simulator/lists"}