# wingi

> Minimal number formatting

Latest version **0.0.4** (published 2015-04-08) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2015-04-08 |
| First published | 2015-04-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Johan West |
| Maintainers | mrwest808 |

## Links

- npm: https://www.npmjs.com/package/wingi
- Repository: https://github.com/mrwest808/wingi
- Issues: https://github.com/mrwest808/wingi/issues
- npm.io page: https://npm.io/package/wingi

## Recent versions

- 0.0.4 (latest) — 2015-04-08
- 0.0.3 — 2015-04-05
- 0.0.2 — 2015-04-05
- 0.0.1 — 2015-04-04

## README

# wingi (swahili for *quantity*)
Convert numbers to a shorter string format.

## Example
```javascript
var wingi = require('wingi');

console.log(wingi(700.28));     // -> 700.3
console.log(wingi(1378));       // -> 1.4k
console.log(wingi(2780001));    // -> 2.8m
console.log(wingi(3420000000)); // -> 3.4b
console.log(wingi(-8831));      // -> -8.8k
```

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