Skip to content

Easy formatted numbers, currency and percentage with input/directive mask for Vue.js

License

Notifications You must be signed in to change notification settings

coders-tm/vue-number-format

Repository files navigation

npm Version npm Downloads github Stars Bundlephobia License Sponsor Me on GitHub

vue-number-format

Vue Number Format is used to format a number using fixed-point notation. It can be used to format a number with a specific number of digits to the right of the decimal.

Installation

npm install @coders-tm/vue-number-format
or
yarn add @coders-tm/vue-number-format

Features

  • Lightweight
  • Dependency free
  • Component or Directive flavour
  • Format as you type
  • Built-in validation
  • Supports both Vue 3 and Vue 2.

Documentation

Please refer to the project home page for a detailed documentation.

Support me

If you find my work helpful, or you want to support the development, star the repo or buy me a coffee:

ko-fi