Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

sproogen/error-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

error-reporter

error-reporter is a tiny Javascript library detecting uncaught Javascript errors and logging them.

Install via npm

  1. Install the library
npm install --save sproogen/error-reporter
  1. Link to main.min.js
<script src="node_modules/error-reporter/dist/main.min.js"></script>

Alternatively you could download or clone the repo and include main.min.js from the downloaded library.

Demo

A demo site can be found in the demo directory. To install this run npm install from the directory.

Building

In order to build the error-reporter, ensure that you have Git and Node.js installed.

  1. Clone the repo
git clone https://github.com/sproogen/error-reporter
  1. cd into error-reporter directory
cd error-reporter
  1. Install all the dependencies
npm install
  1. Use the following to build and test
npm run build # Build the repo using webpack and copy the compiled files into the dist directory
npm run test  # This will do something sometime

About

A tiny JS error reporter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published