# @esm2cjs/human-signals

> Human-friendly process signals. This is a fork of ehmicky/human-signals, but with CommonJS support.

Latest version **5.0.0** (published 2023-05-14) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @esm2cjs/human-signals
pnpm add @esm2cjs/human-signals
yarn add @esm2cjs/human-signals
bun add @esm2cjs/human-signals
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.0.0 |
| Published | 2023-05-14 |
| First published | 2022-08-18 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.17.0 |
| Dependencies | 0 |
| Unpacked size | 38.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dominic Griesel |
| Maintainers | alcalzone |
| Keywords | signal, signals, handlers, error-handling, interrupts, sigterm, sigint, irq, process, exit, exit-code, status, operating-system, es6, javascript, typescript, linux, macos, windows, nodejs |

## Links

- npm: https://www.npmjs.com/package/@esm2cjs/human-signals
- Repository: https://github.com/esm2cjs/human-signals
- Homepage: https://github.com/esm2cjs/human-signals#readme
- Issues: https://github.com/ehmicky/human-signals/issues
- Funding: https://github.com/sponsors/AlCalzone
- npm.io page: https://npm.io/package/@esm2cjs/human-signals

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 5.0.0 (latest) — 2023-05-14
- 4.1.0 (old) — 2022-08-18
- 4.3.1 — 2023-04-26
- 4.0.0 — 2022-08-18
- 3.0.1 — 2022-08-18
- 4.2.1-cjs.0 — 2022-08-18

## README

# @esm2cjs/human-signals

This is a fork of https://github.com/ehmicky/human-signals, but automatically patched to support ESM **and** CommonJS, unlike the original repository.

## Install

Use an npm alias to install this package under the original name:
```
npm i human-signals@npm:@esm2cjs/human-signals
```

```jsonc
// package.json
"dependencies": {
    "human-signals": "npm:@esm2cjs/human-signals"
}
```

> **Note:**
> We strive to use the same versions as the upstream package, but there was a mistake when publishing `4.2.0`.
> We fixed it, but had to re-publish this version as `4.2.1-cjs.0`.

## Usage

```js
// Using ESM import syntax
import { signalsByName, signalsByNumber } from "human-signals";

// Using CommonJS require()
const { signalsByName, signalsByNumber } = require("human-signals");
```


For more details, please see the original [repository](https://github.com/ehmicky/human-signals).

## Sponsoring

To support my efforts in maintaining the ESM/CommonJS hybrid, please sponsor [here](https://github.com/sponsors/AlCalzone).

To support the original author of the module, please sponsor [here](https://github.com/ehmicky/human-signals).

---
_Source: https://npm.io/package/@esm2cjs/human-signals · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
