Skip to content

psirenny/lasergun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laser gun

A javascript Raygun.io plugin alternative to:

Build Status

lasergun

Motivation

The raygun4node plugin does not work when browserified. I found it difficult to handle errors in isomorphic web apps. Creating a wrapper around raygun4node and raygun4js is hard because each plugin has a different api.

I also wanted the plugin to have a chainable fluent interface. Passing custom data, tags, etc. in the other plugins was cumbersome.

Installation

$ npm install lasergun --save

Usage

var raygun = require('lasergun');

raygun()
  .version('1.0.0')
  .apiKey(...)
  .data({foo: 'bar'})
  .tags(['baz', 'quz'])
  .message('testing')
  .send(err);

About

A browserifiable Raygun.io plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published