Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "num-words", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Convert digits to words", | ||
@@ -16,2 +16,6 @@ "main": "index.js", | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://git@github.com/salmanm/num-words.git" | ||
}, | ||
"author": "salmanmitha@gmail.com", | ||
@@ -18,0 +22,0 @@ "license": "MIT", |
@@ -7,3 +7,3 @@ # num-words | ||
``` | ||
```javascript | ||
npm i num-words | ||
@@ -14,3 +14,3 @@ ``` | ||
``` | ||
```javascript | ||
1 -> one | ||
@@ -24,2 +24,10 @@ 12 -> twelve | ||
# Usage | ||
```javascript | ||
const numWords = require('num-words') | ||
const amountInWords = numWords(12345) // twelve thousand three hundred and forty five | ||
``` | ||
_Note: This module only supports 9 digits input. A typical usecase for such convertion is in tax invoices or charts etc. For that more than 9 digits input is not very common (and also not very readable)._ | ||
@@ -26,0 +34,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
5125
35
0