Arrify is a simple yet powerful utility for Node.js and browsers. It ensures that a value is always an array. If the input is already an array, it's returned as is. If it's null or undefined, an empty array is returned. For any other single value, it will be wrapped in a new array. This package simplifies handling various data types, making your code more robust and predictable when dealing with arrays.
Arrify, an npm package, has infrequent releases. Version 1.0.0 was released in February 2015, followed by 1.0.1 in December 2015. Version 2 saw two releases in April 2019 (2.0.0 and 2.0.1). The most recent release, version 3.0.0, was in April 2021. There have been no releases since then, including throughout 2022, 2023, 2024, and up to September 2025.
Arrify npm package downloads show a general upward trend from March 2024 to August 2025, peaking in June 2025. However, September 2025 downloads are significantly lower, likely due to incomplete data for the current month. The monthly downloads have consistently been above 100 million since April 2024.