Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

math-cosh

sindresorhus7MITdeprecated2.0.0

Deprecated

ES2015 Math.cosh() ponyfill

es2015, ponyfill, polyfill, shim, number, math, cosh, hyperbolic, cosine

readme

math-cosh

ES2015 Math.cosh() ponyfill

Install

$ npm install math-cosh

Usage

const mathCosh = require('math-cosh');

mathCosh(1);
//=> 1.5430806348152437

License

MIT © Sindre Sorhus