{"id":30127640,"url":"https://github.com/moeki0/pandemicjs","last_synced_at":"2025-08-10T17:08:55.256Z","repository":{"id":134211853,"uuid":"445537822","full_name":"moeki0/pandemicjs","owner":"moeki0","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-07T14:02:45.000Z","size":29437,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T13:37:10.787Z","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/moeki0.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":"2022-01-07T13:53:47.000Z","updated_at":"2022-01-07T14:01:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"665b2162-66c0-4f83-a436-6da711bd43a9","html_url":"https://github.com/moeki0/pandemicjs","commit_stats":null,"previous_names":["kawakamimoeki/pandemicjs","kawakamidev/pandemicjs","moekiorg/pandemicjs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/moeki0/pandemicjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeki0%2Fpandemicjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeki0%2Fpandemicjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeki0%2Fpandemicjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeki0%2Fpandemicjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moeki0","download_url":"https://codeload.github.com/moeki0/pandemicjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeki0%2Fpandemicjs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269756394,"owners_count":24470566,"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-08-10T02:00:08.965Z","response_time":71,"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":[],"created_at":"2025-08-10T17:08:48.118Z","updated_at":"2025-08-10T17:08:55.232Z","avatar_url":"https://github.com/moeki0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pandemicjs\n\nPandemicjs is a simple pandemic simulation.\n\n![Image](https://github.com/moekidev/pandemicjs/blob/main/docs/image.gif)\n\n## Installation\n\n```\nnpm i -D pandemicjs\n```\n\nor\n\n```\nyarn add -D pandemicjs\n```\n\nor\n\n```html\n\u003cscript type=\"module\"\u003e\n  import { Pandemic } from 'https://cdn.jsdelivr.net/npm/pandemicjs@1.0.0/dist/index.esm.min.js'\n\u003c/script\u003e\n```\n\n## Usage\n\n```html\n\u003cdiv class=\"world\" style=\"height: 800px; width: 800px;\"\u003e\u003c/div\u003e\n```\n\n```js\nimport { Pandemic } from 'pandemicjs'\n\nnew Pandemic(',world', {\n  n: 800,\n  fps: 30,\n  play: false, // you can manipulate a virus source\n  hospital: false,\n  splashDistance: 30,\n  infectionRate: 0.1,\n  onsetPeriod: 100,\n  antiBodyPeriod: 200\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoeki0%2Fpandemicjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoeki0%2Fpandemicjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoeki0%2Fpandemicjs/lists"}