Narnia's Psychedelic Mushrooms
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    oauthrequestpublic

    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.

    Keywords

    none

    install

    npm i oauthrequest

    Downloadsweekly downloads

    3

    version

    2.0.0

    license

    none

    last publish

    collaborators

    • avatar