sindresorhus / arrifyLinks
Convert a value to an array
☆131Updated 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☆103Updated last year
- Check if your package was installed globally☆69Updated 2 years ago
- Copy a file☆121Updated 2 months ago
- Wordwrap a string with ANSI escape codes☆130Updated 2 months ago
- Check if a path exists☆153Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Read a package.json file☆173Updated this week
- Indent each line in a string☆113Updated 3 years ago
- Write a package.json file☆89Updated last month
- Resolve the path of a module like require.resolve() but from a given path☆143Updated 4 years ago
- Get the latest version of an npm package☆175Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 2 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆95Updated 3 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Make your terminal beep☆134Updated 2 months ago
- Find the closest package.json file☆165Updated 5 months ago
- Get your PATH prepended with locally installed binaries☆104Updated last year
- Create an array without duplicates☆73Updated 4 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated last year
- Check if something is a promise☆46Updated 4 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Updated 4 years ago
- Get namespaced config from the closest package.json☆120Updated 2 years ago
- Truncate a string to a specific width in the terminal☆87Updated 2 weeks ago
- normalizes package metadata, typically found in package.json file.☆203Updated last week
- Get the real path of the system temp directory☆82Updated 3 years ago
- Import a module like with `require()` but from the current working directory☆53Updated 3 years ago
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago
- Filter object keys and values into a new object☆104Updated last year
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago