1.0.0 • Published 10 years ago

sc-stream v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

sc-stream

Stream a SoundCloud track.

Features

  • simple streaming
  • promise based interface
  • staggered track info & stream loading
  • lazy API loading

Installation

$ npm install sc-stream

Usage

var SCStream = require('sc-stream');
var sc = new SCStream('client-id');

sc.stream('https://soundcloud.com/baauer/one-touch')
  .then(function(track) {
    console.log('Playing', track.data.title);
    track.stream.play();
  });

License

MIT

1.0.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago