Socket
Socket
Sign inDemoInstall

couchdb-changes-response

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    couchdb-changes-response

Mimic CouchDB's `_changes` response in a streaming fashion


Version published
Weekly downloads
11
increased by1000%
Maintainers
1
Install size
6.71 kB
Created
Weekly downloads
 

Readme

Source

couchdb-changes-response

Build Status

Mimic CouchDB's _changes response in a streaming fashion.

Installation

npm i couchdb-changes-response

Usage

Please note: this module is heavily WIP, only continuous feed is supported right now.

var ChangesResponse = require('couchdb-changes-response')

var response = new ChangesResponse({
  type: 'continuous'
}))

response.write({
  id: 'foobar',
  seq: 132,
  doc: {
    id: 'foobar',
    bar: 'foo'
  })
})

Keywords

FAQs

Last updated on 31 Aug 2016

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