{"id":13651673,"url":"https://github.com/shawntabrizi/polkadot-js-bundle","last_synced_at":"2025-11-18T09:03:09.299Z","repository":{"id":38970693,"uuid":"267141829","full_name":"shawntabrizi/polkadot-js-bundle","owner":"shawntabrizi","description":"A standalone JS bundle that contains Polkadot{JS} libraries","archived":false,"fork":false,"pushed_at":"2022-10-25T17:34:18.000Z","size":7329,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T09:08:01.020Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shawntabrizi.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}},"created_at":"2020-05-26T20:12:06.000Z","updated_at":"2022-09-09T15:43:32.000Z","dependencies_parsed_at":"2022-09-13T18:53:46.667Z","dependency_job_id":null,"html_url":"https://github.com/shawntabrizi/polkadot-js-bundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shawntabrizi/polkadot-js-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawntabrizi%2Fpolkadot-js-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawntabrizi%2Fpolkadot-js-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawntabrizi%2Fpolkadot-js-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawntabrizi%2Fpolkadot-js-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shawntabrizi","download_url":"https://codeload.github.com/shawntabrizi/polkadot-js-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawntabrizi%2Fpolkadot-js-bundle/sbom","scorecard":{"id":817028,"data":{"date":"2025-08-11","repo":{"name":"github.com/shawntabrizi/polkadot-js-bundle","commit":"f88475b00f7e1afdb141c54a4347931147bb42ed"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-hc6q-2mpp-qw7j","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T14:29:01.832Z","repository_id":38970693,"created_at":"2025-08-23T14:29:01.832Z","updated_at":"2025-08-23T14:29:01.832Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285035891,"owners_count":27103933,"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-11-18T02:00:05.759Z","response_time":61,"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-08-02T02:00:51.434Z","updated_at":"2025-11-18T09:03:09.278Z","avatar_url":"https://github.com/shawntabrizi.png","language":"HTML","funding_links":[],"categories":["Tools"],"sub_categories":[],"readme":"# polkadot-js-bundle\n\nThis project was used to create JS bundles for the [Polkadot JS APIs](https://github.com/polkadot-js/).\n\nPolkadot{JS} [now supports official JS bundles](https://polkadot.js.org/docs/usage/FAQ/#i-would-like-to-use-browser-bundles-bypassing-the-compile-step), so this project is mostly deprecated.\n\nThis page just serves to show how you can use them.\n\nInclude the official Polkadot JS Bundles like so:\n\n```js\n\u003cscript src=\"//unpkg.com/@polkadot/util/bundle-polkadot-util.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"//unpkg.com/@polkadot/util-crypto/bundle-polkadot-util-crypto.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"//unpkg.com/@polkadot/types/bundle-polkadot-types.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"//unpkg.com/@polkadot/api/bundle-polkadot-api.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"//unpkg.com/@polkadot/keyring/bundle-polkadot-keyring.js\"\u003e\u003c/script\u003e\n```\n\nNote that some bundles may require you to include other bundles. For example, to use `bundle-polkadot-api.js` you must include the other 3 bundles as well.\n\nTo access to the bundle within a JavaScript file, just do the following:\n\n```js\n// Just some random examples...\nconst { stringToHex, hexToString } = polkadotUtil;\nconst { blake2AsHex, xxhashAsHex } = polkadotUtilCrypto;\nconst { TypeRegistry, createType } = polkadotTypes;\nconst { WsProvider, ApiPromise } = polkadotApi;\nconst { Keyring } = polkadotKeyring;\n```\n\nSee the [test page](https://shawntabrizi.github.io/polkadot-js-bundle) as a sanity check that things are working.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshawntabrizi%2Fpolkadot-js-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshawntabrizi%2Fpolkadot-js-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshawntabrizi%2Fpolkadot-js-bundle/lists"}