{"id":27200707,"url":"https://github.com/statiohq/funk.js","last_synced_at":"2026-05-07T11:32:07.612Z","repository":{"id":45874153,"uuid":"418507069","full_name":"statiohq/funk.js","owner":"statiohq","description":"🔌 NodeJS Library for interacting with Funk - Statio's Realtime Service","archived":false,"fork":false,"pushed_at":"2021-11-30T18:00:18.000Z","size":106,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T21:39:28.684Z","etag":null,"topics":["api","funk","library","nodejs","realtime","statio","typescript","websocket","wrapper"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/statiohq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-18T13:10:14.000Z","updated_at":"2021-11-30T17:52:54.000Z","dependencies_parsed_at":"2022-09-14T12:02:02.012Z","dependency_job_id":null,"html_url":"https://github.com/statiohq/funk.js","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/statiohq/funk.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statiohq%2Ffunk.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statiohq%2Ffunk.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statiohq%2Ffunk.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statiohq%2Ffunk.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statiohq","download_url":"https://codeload.github.com/statiohq/funk.js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statiohq%2Ffunk.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32735099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","funk","library","nodejs","realtime","statio","typescript","websocket","wrapper"],"created_at":"2025-04-09T21:29:57.836Z","updated_at":"2026-05-07T11:32:07.597Z","avatar_url":"https://github.com/statiohq.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# funk.js\n\n\u003e 🔌 NodeJS Library for interacting with Funk - Statio's Realtime Service\n\n## About this library\n\nThis Library is used for interacting with Funk - the realtime backend that powers Statio. Please note that this backend is not currently not intended to be used within products outside of Statio and no support is offered for outside use.\n\n## Usage\n\n### Creating a client\n\n```js\nimport { Funk } from \"funk.js\";\n\nconst funk = new Funk();\n```\n\n### Subscribing to events\n\n```js\nfunk.on(\"fullData\", (data) =\u003e {\n    console.log(\"Full data received for \" + data.length + \" stations\");\n});\n\nfunk.on(\"stationChanged\", (station) =\u003e {\n    console.log(\"Station change received for #\" + station.id + \" (\" + station.listening + \" listeners)\");\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatiohq%2Ffunk.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatiohq%2Ffunk.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatiohq%2Ffunk.js/lists"}