Socket
Socket
Sign inDemoInstall

couchdb-session

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couchdb-session

persist couchdb session


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

couchdb-session

configs

const configs = {
    host: http://localhost,
    port: 5984,
    username: 'xxxxx',
    password: 'xxxxx'
} 

session

object returned by couchdb-session promise.

const session = {
    cookie: null,
    cookieVerbose: null,
    expires: String,
    expiresString: String,
    status: 'xxxxx',
    delay: 1000  
} 

delay delay time for renewing almostExpired cookies. Pre-empt use of expired cookies from making requests.

cookie couchdb session cookie.

local.ini cookie authentication [couch_httpd_auth] secret = ab19f28707dbb74b33089aef8bb08cda allow_persistent_cookies = true

expires Unix time to expiration. Parsed from header value passed from couchdb.

status 200 or error message.

Keywords

FAQs

Package last updated on 08 Feb 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc