New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

to-numeral

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

to-numeral

Converts numbers to numerals/words

latest
Source
npmnpm
Version
0.0.43
Version published
Maintainers
1
Created
Source

to-numeral

Converts numbers to words, supports multiple languages

Install

npm install to-numeral

API

toWords(number)

Converts an integer into words. If number is decimal, the decimals will be removed.

import englishNumeral from "to-numeral/dist/lang/english";

englishNumeral.toWords(1234); // “one thausand two hundred and thirty-four”

Languages Supported

Language1234
Englishone thausand two hundred and thirty-four
English (Indian)one thausand two hundred and thirty-four
Frenchmille deux cent trente-quatre
Hindiएक हज़ार दो सौ चौंतीस
Gujaratiએક હજાર બસો ચોત્રીસ

Demo

https://daxgama.github.io/to-numeral-demo/

Change Log

0.0.42
  • Initial release

Keywords

numeral

FAQs

Package last updated on 02 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts