@types/human-number
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,6 +0,1 @@ | ||
// Type definitions for human-number 1.0 | ||
// Project: https://nicedoc.io/Kikobeats/human-number | ||
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/** | ||
@@ -7,0 +2,0 @@ * Convert number to a human readable string: 13500 → 13.5K. |
{ | ||
"name": "@types/human-number", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "TypeScript definitions for human-number", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/human-number", | ||
"license": "MIT", | ||
@@ -9,4 +10,4 @@ "contributors": [ | ||
"name": "Piotr Błażejewicz", | ||
"url": "https://github.com/peterblazejewicz", | ||
"githubUsername": "peterblazejewicz" | ||
"githubUsername": "peterblazejewicz", | ||
"url": "https://github.com/peterblazejewicz" | ||
} | ||
@@ -23,4 +24,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "177a06e320f20f3c7d9cd2c093870dd853bef17dc5e8b7dd1a1b8a812d5f4ec7", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "38c0e0737a1fe3917ef03f55011dfd93bb41977555da7ea7c1b0815ff097c970", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -9,9 +9,18 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/human-number. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/human-number/index.d.ts) | ||
````ts | ||
/** | ||
* Convert number to a human readable string: 13500 → 13.5K. | ||
*/ | ||
declare function humanNumber(n: number, mapper?: (n: number) => string): string; | ||
export = humanNumber; | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 27 Apr 2021 06:01:20 GMT | ||
* Last updated: Wed, 18 Oct 2023 01:17:35 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
# Credits | ||
These definitions were written by [Piotr Błażejewicz](https://github.com/peterblazejewicz). |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
2949
0
26
5