node-foauth

0.0.1 • Public • Published

node-foauth

node.js client library for foauth.org, using request and hooker.

To get started:

npm install node-foauth

To use it:

var foauth = require('node-foauth')('username@example.com', 'password');

Then use foauth like you'd use request, with the exception that you have to use foauth.get instead of the convenience form foauth(uri). While making requests through node-foauth, your request URIs will automatically be prefixed with https://foauth.org, and your basic auth credentials will be sent along in a header.

request is Apache 2.0 licensed, javascript hooker is MIT, and node-foauth is MIT-licensed as well.

Have fun.

Readme

Keywords

none

Package Sidebar

Install

npm i node-foauth

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • problematic