# @kapmug/feathers-nano

> A couchdb service for feathers

Latest version **1.0.4** (published 2018-12-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @kapmug/feathers-nano
pnpm add @kapmug/feathers-nano
yarn add @kapmug/feathers-nano
bun add @kapmug/feathers-nano
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-12-13 |
| First published | 2018-02-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 14.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Andre Bazaglia |
| Maintainers | bazaglia |
| Keywords | feathers, couchdb, nodejs |

## Links

- npm: https://www.npmjs.com/package/@kapmug/feathers-nano
- Repository: https://github.com/kapmug/feathers-nano
- Homepage: https://github.com/kapmug/feathers-nano#readme
- Issues: https://github.com/kapmug/feathers-nano/issues
- npm.io page: https://npm.io/package/@kapmug/feathers-nano

## Dependencies (4)

- [bluebird](https://npm.io/package/bluebird.md) ^3.5.0
- [uberproto](https://npm.io/package/uberproto.md) ^1.2.0
- [cloudant-nano](https://npm.io/package/cloudant-nano.md) ^6.7.0
- [@feathersjs/errors](https://npm.io/package/@feathersjs/errors.md) ^3.2.2

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads
- [@react-md/material-icons](https://npm.io/package/@react-md/material-icons.md) — 1.6K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2018-12-13
- 1.0.3 — 2018-02-22
- 1.0.2 — 2018-02-21
- 1.0.1 — 2018-02-21
- 1.0.0 — 2018-02-05

## README

## Synopsis

A CouchDB/PouchDB CRUD service for [FeathersJS](https://github.com/feathersjs/feathers).

[![npm version](https://badge.fury.io/js/%40kapmug%2Ffeathers-nano.svg)](https://badge.fury.io/js/%40kapmug%2Ffeathers-nano) ![alt downloads](https://img.shields.io/npm/dm/feathers-nano.svg?style=flat-square) [![Build Status](https://travis-ci.org/KapMug/feathers-nano.svg?branch=master)](https://travis-ci.org/KapMug/feathers-nano) [![alt dependencies](https://david-dm.org/KapMug/feathers-nano.svg)](https://david-dm.org/KapMug/feathers-nano) [![alt dev-dependencies](https://david-dm.org/KapMug/feathers-nano/dev-status.svg)](https://david-dm.org/KapMug/feathers-nano?type=dev) [![Coverage Status](https://coveralls.io/repos/github/KapMug/feathers-nano/badge.svg)](https://coveralls.io/github/KapMug/feathers-nano) 
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

## Installation

You can install this package as a npm dependency by running:

```
npm install @kapmug/feathers-nano
```


## Getting started

Here is an example of creating a Feathers service using `feathers-nano` as the database adapter.

```
import feathers from 'feathers'
import rest from 'feathers-rest'
import service from '../lib'
import nano from 'nano'

const app = feathers().configure(rest())

const options = {
  name: 'tests',
  connection: nano({
    url: `http://localhost:5984`,
  }),
  database: 'test',
  paginate: false,
}

app.use('tests', service(options))
app.service('tests').get('18423385ef707d5fb46c61e7d70148a4').then(res => console.log(res)).catch(console.log)
```

## Motivation

Although FeathersJS provides many official database adapters, currently there is no adapter for CouchDB/PouchDB. This package is a preliminary implementation of a non-official CouchDB/PouchDB adapter.

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