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