# integer-to-ordinal-english

> English ordinal from any integer

Latest version **1.0.2** (published 2018-04-11) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install integer-to-ordinal-english
pnpm add integer-to-ordinal-english
yarn add integer-to-ordinal-english
bun add integer-to-ordinal-english
```

## 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.2 |
| Published | 2018-04-11 |
| First published | 2018-04-11 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Liam Norris |
| Maintainers | timeemit |

## Links

- npm: https://www.npmjs.com/package/integer-to-ordinal-english
- Repository: https://github.com/number-reference/integer-to-ordinal-english
- Homepage: https://github.com/number-reference/integer-to-ordinal-english#readme
- Issues: https://github.com/number-reference/integer-to-ordinal-english/issues
- npm.io page: https://npm.io/package/integer-to-ordinal-english

## Dependencies (1)

- [integer-to-cardinal-english](https://npm.io/package/integer-to-cardinal-english.md) ^1.0.1

## Recent versions

- 1.0.2 (latest) — 2018-04-11
- 1.0.1 — 2018-04-11

## README

# Integer to Cardinal Ordinal

English ordinals from any integer

## Install

```
npm install --save integer-to-ordinal-english
```

## Usage

Import the package

```node
const ordinal = require("integer-to-ordinal-english");
```

Pass in either an integer.

```node
ordinal(127521);
// => "One Hundred and Twenty-Seven Thousand, Five Hundred and Twenty-First"
```

Or a cardinal number (like the output from [Integer to Cardinal](https://github.com/number-reference/integer-to-cardinal-english)).

```node
ordinal("One Hundred and Twenty-Seven Thousand, Five Hundred and Twenty-One");
// => "One Hundred and Twenty-Seven Thousand, Five Hundred and Twenty-First"
```

## Limitations

Vocabulary is currently limited to

    999,999,999,999,999

That is, the library does not currently support one quadrillion or higher.

Higher numbers are easily supported.  If you need it, please don't be shy and
open up a pull request!


## Motivation & Related Work

[Number Reference](http://www.number-reference.com) is an online encyclopedia
of calculations that relies heavily on this and related packages.

## License

Nice and Brief: [BSD-3-Clause](./LICENSE)

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