# angle-transform-direction

> 角度弧度转方向

Latest version **1.0.1** (published 2019-05-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install angle-transform-direction
pnpm add angle-transform-direction
yarn add angle-transform-direction
bun add angle-transform-direction
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-05-17 |
| First published | 2019-05-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | jielife |

## Links

- npm: https://www.npmjs.com/package/angle-transform-direction
- Repository: https://github.com/jieli-fe/angle-to-direction
- Homepage: https://github.com/jieli-fe/angle-to-direction#readme
- Issues: https://github.com/jieli-fe/angle-to-direction/issues
- npm.io page: https://npm.io/package/angle-transform-direction

## Recent versions

- 1.0.1 (latest) — 2019-05-17
- 1.0.0 — 2019-05-17

## README

# angle-to-direction
角度弧度转方向

安装:
```shell
npm install angle-transform-direction --save
```


使用:

```js
var tans = require('angle-to-direction');

console.log(tans.degree(50)); // "North East"
console.log(tans.degreeAbbr(50)); // "NE"
console.log(tans.degreeCn(50)); // "东北"
 
console.log(tans.radian(50 / 180 * Math.PI)); // "North East"
console.log(tans.radianAbbr(50 / 180 * Math.PI)); // "NE"
console.log(tans.radianCn(50 / 180 * Math.PI)); // "东北"
```

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