/Math.sinh

An ES-spec-compliant Math.sinh shim/polyfill/replacement that works as far down as ES3

Primary LanguageJavaScriptMIT LicenseMIT

Math.sinh Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

⚠️ This package is not published on npm, 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.

Getting started

npm install --save math.sinh

Usage/Examples

console.log(Math.sinh(0)); // 0
console.log(Math.sinh(1)); // 1.1752011936438014

Tests

Simply clone the repo, npm install, and run npm test