{"id":24973369,"url":"https://github.com/selfkeyfoundation/selfkey-did-resolver","last_synced_at":"2025-04-11T08:44:01.994Z","repository":{"id":47440932,"uuid":"128299946","full_name":"SelfKeyFoundation/selfkey-did-resolver","owner":"SelfKeyFoundation","description":"Library for resolving DIDs in SelfKey method space","archived":false,"fork":false,"pushed_at":"2022-12-10T16:16:36.000Z","size":1189,"stargazers_count":0,"open_issues_count":12,"forks_count":3,"subscribers_count":17,"default_branch":"develop","last_synced_at":"2025-04-09T10:01:52.679Z","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/SelfKeyFoundation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-06T03:18:43.000Z","updated_at":"2019-11-26T03:18:06.000Z","dependencies_parsed_at":"2023-01-26T11:16:33.646Z","dependency_job_id":null,"html_url":"https://github.com/SelfKeyFoundation/selfkey-did-resolver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfKeyFoundation%2Fselfkey-did-resolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfKeyFoundation%2Fselfkey-did-resolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfKeyFoundation%2Fselfkey-did-resolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfKeyFoundation%2Fselfkey-did-resolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SelfKeyFoundation","download_url":"https://codeload.github.com/SelfKeyFoundation/selfkey-did-resolver/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248362629,"owners_count":21091169,"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":"2025-02-03T18:58:48.621Z","updated_at":"2025-04-11T08:44:01.986Z","avatar_url":"https://github.com/SelfKeyFoundation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SelfKey DID Resolver\n\nLibrary for resolving DIDs in SelfKey method space\n\n## Install\n\n```bash\nnpm i --save selfkey-did-resolver\n```\n\n## Usage\n\nThe following example script shows how we can integrate the did-resolver library:\n\n```javascript\nconst selfkeyResolver = require('selfkey-did-resolver')\nconst did = 'did:key:0x62dfbf9cee9c6eded64d7e0b1e72165f0d26a7c8'\n\nrunTest = async () =\u003e {\n  const doc = await selfkeyResolver(did)\n  console.log(JSON.stringify(doc, undefined, 2))\n}\n\nrunTest()\n```\n\nAlternatively you can run the script via the command line by passing the DID string as an argument:\n\n```bash\nnode src/index.js did:key:0x62dfbf9cee9c6eded64d7e0b1e72165f0d26a7c8\n```\n\n## Tests\n\n```bash\nnpm run test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfkeyfoundation%2Fselfkey-did-resolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselfkeyfoundation%2Fselfkey-did-resolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfkeyfoundation%2Fselfkey-did-resolver/lists"}