cheng-utils
v0.0.5
Published
there will publish something my common utils, you guy's can try it! I will integrate the commma in to there
Downloads
8
Maintainers
Readme
cheng-utils
Array
Array Generator:
you can use this to generate the same content to mock data. first, import chengArray to your project.
import { ChengArray } from "cheng-utils";next, use the array funtion, the name is arrayGenerator
ChengArray.arrayGenerator(number, content);| number | content | | ------------ | ------------- | | Array length | Array content |
Comma
Number or string to comma:
you can use this to add comma to very large number. first, import ChengComma to your project.
import { ChengComma } from "cheng-utils";next, use the different funtion to change any type number or string to comma, like number, float, int.
