spanish-word-to-number
v0.1.1
Published
Converts Spanish words to numbers. | Convierte palabras en español a números.
Downloads
2
Readme
spanish-word-to-number
Converts Spanish words like 'doscientos treinta y cuatro' to numbers '234'.
Convierte palabras a números. Ejemplo: 'doscientos treinta y cuatro' -> '234'
Install
npm i spanish-word-to-number
Usage
import GetNumberFromWord from 'spanish-word-to-number'
const { result } = GetNumberFromWord('doscientos treinta y cuatro')
console.log(result) // 234