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