Naivete Precedes Misrepresentation
Need private packages and team management tools?Check out npm Teams »

sounddrop

1.0.2 • Public • Published

sounddrop

Standard - JavaScript Style Guide

Fetch any SoundCloud url.

NPM module packaging of diracdelta's demo. Full credit goes to them.

sounds are cool please give money to artists

install

npm install --save sounddrop

A standalone Browserify build is available in the dist folder.

Usage

 
var drop = new SoundDrop({
  clientID: 'xxxxxxxxxxxxxx' // See https://auth0.com/docs/connections/social/soundcloud
})
 
drop.fetch('https://soundcloud.com/diracdeltas/pu3elibqww9b', function (streamURL, artist) {
  // streamURL is the direct URL of the mp3 file
  // artist is the name of the artist you should support :)
})

Keywords

none

Install

npm i sounddrop

DownloadsWeekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • avatar