input-formmater

1.0.1 • Public • Published

What is this ?

This is a package that simply formats input fields and adds a comma to every last three digits.

Installation

npm i input-formmater

..Then

Usage

//Step 1
Add a class name called input on the input element you would like to format.

//Step 2
import the formatter
import formatter from 'input-formatterr'

//Step 3
//After it is installed, just invoke it..
formatter()

Readme

Keywords

none

Package Sidebar

Install

npm i input-formmater

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

1.34 kB

Total Files

3

Last publish

Collaborators

  • pelumi-ogundipe