# romanize

> Convert numbers to roman numerals (useful for books, outlines, documentation, slide decks, etc)

Latest version **1.1.1** (published 2017-04-24) · MIT license · 0 weekly downloads

## Install

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

## 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.1.1 |
| Published | 2017-04-24 |
| First published | 2014-09-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21 |
| Author | Jon Schlinkert |
| Maintainers | doowb, jonschlinkert |
| Keywords | arabic, number, numbers, numeral, numerals, roman, romanize |

## Links

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

## Dependencies (1)

- [repeat-string](https://npm.io/package/repeat-string.md) ^1.6.1

## 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

- 1.1.1 (latest) — 2017-04-24
- 1.1.0 — 2017-04-23
- 1.0.0 — 2017-04-23
- 0.1.2 — 2016-01-25
- 0.1.1 — 2016-01-25
- 0.1.0 — 2014-09-10

## README

# romanize [![NPM version](https://img.shields.io/npm/v/romanize.svg?style=flat)](https://www.npmjs.com/package/romanize) [![NPM monthly downloads](https://img.shields.io/npm/dm/romanize.svg?style=flat)](https://npmjs.org/package/romanize)  [![NPM total downloads](https://img.shields.io/npm/dt/romanize.svg?style=flat)](https://npmjs.org/package/romanize) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/romanize.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/romanize)

> Convert numbers to roman numerals (useful for books, outlines, documentation, slide decks, etc)

## Install

Install with [npm](https://www.npmjs.com/):

```sh
$ npm install --save romanize
```

Install with [yarn](https://yarnpkg.com):

```sh
$ yarn add romanize
```

Based on this [blog post](http://blog.stevenlevithan.com/archives/javascript-roman-numeral-converter) by [Steven Levithan](https://github.com/slevithan).

## Usage

Tests validate [from 1 to 2100](./test.js).

```js
var romanize = require('romanize');
console.log(romanize(58));
//=> 'LVIII'
```

## About

### Related projects

* [deromanize](https://www.npmjs.com/package/deromanize): Convert roman numerals to arabic numbers (useful for books, outlines, documentation, slide decks, etc) | [homepage](https://github.com/jonschlinkert/deromanize "Convert roman numerals to arabic numbers (useful for books, outlines, documentation, slide decks, etc)")
* [repeat-string](https://www.npmjs.com/package/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string. | [homepage](https://github.com/jonschlinkert/repeat-string "Repeat the given string n times. Fastest implementation for repeating a string.")
* [to-regex-range](https://www.npmjs.com/package/to-regex-range): Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than… [more](https://github.com/jonschlinkert/to-regex-range) | [homepage](https://github.com/jonschlinkert/to-regex-range "Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.87 million test assertions.")

### Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).

### Contributors

| **Commits** | **Contributor** |  
| --- | --- |  
| 8 | [jonschlinkert](https://github.com/jonschlinkert) |  
| 1 | [kemitchell](https://github.com/kemitchell) |  

### Building docs

_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_

To generate the readme, run the following command:

```sh
$ npm install -g verbose/verb#dev verb-generate-readme && verb
```

### Running tests

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

```sh
$ npm install && npm test
```

### Author

**Jon Schlinkert**

* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)

### License

Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the [MIT License](LICENSE).

***

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 23, 2017._

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