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

react-number-format

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-number-format - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

MIT-LICENSE.txt

2

dist/react-number-format.js
/*!
* react-number-format - 1.1.0
* react-number-format - 1.1.1
* Author : Sudhanshu Yadav

@@ -4,0 +4,0 @@ * Copyright (c) 2016,2017 to Sudhanshu Yadav - ignitersworld.com , released under the MIT license.

/*!
* react-number-format - 1.1.0
* react-number-format - 1.1.1
* Author : Sudhanshu Yadav

@@ -4,0 +4,0 @@ * Copyright (c) 2016,2017 to Sudhanshu Yadav - ignitersworld.com , released under the MIT license.

{
"name": "react-number-format",
"description": "React component to format number in an input or as a text.",
"version": "1.1.0",
"version": "1.1.1",
"main": "lib/number_format.js",

@@ -6,0 +6,0 @@ "author": "Sudhanshu Yadav",

@@ -25,3 +25,3 @@ # react-number-format

| suffix | String (ex : /-) | none | Add a prefix after the number |
| value | Number | null | Give initial value to number format |
| value | Number | null | Value to number format |
| displayType | String: text / input | input | If input it renders a input element where formatting happens as you input characters. If text it renders it as a normal text in a span formatting the given value |

@@ -28,0 +28,0 @@ | format | String : Hash based ex (#### #### #### ####) <br/> Or Function| none | If format given as hash string allow number input inplace of hash. If format given as function, component calls the function with unformatted number and expects formatted number.

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