musickit-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

musickit-ts

MusicKit TS is a library for handling MusicKit JS v3 with TypeScript.

Usage

  1. MusicKit JS v3 must be available. Read "Getting Stated" article for MusicKit JS v3.

  2. npm i musickit-ts

  3. Create new MusicKitTS and use.

const musicKitTS = new MusicKitTS({
  developerToken: developerToken,
  app: {
    name: appName,
    build: appBuild,
  },
});

const result = await musicKitTS.api.getCatalogResource.Album({
  id: '1479013030',
});

See tests if you want to check more reference implementations.

Readme

Keywords

Package Sidebar

Install

npm i musickit-ts

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

71.1 kB

Total Files

35

Last publish

Collaborators

  • 8beeeaaat