errporter
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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);
});

Package Sidebar

Install

npm i errporter

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

17.5 kB

Total Files

17

Last publish

Collaborators

  • lhechenberger