sindresorhus / arrifyLinks
Convert a value to an array
☆133Updated 4 years ago
Alternatives and similar repositories for arrify
Users that are interested in arrify are comparing it to the libraries listed below
Sorting:
- Check if a value is a plain object☆104Updated last year
- Write a package.json file☆89Updated 4 months ago
- Check if your package was installed globally☆71Updated 2 years ago
- Copy a file☆123Updated 5 months ago
- Read a package.json file☆175Updated 2 months ago
- Check if a path exists☆155Updated 3 years ago
- Indent each line in a string☆115Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆107Updated last year
- Import a module like with `require()` but from a given path☆86Updated 3 years ago
- Truncate a string to a specific width in the terminal☆88Updated 3 months ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆144Updated 5 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Find the closest package.json file☆166Updated 7 months ago
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated 2 years ago
- Create an array without duplicates☆74Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get the latest version of an npm package☆176Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Updated 5 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 4 months ago
- Get the real path of the system temp directory☆85Updated 3 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Strip leading whitespace from each line in a string☆145Updated 3 months ago
- Check if your code is running as an npm or yarn script