# deg2rad

> Convert degrees to radians

Latest version **2.0.0** (published 2026-05-13) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 50/100 (C)** — status: active.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-05-13 |
| First published | 2015-05-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Adrian Sieber |
| Maintainers | adius |
| Keywords | deg2rad, degree, radian |

## Links

- npm: https://www.npmjs.com/package/deg2rad
- Repository: https://github.com/adius/deg2rad
- Homepage: https://github.com/adius/deg2rad#readme
- Issues: https://github.com/adius/deg2rad/issues
- npm.io page: https://npm.io/package/deg2rad

## Recent versions

- 2.0.0 (latest) — 2026-05-13
- 1.0.0 — 2015-05-08

## README

# Deg2rad

Convert degrees to radians


## Installation

```sh
npm install deg2rad
```


## Usage

```js
import deg2rad from "deg2rad"

console.log(deg2rad(180))
// 3.141592653589793 (Math.PI)
```

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