@esm2cjs/strip-final-newline
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
// 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
import { signalsByName, signalsByNumber } from "human-signals";
const { signalsByName, signalsByNumber } = require("human-signals");
For more details, please see the original repository.
To support my efforts in maintaining the ESM/CommonJS hybrid, please sponsor here.
To support the original author of the module, please sponsor here.