# rem

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

Latest version **0.7.0-3** (published 2014-08-16) · 0 weekly downloads

## Install

```sh
npm install rem
pnpm add rem
yarn add rem
bun add rem
```

Provides the command `rem`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.0-3 |
| Published | 2014-08-16 |
| First published | 2012-04-02 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Known vulnerabilities | 0 (+11 in 5 direct dependencies) |
| Install scripts | no |
| GitHub stars | 25 |
| Author | Tim Cameron Ryan |
| Maintainers | tcr |
| Keywords | rem, middleware, javascript, rest, api, facebook, dropbox, twitter |

## Links

- npm: https://www.npmjs.com/package/rem
- Repository: https://github.com/tcr/rem
- Issues: https://github.com/tcr/rem/issues
- npm.io page: https://npm.io/package/rem

## Dependencies (10)

- [qs](https://npm.io/package/qs.md) ^1.2.2
- [open](https://npm.io/package/open.md) 0.0.2
- [read](https://npm.io/package/read.md) 0.1.0
- [async](https://npm.io/package/async.md) ~0.2.9
- [nconf](https://npm.io/package/nconf.md) 0.6.0
- [oauth](https://npm.io/package/oauth.md) ~0.9.10
- [osenv](https://npm.io/package/osenv.md) 0.0.3
- [colors](https://npm.io/package/colors.md) ~0.6.0-1
- [connect](https://npm.io/package/connect.md) ~2.7.1
- [tough-cookie](https://npm.io/package/tough-cookie.md) 0.9.8

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.7.0-3 (latest) — 2014-08-16
- 0.7.0-2 — 2014-04-14
- 0.7.0-1 — 2014-04-10
- 0.6.8 — 2013-11-27
- 0.6.7 — 2013-05-22
- 0.6.6-1 — 2013-05-03
- 0.6.6 — 2013-04-03
- 0.6.5 — 2013-03-15
- 0.6.4 — 2013-03-12
- 0.6.3-2 — 2013-03-03
- 0.6.3-1 — 2013-02-20
- 0.6.3 — 2013-02-14
- 0.6.2-1 — 2013-02-06
- 0.6.2 — 2013-02-05
- 0.6.1-7 — 2013-01-26
- … 34 more at https://npm.io/package/rem/versions

## 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:

```javascript
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'`](http://developer.github.com/v3/users/#get-the-authenticated-user), returning a JSON blob like `profile.name`.

## Documentation

Look at [**the Wiki for API Documentation**](https://github.com/tcr/rem/wiki).

* See [code for popular REST services](https://github.com/tcr/rem/tree/master/examples/services).
* See [code for using Rem to authenticate users](https://github.com/tcr/rem/tree/master/examples/auth) with Express, from the command line, or out-of-band login.
* See [code for using Rem in the browser](https://github.com/tcr/rem/tree/master/examples/browser).

## License

MIT.

---
_Source: https://npm.io/package/rem · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
