{"id":23139043,"url":"https://github.com/circuit/umd","last_synced_at":"2025-06-19T03:45:56.133Z","repository":{"id":79431024,"uuid":"119776188","full_name":"circuit/umd","owner":"circuit","description":"CommonJS, AMD and Browser (global) usage of circuit-sdk","archived":false,"fork":false,"pushed_at":"2024-06-18T01:10:40.000Z","size":426,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-04T10:11:29.786Z","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/circuit.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":"2018-02-01T03:14:02.000Z","updated_at":"2019-07-26T14:34:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"6639c467-3fe4-43fc-9406-b50323116903","html_url":"https://github.com/circuit/umd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/circuit/umd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Fumd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Fumd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Fumd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Fumd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/circuit","download_url":"https://codeload.github.com/circuit/umd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Fumd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260683510,"owners_count":23046075,"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","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-12-17T13:13:09.541Z","updated_at":"2025-06-19T03:45:51.110Z","avatar_url":"https://github.com/circuit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CommonJS, AMD and Browser (global) usage of circuit-sdk\n\n\u003e circuit.js is included in this repo just until the umd-capable version is officially published to npm and unpkg\n\nAs the repo indicates, the circuit-sdk is now available as UMD module, meaning it can be used as CommonJS or AMD module, and also still as browser global `Circuit` object.\n\nIn addition the JS SDK and Node.js SDK now come in a single, common module, the`circuit.js` file.\n\nThis repo contains example apps using the Circuit JS SDK:\n* a CommonJS node app\n* an AMD browser app\n* a browser app with regular global script include of the SDK\n\n\n## Install\n```bash\n  npm i -g http-server\n  npm i -g concurrently\n  git clone https://github.com/circuit/umd.git\n  cd umd\n  npm run commonjs   // to run CommonJS node app\n  npm run amd        // to run AMD browser app\n  npm run global     // to run Browser global app\n```\n\n\u003e The `client_id`'s in the examples are for the circuitsandbox and require the browser apps to run on http://localhost:7000 as defined in `package.json`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircuit%2Fumd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcircuit%2Fumd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircuit%2Fumd/lists"}