# couchbase-js

> Pure JavaScript/TypeScript Couchbase client for Node

Latest version **0.3.0** (published 2019-05-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install couchbase-js
pnpm add couchbase-js
yarn add couchbase-js
bun add couchbase-js
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2019-05-25 |
| First published | 2019-05-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 134.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ricardo Portugal |
| Maintainers | rportugal |

## Links

- npm: https://www.npmjs.com/package/couchbase-js
- Repository: https://github.com/rportugal/couchbase-js
- Homepage: https://github.com/rportugal/couchbase-js#readme
- Issues: https://github.com/rportugal/couchbase-js/issues
- npm.io page: https://npm.io/package/couchbase-js

## Dependencies (2)

- [request](https://npm.io/package/request.md) ^2.88.0
- [request-promise](https://npm.io/package/request-promise.md) ^4.2.4

## Recent versions

- 0.3.0 (latest) — 2019-05-25
- 0.2.0 — 2019-05-22
- 0.1.0 — 2019-05-20

## README

# Overview
This project implements a pure JS client based on the undocumented Couchbase REST APIs that power the Web UI. As such, it only works if you already have credentials for the UI.

# Usage
```
const conn = new Couchbase('https://some.server:18091', 'myuser', 'mypass', { insecure: true });
const bucket = await conn.openBucket('somebucket');

const data = await bucket.get('my::document::id');
```

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