{"id":13746358,"url":"https://github.com/polkadot-js/common","last_synced_at":"2025-05-14T06:11:59.559Z","repository":{"id":37384831,"uuid":"111207206","full_name":"polkadot-js/common","owner":"polkadot-js","description":"Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers.","archived":false,"fork":false,"pushed_at":"2025-04-14T13:45:51.000Z","size":47916,"stargazers_count":258,"open_issues_count":11,"forks_count":147,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-11T12:05:12.126Z","etag":null,"topics":["blockchain","crypto","polkadot","polkadot-js","substrate","utilities"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/polkadot-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2017-11-18T13:20:32.000Z","updated_at":"2025-05-09T13:12:01.000Z","dependencies_parsed_at":"2023-09-23T20:07:17.073Z","dependency_job_id":"4a62cdbd-eae0-4b4a-83c7-5a33433203cc","html_url":"https://github.com/polkadot-js/common","commit_stats":{"total_commits":3526,"total_committers":71,"mean_commits":49.66197183098591,"dds":0.5289279636982416,"last_synced_commit":"6ec09907a2ea9181aafc3014ec5c839db7386a65"},"previous_names":["polkadot-js/util"],"tags_count":164,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polkadot-js%2Fcommon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polkadot-js%2Fcommon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polkadot-js%2Fcommon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polkadot-js%2Fcommon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polkadot-js","download_url":"https://codeload.github.com/polkadot-js/common/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745196,"owners_count":21957319,"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":["blockchain","crypto","polkadot","polkadot-js","substrate","utilities"],"created_at":"2024-08-03T06:00:52.452Z","updated_at":"2025-05-14T06:11:59.524Z","avatar_url":"https://github.com/polkadot-js.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Smart Contract Platforms"],"sub_categories":[],"readme":"# @polkadot/common\n\nVarious useful utility functions that are used across all projects in the [@polkadot](https://polkadot.js.org) namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.\n\n## overview\n\nThis repository is split up into a number of internal packages, namely utilities -\n\n- [keyring](packages/keyring/) Keyring management\n- [util](packages/util/) General utilities\n- [util-crypto](packages/util-crypto/) Crypto and hashing utilities\n\n## development\n\nContributions are welcome!\n\nTo start off, this repo (along with others in the [@polkadot](https://github.com/polkadot-js/) family) uses yarn workspaces to organise the code. As such, after cloning, its dependencies _should_ be installed via `yarn`, not via npm; the latter will result in broken dependencies.\n\nTo get started -\n\n1. Clone the repo locally, via `git clone https://github.com/polkadot-js/common \u003coptional local path\u003e`\n2. Ensure that you have a recent version of Node.js, for development purposes [Node 10](https://nodejs.org/en/) is recommended.\n3. Ensure that you have a recent version of Yarn, for development purposes [Yarn \u003e=1.10.1](https://yarnpkg.com/docs/install) is required.\n4. Install the dependencies by running `yarn`\n5. Build the everything via `yarn run build`\n6. You can also launch the API Docs, via `yarn vuepress dev docs`\n7. Access the docs via [http://localhost:8080](http://localhost:8080)\n\n## tutorials\n\nLooking for tutorials to get started? Look at [examples](https://polkadot.js.org/api/examples/keyring/) for guides on how to use the base utilities.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolkadot-js%2Fcommon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolkadot-js%2Fcommon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolkadot-js%2Fcommon/lists"}