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

humanize-number

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

humanize-number

Humanize a number (1000000 -> 1,000,000)

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is humanize-number?

The humanize-number npm package is designed to format numbers in a human-readable way by adding commas as thousands separators. This can be particularly useful for displaying large numbers in a more readable format.

What are humanize-number's main functionalities?

Basic Number Formatting

This feature allows you to format numbers by adding commas as thousands separators, making large numbers easier to read.

const humanize = require('humanize-number');
console.log(humanize(1000)); // '1,000'
console.log(humanize(1234567.89)); // '1,234,567.89'

Other packages similar to humanize-number

FAQs

Package last updated on 04 Dec 2013

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

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