🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

pouchdb-changes-filter

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-changes-filter

Adds "filter", "selector", etc. to PouchDB's changes/replicate/sync APIs

latest
Source
npmnpm
Version
9.0.0
Version published
Weekly downloads
30K
11.23%
Maintainers
0
Weekly downloads
 
Created
Source

pouchdb-changes-filter

Plugin to add the ability to use the "filter", "selector", "doc_ids", "query_params", and "query" fields in the changes(), replicate(), and sync() APIs.

This is extract as a separate plugin because 1) it's fairly heavyweight, and 2) it contains eval(), which some environments disallow. So if you're not using filtered changes/replication, then you don't need this module.

Usage

npm install pouchdb-changes-filter
var PouchDB = require('pouchdb');
var changesFilter = require('pouchdb-changes-filter');
PouchDB.plugin(changesFilter);

For full API documentation and guides on PouchDB, see PouchDB.com. For details on PouchDB sub-packages, see the Custom Builds documentation.

Source

PouchDB and its sub-packages are distributed as a monorepo.

For a full list of packages, see the GitHub source.

FAQs

Package last updated on 21 Jun 2024

Did you know?

Socket

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