⚠️ This package is not published onnpm
, because it depends on https://github.com/es-shims/Math.expm1 which is not published yet.
An ESnext spec-compliant Math.sinh
shim/polyfill/replacement that works as far down as ES3.
This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.
npm install --save math.sinh
console.log(Math.sinh(0)); // 0
console.log(Math.sinh(1)); // 1.1752011936438014
Simply clone the repo, npm install
, and run npm test