# number-name

> Converts a number to its English name

Latest version **0.1.5** (published 2016-07-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install number-name
pnpm add number-name
yarn add number-name
bun add number-name
```

## 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.5 |
| Published | 2016-07-21 |
| First published | 2016-01-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Francesco Trotta |
| Maintainers | fasttime |
| Keywords | convert, name, number, text, transform, word |

## Links

- npm: https://www.npmjs.com/package/number-name
- Repository: https://github.com/fasttime/Number-Name
- Issues: https://github.com/fasttime/Number-Name/issues
- npm.io page: https://npm.io/package/number-name

## 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.5 (latest) — 2016-07-21
- 0.1.4 — 2016-07-09
- 0.1.3 — 2016-07-09
- 0.1.2 — 2016-07-09
- 0.1.1 — 2016-07-09
- 0.1.0 — 2016-01-12

## README

# Number Name

A library to convert numbers to their English names.

## Setup Instructions

### In the Browser

To use the Number Name Library in your project, download
[number-name.js](https://github.com/fasttime/Number-Name/blob/master/lib/number-name.js) or
[number-name.min.js](https://github.com/fasttime/Number-Name/blob/master/lib/number-name.min.js)
from GitHub and include it in your HTML file.

```html
<script src="number-name.js"></script>
```

Alternatively, you can hotlink the online file.

```html
<script src="https://rawgithub.com/fasttime/Number-Name/master/lib/number-name.min.js"></script>
```

## Usage

```js
var name = numberName(12345);
// twelve thousand three hundred forty-five
```

```js
var name = numberName(-Math.PI);
// minus three point one four one five nine two six five three five eight nine seven nine
```

```js
var name = numberName(1e42);
// one tredecillion
```

*This is a preliminary documentation and may be subject to change at any time.*

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