Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
OAuth + Streams
CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
test
.gitignore
.npmignore
LICENSE
README.md
package.json

README.md

OAUTH STREAM

I wanted to have a stream from oauth so I wrote this simple wrapper.

Usage

npm install oauthstream

var oauthStream = require('oauthstream');

// Your credentials here
var credentials = {
  consumer_key: '',
  consumer_secret: '',
  access_token: '',
  access_secret: '',
};

oauthStream.setCredentials(credentials);

var url = 'https://website.to/hit';

oauthStream.get(url).pipe(process.stdout);
Something went wrong with that request. Please try again.