0.0.7 • Published 10 years ago
bpm2spotify v0.0.7
bpm2spotify
Insert a BPM, get a random Spotify link for a track with that BPM
Use
npm install bpm2spotifyThen:
import SongFinder from 'bpm2spotify';
async function myFunction () {
let s = new SongFinder();
let song = await s.getRandomSong(150);
console.log(song);
// --> {artist: 'foo', song: 'bar', spotifyUrl: 'https://spotify...'}
}Develop
Get set up:
npm installTranspile code:
npm run build