Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

couchcache-audit

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

couchcache-audit

An npm module for auditing cache changes to couchcache documents

  • 1.1.2
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

couchcache-audit

An npm and Kanso module for auditing changes to couchcache documents.

Node

Install

npm install couchcache-audit

Include

Nano

var audit = require('couchcache-audit').withNano(db, dbName, designName, user)

  • db: a Nano module
  • dbName: the name of the database to use
  • designName: the name of the design document to use
  • user: a String or callback which fetches the username

You can also optionally pass in a separate db name for storing and retrieving audit documents.

var audit = require('couchcache-audit').withNano(db, dbName, auditDbName, designName, user)

Felix

var audit = require('couchcache-audit').withFelix(db, user)

  • db: a Felix couchcache module
  • user: a String or callback which fetches the username

You can also optionally pass in a separate db name for storing and retrieving audit documents.

var audit = require('couchcache-audit').withFelix(db, auditDb, user)

Kanso

Install

Include "couchcache-audit": null in your kanso.json.

Include

var audit = require('couchcache-audit/kanso').withKanso(db)

Where db is a Kanso DB module.

You can also optionally pass in a separate db name for storing and retrieving audit documents.

var audit = require('couchcache-audit/kanso').withKanso(db, auditDb)

Usage

Then call saveDoc, bulkSave, removeDoc, get, or log.

Caveat

This package is in its infancy, use with caution.

Development

Publishing

kanso publish npm publish

Testing

grunt test for the Node implementation. Deploy to kanso to run the kanso tests.

Build Status

Builds brought to you courtesy of Travis CI.

Build Status

FAQs

Package last updated on 22 Jun 2023

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