New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

number-display

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

number-display - npm Package Versions

2

2.3.1

Diff

entronad
published 2.3.0 •

Changelog

Source

2.3.0

2020-06-02

  • Make decimal point configurable.
entronad
published 2.2.3 •

Changelog

Source

2.2.3

2020-01-08

  • allowText default to false, to prevent unexpected result of input ''.
entronad
published 2.2.2 •

Changelog

Source

2.2.2

2020-01-08

  • Fix config params to be optional in index.d.ts.
entronad
published 2.2.1 •

Changelog

Source

2.2.1

2020-01-08

  • Fix file set in package.json.
entronad
published 2.2.0 •

Changelog

Source

2.2.0

2020-01-08

  • Add built-in types for Typescript.
  • Update license to 2020.
entronad
published 2.1.2 •

Changelog

Source

2.1.2

2019-12-07

  • Change back param precision name to 'decimal', to avoid confusion with the common 'toPrecision' meaning.
  • Add inner precision limit to avoid float error.
entronad
published 2.1.1 •

Changelog

Source

2.1.1

2019-12-05

  • Change param decimal name to 'precision', and default to equal to param length, witch means no additional limit.
  • Opt the rounding function.
  • Change param comma name to 'separator'.
entronad
published 2.1.0 •

Changelog

Source

2.1.0

2019-12-02

  • Add feature: roundingType. Now you can set the way to round the decimal in 'round', 'floor' or 'ceil', witch default to 'round'.
  • When the length is too small, number-display will return the origin value as a string, instead of throwing an error.
entronad
published 2.0.3 •

Changelog

Source

2.0.3

2019-07-30

  • Fix decimal trailing zeros with units.
2
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