sindresorhus / arrifyLinks
Convert a value to an array
☆129Updated 3 years ago
Alternatives and similar repositories for arrify
Users that are interested in arrify are comparing it to the libraries listed below
Sorting:
- Copy a file☆121Updated last year
- Wordwrap a string with ANSI escape codes☆126Updated last year
- Check if a value is a plain object☆102Updated last year
- Get your PATH prepended with locally installed binaries☆105Updated 9 months ago
- Write a package.json file☆88Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆122Updated 5 months ago
- Check if a path exists☆151Updated 3 years ago
- Sort the keys of an object☆104Updated 10 months ago
- Find the closest package.json file☆164Updated last month
- Get the latest version of an npm package☆176Updated last year
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆95Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Read a package.json file☆169Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Check if your package was installed globally☆70Updated last year
- Create an array without duplicates☆71Updated 4 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆141Updated 4 years ago
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Check if your code is running as an npm or yarn script☆65Updated 3 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Updated 4 years ago
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Filter object keys and values into a new object☆103Updated last year
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year