# math.acosh

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

Latest version **1.0.2** (published 2022-04-11) · MIT license · 0 weekly downloads

> **Native alternative:** Math.acosh — Use native JavaScript (Node 0.10.0+) (https://developer.mozilla.orgGlobal_Objects/Math/acosh)

## Install

```sh
npm install math.acosh
pnpm add math.acosh
yarn add math.acosh
bun add math.acosh
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-04-11 |
| First published | 2021-01-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 15.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Nicolò Ribaudo |
| Maintainers | ljharb |
| Keywords | Math, acosh, Math.acosh, shim, polyfill, es-shim, API |

## Links

- npm: https://www.npmjs.com/package/math.acosh
- Repository: https://github.com/es-shims/Math.acosh
- Homepage: https://github.com/es-shims/Math.acosh#readme
- Issues: https://github.com/es-shims/Math.acosh/issues
- Funding: https://github.com/es-shims/Math.acosh?sponsor=1
- npm.io page: https://npm.io/package/math.acosh

## Dependencies (3)

- [is-nan](https://npm.io/package/is-nan.md) ^1.3.2
- [math.log1p](https://npm.io/package/math.log1p.md) ^1.0.3
- [define-properties](https://npm.io/package/define-properties.md) ^1.1.3

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2022-04-11
- 1.0.1 — 2021-10-02
- 1.0.0 — 2021-01-05

## README

# Math.acosh <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

[![github actions][actions-image]][actions-url]
[![coverage][codecov-image]][codecov-url]
[![dependency status][deps-svg]][deps-url]
[![dev dependency status][dev-deps-svg]][dev-deps-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

[![npm badge][npm-badge-png]][package-url]

An ESnext spec-compliant `Math.acosh` shim/polyfill/replacement that works as far down as ES3.

This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://tc39.es/ecma262/#sec-map-objects).

## Getting started

```sh
npm install --save math.acosh
```

## Usage/Examples

```js
console.log(Math.acosh(1)); // 0
console.log(Math.acosh(2)); // 1.3169578969248166
console.log(Math.acosh(0)); // NaN
```

## Tests
Simply clone the repo, `npm install`, and run `npm test`

[package-url]: https://npmjs.org/package/math.acosh
[npm-version-svg]: https://versionbadg.es/es-shims/Math.acosh.svg
[deps-svg]: https://david-dm.org/es-shims/Math.acosh.svg
[deps-url]: https://david-dm.org/es-shims/Math.acosh
[dev-deps-svg]: https://david-dm.org/es-shims/Math.acosh/dev-status.svg
[dev-deps-url]: https://david-dm.org/es-shims/Math.acosh#info=devDependencies
[npm-badge-png]: https://nodei.co/npm/math.acosh.png?downloads=true&stars=true
[license-image]: https://img.shields.io/npm/l/math.acosh.svg
[license-url]: LICENSE
[downloads-image]: https://img.shields.io/npm/dm/math.acosh.svg
[downloads-url]: https://npm-stat.com/charts.html?package=math.acosh
[codecov-image]: https://codecov.io/gh/es-shims/Math.acosh/branch/main/graphs/badge.svg
[codecov-url]: https://app.codecov.io/gh/es-shims/Math.acosh/
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Math.acosh
[actions-url]: https://github.com/es-shims/Math.acosh/actions

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