Socket
Socket
Sign inDemoInstall

rem

Package Overview
Dependencies
27
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rem

An HTTP Client with middleware, with built-in support for major web services.


Version published
Weekly downloads
200
increased by122.22%
Maintainers
1
Install size
1.67 MB
Created
Weekly downloads
 

Readme

Source

Rem 0.6

An HTTP Client with middleware, with built-in support for major web services.

To use Rem with Node.js, install using npm:

npm install rem

To use in the browser, include lib/rem.js.

Getting Started

A Node.js script to access and configure the Github API, in just 6 lines:

var rem = require('rem');
rem.connect('github.com').prompt(function (err, user) {
  user('user').get(function (err, profile) {
    console.log('Hello %s!', profile.name);
  });
});

rem.connect('github.com') creates a Github API Client. prompt asks you for API configuration and prompts you to log in. user is an authenticated API that can access endpoints like 'user', returning a JSON blob like profile.name.

Documentation

Look at the Wiki for API Documentation.

License

MIT.

Keywords

FAQs

Last updated on 16 Aug 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc