# nummern

> Package to spell numbers

Latest version **1.1.0** (published 2017-12-15) · Apache-2.0 license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2017-12-15 |
| First published | 2017-12-12 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | NullDev |
| Maintainers | null_dev |
| Keywords | numbers, numbers2text, spell, nummern |

## Links

- npm: https://www.npmjs.com/package/nummern
- Repository: https://github.com/NLDev/nummern
- Homepage: https://github.com/NLDev/nummern#readme
- Issues: https://github.com/NLDev/nummern/issues
- npm.io page: https://npm.io/package/nummern

## 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.0 (latest) — 2017-12-15
- 1.0.0 — 2017-12-15
- 0.1.3 — 2017-12-13
- 0.1.2 — 2017-12-12
- 0.1.1 — 2017-12-12
- 0.1.0 — 2017-12-12

## README

# Nummern

<p align="center">
<img height="150" width="auto" src="https://nulldev.org/img/nul.png" /><br>
Package to spell out numbers
</p>

## :information_source: About

This NodeJS package allows you to convert numbers to text. It will spell out the whole numbers. 

(Nummern is german for 'Numbers')

> **`123`** -> one hundred twenty-three <br>
> **`2.5`** -> two point five one <br>
> **`-40`** -> minus forty

## :postbox: NPM

[![](https://nodei.co/npm/nummern.svg?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/nummern)

<hr>

## :wrench: Installation

```Assembly
npm i nummern
```

<hr>

## :white_check_mark: Features
  
| Language | Included |
| :---: | :---: |
| English                | :heavy_check_mark: | 
| German                 | :heavy_check_mark: | 
| Bosnian (experimental) | :heavy_check_mark: | 

- Error handling
- Multiple Languages
- Point numbers
- Negative numbers
- zero dependencies

<hr>

## :bulb: Usage

### Convert:


```javascript
nummern(<number>, <optional: language>);
```

Returns the text as string
If no language is specified, english is used.

**Example:**

```Javascript
var nr = require("nummern");

console.log(nr(100));
// => "one hundred"

console.log(nr(1, "german"));
// => "eins"

console.log(nr(201.045, "english"));
// => "one hundred twenty-two point zero four five"

console.log(nr(12, "bosnian"));
// => "dvanaest"
```

<hr>

## :copyright: Copyright

`Copyright (c) 2017 NullDev`

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