sindresorhus / arrifyLinks
Convert a value to an array
☆131Updated 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 2 months ago
- Check if a value is a plain object☆103Updated last year
- Wordwrap a string with ANSI escape codes☆129Updated last month
- Write a package.json file☆89Updated last month
- Check if a path exists☆153Updated 3 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Updated 4 years ago
- Get the latest version of an npm package☆175Updated last year
- Check if a path is a file, directory, or symlink☆79Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Get your PATH prepended with locally installed binaries☆104Updated 11 months ago
- Read a package.json file☆170Updated last year
- Find the closest package.json file☆165Updated 4 months ago
- Indent each line in a string☆113Updated 3 years ago
- Check if your package was installed globally☆69Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆95Updated 3 years ago
- Resolve the path of a module like require.resolve() but from a given path☆143Updated 4 years ago
- Truncate a string to a specific width in the terminal☆87Updated last month
- Get metadata of a package from the npm registry☆243Updated last year
- Create an array without duplicates☆73Updated 4 years ago
- Toggle the CLI cursor☆112Updated last year
- Check if your code is running as an npm or yarn script☆64Updated last month
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Easily handle defaults for your options☆75Updated 2 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Let a globally installed package use a locally installed version of itself if available☆154Updated last year
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get the real path of the system temp directory☆82Updated 3 years ago
- Filter object keys and values into a new object☆104Updated 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