pixiu-number-toolkit Documentation
pixiu-number-toolkit is a collection of number utilities written in TypeScript. It provides a set of functions for number conversion, finance calculations, formatting, and math operations. It also includes utilities for Vue's Element Plus library.
Documentation - Official guide for pixiu-number-toolkit with examples and usage scenarios.
Changelog - View the detailed version history of pixiu-number-toolkit here.
Installation
To install pixiu-number-toolkit
, use the following command:
npm install pixiu-number-toolkit
Utilities
Basic Utilities
Function Name | Description |
---|---|
Digit Chinese Uppercase | Convert numeric amount to Chinese uppercase |
Number To Words | Convert numeric to word representation in either English or Chinese |
Count To | Number Transition Effect |
Math | Performing various mathematical operations |
Thousand Separator | Add or remove thousand separator |
Percentage | Convert number to percentage format |
Compute expression | Mathematical formula |
Unit Conversion | Unit conversion |
Validation | Numeric related validation |
Utils | Common tools |
Element Plus Utilities
Function Name | Description |
---|---|
Thousand Separator | Use thousand separator in Element Plus library's input component |
Form Validation | Use form validation in Element Plus library's Form component |
Table Summary Row | Use summary row in Element Plus library's Table component |
Contributing
Contributions are welcome. Please submit a pull request or create an issue to contribute to the project.