SkillAgentSearch skills...

Rem

HTTP clients with middleware for Node.js and web browsers. Flexible for any HTTP request, customizable for building API clients, and supports OAuth.

Install / Use

/learn @tcr/Rem
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars25
CategoryCustomer
Updated6y ago
Forks11

Languages

JavaScript

Security Score

75/100

Audited on Apr 23, 2019

No findings