{"id":20770783,"url":"https://github.com/ably/demo-typescript-jspm","last_synced_at":"2026-04-19T22:32:42.638Z","repository":{"id":46973107,"uuid":"81392663","full_name":"ably/demo-typescript-jspm","owner":"ably","description":"The simplest possible example of using the Ably JS lib with TypeScript and JSPM","archived":false,"fork":false,"pushed_at":"2023-07-08T01:39:51.000Z","size":202,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-26T10:48:06.021Z","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/ably.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-09T00:57:28.000Z","updated_at":"2025-01-14T12:40:00.000Z","dependencies_parsed_at":"2024-11-18T00:04:17.386Z","dependency_job_id":null,"html_url":"https://github.com/ably/demo-typescript-jspm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ably/demo-typescript-jspm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fdemo-typescript-jspm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fdemo-typescript-jspm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fdemo-typescript-jspm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fdemo-typescript-jspm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ably","download_url":"https://codeload.github.com/ably/demo-typescript-jspm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fdemo-typescript-jspm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32025706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":"2024-11-17T12:11:56.375Z","updated_at":"2026-04-19T22:32:42.623Z","avatar_url":"https://github.com/ably.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ably Node.js and Browser Typescript example\n\n_[Ably](https://ably.com) is the platform that powers synchronized digital experiences in realtime. Whether attending an event in a virtual venue, receiving realtime financial information, or monitoring live car performance data – consumers simply expect realtime digital experiences as standard. Ably provides a suite of APIs to build, extend, and deliver powerful digital experiences in realtime for more than 250 million devices across 80 countries each month. Organizations like Bloomberg, HubSpot, Verizon, and Hopin depend on Ably’s platform to offload the growing complexity of business-critical realtime data synchronization at global scale. For more information, see the [Ably documentation](https://ably.com/documentation)._\n\nThis repo contains the simplest possible example of how to use the [Ably JS library](https://github.com/ably/ably-js) with TypeScript and [the JSPM package manager](http://jspm.io/).\n\n## Running Node.js Typescript example\n\nInstall the Node.js packaged modules:\n```\nnpm install\n```\n\nCompile the node-example TypeScript:\n```\ntsc node-example.ts\n```\n\nRun the node-example Javascript file:\n```\nnode node-example.js\n```\n\n## Running the Browser Typescript example\n\nInstall the Node.js packaged modules:\n```\nnpm install\n```\n\nInstall the JSPM packages:\n```\n./node_modules/.bin/jspm install\n```\n\nInstall the JSPM loader:\n```\n./node_modules/.bin/jspm dl-loader\n```\n\nInstall a static web server:\n```\nnpm install http-server -g\n```\n\nRun the web server:\n```\n./node_modules/.bin/http-server -p 8080\n```\n\nVisit the browser example at [http://localhost:8080](http://localhost:8080)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fably%2Fdemo-typescript-jspm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fably%2Fdemo-typescript-jspm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fably%2Fdemo-typescript-jspm/lists"}