{"id":15364177,"url":"https://github.com/kellnerd/musicbrainz-ts","last_synced_at":"2025-06-13T23:35:31.666Z","repository":{"id":228651386,"uuid":"774567904","full_name":"kellnerd/musicbrainz-ts","owner":"kellnerd","description":"MusicBrainz API client which aims for fully typed results","archived":false,"fork":false,"pushed_at":"2025-02-20T20:42:55.000Z","size":160,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T18:51:48.962Z","etag":null,"topics":["api-client","deno","musicbrainz","musicbrainz-api","typescript"],"latest_commit_sha":null,"homepage":"https://jsr.io/@kellnerd/musicbrainz","language":"TypeScript","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/kellnerd.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-19T19:22:34.000Z","updated_at":"2025-01-30T17:48:06.000Z","dependencies_parsed_at":"2024-04-05T18:30:01.252Z","dependency_job_id":"e4a70c62-b047-4127-8ed9-a40f18cdc8db","html_url":"https://github.com/kellnerd/musicbrainz-ts","commit_stats":null,"previous_names":["kellnerd/musicbrainz-ts"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellnerd%2Fmusicbrainz-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellnerd%2Fmusicbrainz-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellnerd%2Fmusicbrainz-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellnerd%2Fmusicbrainz-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kellnerd","download_url":"https://codeload.github.com/kellnerd/musicbrainz-ts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249042668,"owners_count":21203332,"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":["api-client","deno","musicbrainz","musicbrainz-api","typescript"],"created_at":"2024-10-01T13:10:29.694Z","updated_at":"2025-04-15T09:29:57.231Z","avatar_url":"https://github.com/kellnerd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MusicBrainz\n\n[MusicBrainz] [API] client which aims for fully typed results.\n\n\u003e [!WARNING]\n\u003e This library is still in development and does not support all API endpoints so far.\n\u003e While most of them are trivial to implement in code, the type definitions are not.\n\nPlease read the automatically generated [client documentation] to see which methods are supported.\n\n## Example\n\n```ts\nimport { MusicBrainzClient } from \"@kellnerd/musicbrainz\";\n\nconst client = new MusicBrainzClient();\n\n// Lookup a group artist by MBID and include its artist relationships.\n// Type of the result is affected by the specified include parameters.\nconst group = await client.lookup(\n  \"artist\",\n  \"83d91898-7763-47d7-b03b-b92132375c47\",\n  { inc: [\"artist-rels\"] },\n);\n\n// Find the members of the group from its relationships.\n// Property `relations` only exists because a relationship include was specified.\nconst members = group.relations\n  // Filter by type name (for illustration, ideally you should use \"type-id\").\n  .filter((rel) =\u003e rel.type === \"member of band\")\n  // Extract the target artist. The `artist` property is guaranteed to exist\n  // and not optional because \"artist-rels\" is the only relationship include.\n  .map((rel) =\u003e rel.artist);\n\nconsole.log(members);\n```\n\n[MusicBrainz]: https://musicbrainz.org/\n[API]: https://musicbrainz.org/doc/MusicBrainz_API\n[client documentation]: https://jsr.io/@kellnerd/musicbrainz/doc/client/~/MusicBrainzClient\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkellnerd%2Fmusicbrainz-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkellnerd%2Fmusicbrainz-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkellnerd%2Fmusicbrainz-ts/lists"}