Nerdiest Precious Modules
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

express-jwt-pouchdb

1.1.2 • Public • Published

express-jwt-pouchdb

npm David Build Status

Express-PouchDB clone with JSON Web Token support. This is designed to mimic the couch_jwt_auth plugin for CouchDB so it can serve as a testing server. Configuration and usage matches that plugin.

Usage

Install with NPM:

npm i express-jwt-pouchdb --save

And use just like you would express-pouchdb:

var express = require("express"),
    app     = express(),
    PouchDB = require("pouchdb");
 
app.use("/db", require("express-jwt-pouchdb")(PouchDB));
 
app.listen(3000);

Keywords

none

install

npm i express-jwt-pouchdb

Downloadsweekly downloads

1

version

1.1.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability