common-utils-plus

0.0.6 • Public • Published

common-utils-plus

Downloads Version License

- common utils plus makes your life easier.

uuid

param is a number which the length of return string value is.

import { uuid } from 'common-utils-plus'

console.log(uuid(36))

the min param number is 24,if we don't pass it to the function, we get a string that has 36 characters.

shuffle

param is an array

import { shuffle } from 'common-utils-plus'
let arr = [1, 2, 3, 4, 5]
console.log(shuffle(arr))

/common-utils-plus/

    Package Sidebar

    Install

    npm i common-utils-plus

    Weekly Downloads

    1

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    11.7 kB

    Total Files

    9

    Last publish

    Collaborators

    • choicelin