{"id":22612096,"url":"https://github.com/airblockai/js-sdk","last_synced_at":"2026-05-03T12:31:11.627Z","repository":{"id":172715540,"uuid":"628242307","full_name":"airblockai/js-sdk","owner":"airblockai","description":"airblock javascript SDK","archived":false,"fork":false,"pushed_at":"2023-07-12T16:09:54.000Z","size":248,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-01T13:22:34.972Z","etag":null,"topics":["analytics","attribution","events","javascript","sdk","typescript","web3"],"latest_commit_sha":null,"homepage":"https://docs.airblock.ai","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/airblockai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-04-15T10:42:59.000Z","updated_at":"2023-07-18T09:26:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"dfcd4c5b-2c52-407c-915b-30bf04c229ec","html_url":"https://github.com/airblockai/js-sdk","commit_stats":null,"previous_names":["airblockai/js-sdk"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/airblockai/js-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airblockai%2Fjs-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airblockai%2Fjs-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airblockai%2Fjs-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airblockai%2Fjs-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/airblockai","download_url":"https://codeload.github.com/airblockai/js-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airblockai%2Fjs-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32569709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["analytics","attribution","events","javascript","sdk","typescript","web3"],"created_at":"2024-12-08T17:09:55.559Z","updated_at":"2026-05-03T12:31:11.588Z","avatar_url":"https://github.com/airblockai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# airblock js-sdk\n\nairblock Javascript SDK collects and sends browser events to an event collector of your choice.\n\nYou'll need Node.js and a package manager like npm or yarn.\n\n### Install SDK\nRun `npm install --save @airblock/js-sdk` to install the SDK locally.\n\nWe have built-in typescript support so you do not need to install the types for the SDK.\n\n### Initialize SDK\nYou must initialize the SDK before you collect any events.\n\nTo initialize, you must provide the `SERVER_URL` of your event collector and a string as `API_KEY` to identify your application. \n\n```js\nimport * as airblock from \"@airblock/js-sdk\";\n \nconst API_KEY = \"app1\"; // required\nconst SERVER_URL = \"https://...\"; // required\n \nairblock.init(API_KEY, SERVER_URL);\n```\n\nOnce initialized, the SDK will start sending default events to your event collector.\n\n## Support\nFor general help, read the [documentation](https://docs.airblock.ai), or go to [Github Discussions](https://github.com/airblockai/js-sdk/discussions).\n\nTo report a bug or request a feature, open an [issue](https://github.com/airblockai/js-sdk/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairblockai%2Fjs-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fairblockai%2Fjs-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairblockai%2Fjs-sdk/lists"}