Rotate an array by a given number of steps
MIT License
Bot releases are hidden (Show)
Published by sindresorhus 5 months ago
🦄
Create an array with values that are present in the first input array but not additional ones
Randomize the order of items in an array
Move an array item to a different position
Generate random numbers that are consecutively unique
Negative array index support `array[-1]` using ES2015 Proxy
Cycle through the items of an array
Lazy number range generator
Sort an array of numbers
Get consecutively unique elements from an array
Round a number to a specific number of decimal places: 1.234 → 1.2
Generate a random integer
Get the number of days in a year