music-routes-search
v3.0.0
Published
Search the Music Routes data set
Downloads
20
Readme
music-routes-search
Search the Music Routes data set
Usage
An individual is someone credited with performing on a track.
Search for an individual:
const { search } = require('music-routes-search');
const results = search('Chrissie Hynde', 'individual');
console.log(results);
An artist is someone to whom a track is credited. It may be an individual or a collective (band).
Search for an artist:
const { search } = require('music-routes-search');
const results = search('The Pretenders', 'artist');
console.log(results);
A track is a recording, typically of a single song.
Search for a track:
const { search } = require('music-routes-search');
const results = search('Back On The Chain Gang', 'track');
console.log(results);
A release explains where a track can be found. For example, it might be the name of the album where a track originally appeared.
Search for a release:
const { search } = require('music-routes-search');
const results = search('Learning To Crawl', 'album');
console.log(results);