oauthrequest

2.0.0 • Public • Published

OAuthRequest

Build Status

OAuthRequest is a W3C compatable XMLHttpRequest object for signing OAuth requests. Designed for use with jsOAuth 2.

Getting Started

Install the module with: npm install OAuthRequest

var OAuthRequest = require('OAuthRequest');
var xhr = new OAuthRequest();
 
xhr.open("GET", "http://www.google.co.uk", true);
 
xhr.addEventListener("readystatechange", function (event) {
    if (this.readyState === this.DONE && this.status >= 200) {
        doStuff(this.responseText);
    }
});
 
xhr.send(null);

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2012 Rob Griffiths
Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i oauthrequest

Weekly Downloads

0

Version

2.0.0

License

none

Last publish

Collaborators

  • bytespider