{"id":22919983,"url":"https://github.com/xgqfrms/web-performance-analytics","last_synced_at":"2026-04-10T22:45:27.205Z","repository":{"id":143927876,"uuid":"311587506","full_name":"xgqfrms/web-performance-analytics","owner":"xgqfrms","description":"web-performance-analytics","archived":false,"fork":false,"pushed_at":"2020-11-15T13:33:59.000Z","size":573,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T23:05:33.061Z","etag":null,"topics":["analytics","metrics","npm","performance","web","web-performance-analytics"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/web-performance-analytics","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/xgqfrms.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOgS.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["xgqfrms"],"patreon":"xgqfrms","tidelift":"npm/web-performance-analytics","custom":["https://www.paypal.me/xgqfrms","xgqfrms.xyz"]}},"created_at":"2020-11-10T08:05:52.000Z","updated_at":"2022-09-27T14:53:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"0bff6be8-4348-4559-ba94-125c07a1f3fc","html_url":"https://github.com/xgqfrms/web-performance-analytics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xgqfrms/web-performance-analytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xgqfrms%2Fweb-performance-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xgqfrms%2Fweb-performance-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xgqfrms%2Fweb-performance-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xgqfrms%2Fweb-performance-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xgqfrms","download_url":"https://codeload.github.com/xgqfrms/web-performance-analytics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xgqfrms%2Fweb-performance-analytics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267927473,"owners_count":24167289,"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-30T02:00:09.044Z","response_time":70,"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":["analytics","metrics","npm","performance","web","web-performance-analytics"],"created_at":"2024-12-14T07:14:02.708Z","updated_at":"2026-04-10T22:45:22.160Z","avatar_url":"https://github.com/xgqfrms.png","language":"JavaScript","funding_links":["https://github.com/sponsors/xgqfrms","https://patreon.com/xgqfrms","https://tidelift.com/funding/github/npm/web-performance-analytics","https://www.paypal.me/xgqfrms","xgqfrms.xyz"],"categories":[],"sub_categories":[],"readme":"# web-performance-analytics\n\n\u003e WPA\n\nhttps://www.npmjs.com/package/web-performance-analytics\n\n## install\n\n```sh\n\n$ yarn add web-performance-analytics\n# OR\n$ npm i web-performance-analytics\n\n```\n\n## usage\n\n```js\n// WebPerformanceAnalytics\nimport * as WPA from \"web-performance-analytics\";\n\nconst options = {\n  // your configs\n};\n\nconst wpa = WPA.init(options);\n\nwpa.onConnect({\n  // options\n});\n\nwpa.tracker({\n  // options\n});\n\nwpa.send({\n  // options\n});\n\nwpa.post({\n  // options\n});\n\nwpa.report({\n  // options\n});\n\nwpa.onError({\n  // options\n});\n\nwpa.onClose({\n  // options\n});\n\n```\n\n# demo\n\n```js\n// ESM\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxgqfrms%2Fweb-performance-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxgqfrms%2Fweb-performance-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxgqfrms%2Fweb-performance-analytics/lists"}