mirror of
https://github.com/acamarata/qibla.git
synced 2026-07-01 03:14:30 +00:00
Add typedoc and typedoc-plugin-markdown as devDependencies. Add typedoc.json config targeting src/index.ts with markdown output to .github/wiki/api. Add docs script to package.json. Generate initial API reference pages. Part of T-E8-03 — TypeDoc automation for all 12 JS/TS packages.
27 lines
682 B
Markdown
27 lines
682 B
Markdown
[**@acamarata/qibla v1.1.1**](../README.md)
|
|
|
|
***
|
|
|
|
[@acamarata/qibla](../README.md) / compassName
|
|
|
|
# Function: compassName()
|
|
|
|
> **compassName**(`bearing`): `"North"` \| `"Northeast"` \| `"East"` \| `"Southeast"` \| `"South"` \| `"Southwest"` \| `"West"` \| `"Northwest"`
|
|
|
|
Defined in: [index.ts:80](https://github.com/acamarata/qibla/blob/1546cd5c71a68dd73136e918b6f3f7f195fb5cc7/src/index.ts#L80)
|
|
|
|
Full compass direction name for a bearing.
|
|
|
|
## Parameters
|
|
|
|
### bearing
|
|
|
|
`number`
|
|
|
|
Bearing in degrees (0-360).
|
|
|
|
## Returns
|
|
|
|
`"North"` \| `"Northeast"` \| `"East"` \| `"Southeast"` \| `"South"` \| `"Southwest"` \| `"West"` \| `"Northwest"`
|
|
|
|
Full direction name (North, Northeast, etc.).
|