New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-refine-number

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-refine-number

Refine a number in React and React Native

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

React Refine Number

Refine a number in React and React Native 1000000.991,000,000.99

CI Version Downloads Install size

NPM

Try in CodeSandbox

Edit react-camelcase

Install

$ npm install react-refine-number

Usage

import RefineNumber from 'react-refine-number';

const App = () => (
  <div>
    <RefineNumber number={1000.55} options={{ delimiter: '.', separator: ',' }} />
  </div>
);

// => '1.000,55'

API

number={input}

Type: integer

<RefineNumber number={1000} />

// => '1,000'

options={object}

Type: object

<RefineNumber number={1000.55} options={{ delimiter: '.', separator: ',' }} />

// => '1.000,55'

License

MIT © Yohix

Keywords

yohix

FAQs

Package last updated on 21 Mar 2020

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