Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

to-words

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

to-words - npm Package Compare versions

Comparing version 3.6.0 to 3.6.1

__tests__/en-PH.test.ts

8

CHANGELOG.md

@@ -5,2 +5,10 @@ # Changelog

### [3.6.1](https://github.com/mastermunj/to-words/compare/v3.6.0...v3.6.1) (2023-06-27)
### Bug Fixes
* Added PH entry ([e26d507](https://github.com/mastermunj/to-words/commit/e26d507cb9ef5f43dfc00d0b2ce094f0bad209b7))
* **impl:** include file ([004fe95](https://github.com/mastermunj/to-words/commit/004fe95ffd9ea0e34a26f92b8a21124541f02cdf))
## [3.6.0](https://github.com/mastermunj/to-words/compare/v3.5.1...v3.6.0) (2023-06-19)

@@ -7,0 +15,0 @@

12

package.json
{
"name": "to-words",
"version": "3.6.0",
"version": "3.6.1",
"description": "Converts numbers (including decimal points) into words & currency.",

@@ -44,10 +44,10 @@ "keywords": [

"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@types/jest": "^29.5.2",
"@types/lodash": "^4.14.195",
"@types/node": "^20.3.1",
"@types/node": "^20.3.2",
"@types/source-map-support": "^0.5.6",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"cz-conventional-changelog": "^3.3.0",

@@ -54,0 +54,0 @@ "eslint": "^8.43.0",

@@ -106,23 +106,24 @@ # Number to Words

## Supported Locale
| Country | Language | Locale |
|------------|------------|-----------------|
| UAE | English | en-AE |
| Bangladesh | English | en-BD |
| UK | English | en-GB |
| Ghana | English | en-GH |
| India | English | en-IN (default) |
| Myanmar | English | en-MM |
| Mauritius | English | en-MU |
| Nigeria | English | en-NG |
| Nepal | English | en-NP |
| USA | English | en-US |
| Estonia | Estonian | ee-EE |
| Iran | Persian | fa-IR |
| France | French | fr-FR |
| India | Gujarati | gu-IN |
| India | Hindi | hi-IN |
| India | Marathi | mr-IN |
| Suriname | Dutch | nl-SR |
| Brazil | Portuguese | pt-BR |
| Turkey | Turkish | tr-TR |
| Country | Language | Locale |
|-------------|------------|-----------------|
| UAE | English | en-AE |
| Bangladesh | English | en-BD |
| UK | English | en-GB |
| Ghana | English | en-GH |
| India | English | en-IN (default) |
| Myanmar | English | en-MM |
| Mauritius | English | en-MU |
| Nigeria | English | en-NG |
| Nepal | English | en-NP |
| USA | English | en-US |
| Philippines | English | en-PH |
| Estonia | Estonian | ee-EE |
| Iran | Persian | fa-IR |
| France | French | fr-FR |
| India | Gujarati | gu-IN |
| India | Hindi | hi-IN |
| India | Marathi | mr-IN |
| Suriname | Dutch | nl-SR |
| Brazil | Portuguese | pt-BR |
| Turkey | Turkish | tr-TR |

@@ -129,0 +130,0 @@

@@ -12,2 +12,3 @@ import { ConstructorOf, ConverterOptions, LocaleInterface, NumberWordMap, ToWordsOptions } from './types';

import enGb from './locales/en-GB';
import enPh from './locales/en-PH';
import faIr from './locales/fa-IR';

@@ -69,2 +70,4 @@ import frFr from './locales/fr-FR';

return enGb;
case 'en-PH':
return enPh;
case 'fa-IR':

@@ -71,0 +74,0 @@ return faIr;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc