npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

musicbrainz-api-client

v0.0.3-development

Published

🎵 JavaScript Client for accessing musicbrainz api

Downloads

4

Readme

MusicBrainz API Client

🎵 JavaScript Client for accessing musicbrainz api

MusicBrainz is an open music encyclopedia that collects music metadata and makes it available to the public.

MusicBrainz API Documentation

Basic Artist Info

getArtistInfo('Kendrick Lamar')


Request: GET /artist
Response:
{
  id: '381086ea-f511-4aba-bdf9-71c753dc5077',
  name: 'Kendrick Lamar',
  gender: 'male',
  lifespan: { born: '1987-06-17', death: null },
  country: 'US',
  aliases: [ 'Kendrick Lamar Duckworth', 'Kendrick Duckworth', 'K. Dot' ],
  tags: [
    'pop',
    'rap',
    'hip hop',
    'pop rap',
    'west coast hip hop',
    'boom bap',
    'jazz rap',
    'conscious hip hop',
    'hardcore hip hop'
  ]
}

Recording Info

getArtistRecordingDetails('381086ea-f511-4aba-bdf9-71c753dc5077')

Request: GET /artist/id
Response:
{
  all_recordings: [
    '1 Train',
    '2Nite',
    '3 Minutes of Watts',
    '21',
    '100',
    '100 Favors',
    'A Milli',
    'A Song 4 Buffy (Freestyle)',
    'A.D.H.D',
    'A.D.H.D.',
    'A1 Everything',
    "Ab-Soul's Outro",
    'Acceptance',
    'Act Tuff',
    'Again and Again',
    'Alien Girl (Today with Her)',
    'All Day (Ft. Kanye West)',
    'All Day (remix)'
  ],
  all_albums: [
    'Section.80',
    'good kid, m.A.A.d city',
    'Welcome to Compton',
    'To Pimp a Butterfly',
    'DAMN.',
    'Riding for compton',
    'Finessed in Red 3',
    'Finessed in Red IV',
    'untitled unmastered.',
    'Hub City Threat: Minor of the Year',
    'Training Day',
    "No Sleep 'Til NYC",
    'C4',
    'Overly Dedicated',
    'Compton State of Mind',
    'Ever Heard of Section 80',
    'The New West Mixtape',
    'The Recipe',
    'Good Kid Done Good',
    'Found Myself',
    'Kendrication',
    'Welcome to Class 2014',
    'King of New York',
    'Straight Outta Compton',
    'The Takeover'
  ]
}