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

bug-report-sender

Package Overview
Dependencies
Maintainers
5
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bug-report-sender

bug report sender

  • 0.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
5
Weekly downloads
 
Created
Source

bug-report-sender

Build Status

send bugs to be analysed

install
npm install bug-report-sender --save

# dependency to inject
npm install request --save
usage
var bugSender = require('bug-report-sender');
var libs = {request: request};

var error_to_send = new Error('THIS IS AN ERROR');

var options = {
  err: error_to_send,
  extra_values: {
    extra1: 'EXTRA VALUE 1',
    extra2: 'EXTRA VALUE 2'
  },
  libs: {requestFunction: require('request')},
  url: 'SOME_URL',
};

bugSender.send(options)
.then(function(result) {
  // OK
});

Test
gulp
Test (with integration test)

to run integration test you need set ENTRYPOINT env

e.g.:

ENTRYPOINT=http://api.io/report/uruwhswaB0z3NMBnIxlPV8xXcy+98FBV gulp
Publish
npm run deploy <version>

Keywords

FAQs

Package last updated on 06 Nov 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