{"id":26121846,"url":"https://github.com/ipfs-shipyard/js-idm-client","last_synced_at":"2025-08-04T18:41:46.001Z","repository":{"id":34923376,"uuid":"189476375","full_name":"ipfs-shipyard/js-idm-client","owner":"ipfs-shipyard","description":"The reference implementation of the IDM Client in JavaScript","archived":false,"fork":false,"pushed_at":"2023-01-03T23:43:33.000Z","size":2652,"stargazers_count":1,"open_issues_count":15,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-10T14:17:36.127Z","etag":null,"topics":["authenticate","client","dapps","idm","sign","sso"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipfs-shipyard.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-05-30T20:14:56.000Z","updated_at":"2019-09-27T16:45:38.000Z","dependencies_parsed_at":"2023-01-15T10:29:07.115Z","dependency_job_id":null,"html_url":"https://github.com/ipfs-shipyard/js-idm-client","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs-shipyard%2Fjs-idm-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs-shipyard%2Fjs-idm-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs-shipyard%2Fjs-idm-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs-shipyard%2Fjs-idm-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipfs-shipyard","download_url":"https://codeload.github.com/ipfs-shipyard/js-idm-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242864331,"owners_count":20197691,"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":["authenticate","client","dapps","idm","sign","sso"],"created_at":"2025-03-10T14:36:56.802Z","updated_at":"2025-03-10T14:36:57.453Z","avatar_url":"https://github.com/ipfs-shipyard.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# idm-client\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][codecov-image]][codecov-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url]\n\n[npm-url]:https://npmjs.org/package/idm-client\n[downloads-image]:http://img.shields.io/npm/dm/idm-client.svg\n[npm-image]:http://img.shields.io/npm/v/idm-client.svg\n[travis-url]:https://travis-ci.org/ipfs-shipyard/js-idm-client\n[travis-image]:http://img.shields.io/travis/ipfs-shipyard/js-idm-client/master.svg\n[codecov-url]:https://codecov.io/gh/ipfs-shipyard/js-idm-client\n[codecov-image]:https://img.shields.io/codecov/c/github/ipfs-shipyard/js-idm-client/master.svg\n[david-dm-url]:https://david-dm.org/ipfs-shipyard/js-idm-client\n[david-dm-image]:https://img.shields.io/david/ipfs-shipyard/js-idm-client.svg\n[david-dm-dev-url]:https://david-dm.org/ipfs-shipyard/js-idm-client?type=dev\n[david-dm-dev-image]:https://img.shields.io/david/dev/ipfs-shipyard/js-idm-client.svg\n\nThe reference implementation of the IDM Client in JavaScript. This library is intended to be used by DApps.\n\n\n## Installation\n\n```sh\n$ npm install idm-client\n```\n\nThis library is written in modern JavaScript and is published in both CommonJS and ES module transpiled variants. If you target older browsers please make sure to transpile accordingly.\n\n\n## Usage\n\n```js\nimport createIdmClient from 'idm-client';\nimport { createClientSide } from 'idm-bridge-postmsg';\n\nconst app = {\n    name: 'My app name',\n    iconUrl: 'https://my.app.com/favicon.png',\n    homepageUrl: 'https://my.app.com',\n};\n\nconst idmWalletUrl = 'https://nomios.io';\n\nawait (async () =\u003e {\n    const idmBridge = await createClientSide(idmWalletUrl);\n    const idmClient = await createIdmClient(app, bridge);\n})();\n```\n\n\n## API\n\nThis library is following closely the [IDM Wallet Specification](https://github.com/ipfs-shipyard/pm-idm/blob/master/docs/idm-spec.md).\n\nWe will be providing proper API documentation once the both this library and the specification mature.\n\n\n## Tests\n\n```sh\n$ npm test\n$ npm test -- --watch # during development\n```\n\n\n## License\n\nReleased under the [MIT License](http://www.opensource.org/licenses/mit-license.php).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfs-shipyard%2Fjs-idm-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipfs-shipyard%2Fjs-idm-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfs-shipyard%2Fjs-idm-client/lists"}