# csch

> Calculate the hyperbolic cosecant of a number

Latest version **3.0.0** (published 2026-11-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install csch
pnpm add csch
yarn add csch
bun add csch
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2026-11-27 |
| First published | 2015-02-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^22.12.0 \|\| 24 \|\| >=26 |
| Dependencies | 1 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 0 |
| Author | Kenan Yildirim <kenan@kenany.me> (https://kenany.me/) |
| Maintainers | kenan |
| Keywords | math |

## Links

- npm: https://www.npmjs.com/package/csch
- Repository: https://github.com/kenany/csch
- npm.io page: https://npm.io/package/csch

## Dependencies (1)

- [signum](https://npm.io/package/signum.md) ^1.0.0

## 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

- 3.0.0 (latest) — 2026-11-27
- 2.0.0 — 2023-09-27
- 1.0.2 — 2019-06-25
- 1.0.1 — 2015-02-01
- 1.0.0 — 2015-02-01

## README

# csch

Calculate the hyperbolic cosecant of a number.

## Example

```javascript
import { csch } from 'csch';

csch(Math.PI);
// => 0.08658953753004692
```

## Installation

```bash
$ npm install csch
```

## API

```javascript
import { csch } from 'csch';
```

### `csch(x: number)`

Given a _Number_ `x`, returns the hyperbolic cosecant of `x` as a _Number_.

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