1.0.4 • Published 1 year ago

meow-sort v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Meow-Sort randomSortJS

Github Page : https://github.com/pikpokjeon/meowSort Hits NPM PAGE :https://www.npmjs.com/package/meow-sort Hits Random Sorting your Array's any type of Element or Object's Values

UPDATE - 15/11/22 : Fixed issue.


HOW TO USE

Array

import {meowSort} from 'meow-sort'

const orderedArray = [1, 2, 3, [4, 5, 6], 7, 8, 9, [10, 11], 13], 14 
const randomized = meowSort.random(orderedArray)
// [3, [ 10, 11 ], 1, 13, 8, [ 4, 5, 6 ], 7, 2, 9 ]

Object

import {meowSort} from 'meow-sort'

const obj = {1:'A',2:'B',3:['C','D'],4:'E'}
const randomized = meowSort.random(obj)
// [ [ 'C', 'D' ], 'E', 'A', 'B' ]

Contributors

  • pikpokjeon
  • (welcome to contribute)

Next version plan

  • randomize in range
1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago