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 :)
})

Readme

Keywords

none

Package Sidebar

Install

npm i sounddrop

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • rationalcoding