0.1.0 • Published 5 years ago

errporter v0.1.0

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

errporter

Let users report errors to GitHub

This project is currently under development

Installation

As usual, run npm install errporter.

Usage

Command line interface

errporter ls-age/errporter --title "Something did not work"

Inside a node module

import { reportError } from 'errporter';

async function doSomething() {
  ...
}

doSomething().catch(async error => {
  // Your error handling, e.g.:
  // process.exitCode = 1;
  // console.error(error);

  await reportError(error);
});