0.0.5 • Published 2 years ago

cheng-utils v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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);
    numbercontent
    Array lengthArray 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.