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

@types/human-number

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/human-number - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

human-number/index.d.ts

@@ -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.

11

human-number/package.json
{
"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).
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