New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

extend-err

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extend-err

[![CircleCI](https://circleci.com/gh/YasushiKobayashi/js-modules.svg?style=svg)](https://circleci.com/gh/YasushiKobayashi/js-modules)

latest
Source
npmnpm
Version
1.0.6
Version published
Weekly downloads
367
-7.32%
Maintainers
1
Weekly downloads
 
Created
Source

CircleCI

codecov

extend-err

TODO: description

Usage

$ yarn add extend-err
$ npm i -S extend-err

example

class CustomError extends ExtendErr implements CustomErrorInterface {
  constructor(message?: string | Error, error?: Error) {
    super(message, error);

    this.name = new.target.name;
    Object.setPrototypeOf(this, new.target.prototype);
  }
}

https://github.com/YasushiKobayashi/js-modules/blob/master/src/extend-err/src/extend-err.spec.ts

FAQs

Package last updated on 30 Dec 2019

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