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

divshot-dumper

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

divshot-dumper

Divshot error log dumping for the command-line

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
25
increased by257.14%
Maintainers
1
Weekly downloads
 
Created
Source

divshot-dumper

Divshot error log dumping for the command-line

Install

npm install divshot-dumper --save

Usage

Divshot dumper listens for 3 events:

  • response - This is what actually gets logged to the file.
  • response:success - Status codes less than 400
  • response:error - This even will trigger writing to the debug file

All dumps are written to the file divshot-debug.log.

var EventEmitter = require('events').EventEmitter;
var dumper = require('divshot-dumper');

var emitter = new EventEmitter();

dumper(emitter);

emitter.emit('response', {});
emitter.emit('response:success', {});
emitter.emit('response:error', {});

Run Tests

(WIP)

npm install
npm test

FAQs

Package last updated on 22 Jan 2015

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