1.0.1 • Published 3 years ago

input-formmater v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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()