# universal-circle

> Circle math

Latest version **0.1.4** (published 2019-06-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install universal-circle
pnpm add universal-circle
yarn add universal-circle
bun add universal-circle
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2019-06-06 |
| First published | 2018-04-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Yanick Rochon |
| Maintainers | yanickrochon |
| Keywords | circle, math |

## Links

- npm: https://www.npmjs.com/package/universal-circle
- npm.io page: https://npm.io/package/universal-circle

## Dependencies (1)

- [jest](https://npm.io/package/jest.md) ^24.8.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

- 0.1.4 (latest) — 2019-06-06
- 0.1.2 — 2019-06-06
- 0.1.1 — 2019-06-06
- 0.1.0 — 2019-06-06
- 0.0.3 — 2019-06-05
- 0.0.2 — 2019-06-05
- 0.0.1 — 2018-04-05

## README

# Universal Circle

Everything to know about circles.


## API

### Circle

* **Circle(radius)**
* **circle.radius** *{Number}*
* **circle.circumference()** *{Number}*
* **circle.area()** *{Number}*
* **circle.toSegmentFromHeight(height)** *{CircleSegment}*
* **circle.toSegmentFromChord(chordLength)** *{CircleSegment}*

### CircleAngle

* **Circle.Angle(angle)**
* **Circle.Angle.radians(degrees)** *{Number}*
* **angle.angle** *{Number}*
* **angle.degrees()** *{Number}*
* **angle.toSegmentFromHeight(height)** *{CircleSegment}*
* **angle.toSegmentFromChord(chordLength)** *{CircleSegment}*

### CircleSegment

* **Circle.Segment(chordLength, height)**
* **Circle.Segment.height(radius, angle)** *{Number}*
* **Circle.Segment.chordLength(radius, angle)** *{Number}*
* **segment.chordLength** *{Number}*
* **segment.height** *{Number}*
* **segment.arcLength()** *{NUmber}*
* **segment.area()** *{Number}*
* **segment.circleRadius()** *{Number}*
* **segment.toAngle()** *{CircleAngle}*
* **segment.toCircle()** *{Circle}*


## License

MIT

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