# words-to-decimal

> a parser to translate words to numbers

Latest version **1.0.11** (published 2021-08-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install words-to-decimal
pnpm add words-to-decimal
yarn add words-to-decimal
bun add words-to-decimal
```

## 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.11 |
| Published | 2021-08-20 |
| First published | 2020-06-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kalie Mo |
| Maintainers | kaliek |
| Keywords | fraction |

## Links

- npm: https://www.npmjs.com/package/words-to-decimal
- Repository: https://github.com/kaliek/words-to-decimal
- Homepage: https://github.com/kaliek/words-to-decimal#readme
- Issues: https://github.com/kaliek/words-to-decimal/issues
- npm.io page: https://npm.io/package/words-to-decimal

## Dependencies (3)

- [jest-cli](https://npm.io/package/jest-cli.md) ^26.0.1
- [pluralize](https://npm.io/package/pluralize.md) ^8.0.0
- [words-to-numbers](https://npm.io/package/words-to-numbers.md) ^1.5.1

## Recent versions

- 1.0.11 (latest) — 2021-08-20
- 1.0.8 — 2020-06-13
- 1.0.7 — 2020-06-13
- 1.0.6 — 2020-06-13
- 1.0.5 — 2020-06-07
- 1.0.4 — 2020-06-07
- 1.0.3 — 2020-06-07
- 1.0.2 — 2020-06-07
- 1.0.1 — 2020-06-07
- 1.0.0 — 2020-06-07

## README

# Words To Decimal

Parse words and evaluate the results.

```
npm install words-to-decimal
```
TODO: add fuzzy logic

## Basic Examples

```javascript
import { wordsToDecimal } from 'words-to-decimal';
wordsToDecimal('half'); // 0.5
wordsToDecimal('one and half'); // 1.5
wordsToDecimal('three quarters'); // 0.75
```

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