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☆103Updated last year
- Copy a file☆122Updated 4 months ago
- Indent each line in a string☆115Updated 3 years ago
- Check if a path exists☆155Updated 3 years ago
- Create an array without duplicates☆74Updated 4 years ago
- Check if your package was installed globally☆71Updated 2 years ago
- Write a package.json file☆89Updated 4 months ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Find the closest package.json file☆166Updated 7 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- 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 3 years ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Updated 4 years ago
- Truncate a string to a specific width in the terminal☆88Updated 2 months ago
- Wordwrap a string with ANSI escape codes☆130Updated 4 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Strip leading whitespace from each line in a string☆144Updated 3 months ago
- Read a package.json file☆174Updated 2 months ago
- Get the latest version of an npm package☆175Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆144Updated 4 years ago
- Get the auth token set for an npm registry☆34Updated last month
- Toggle the CLI cursor☆113Updated last year
- Get the real path of the system temp directory☆84Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆204Updated 3 weeks ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- The thing npm uses to read package.json files with semantics and defaults and validation and stuff☆225Updated last year
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Sort the keys of an object☆107Updated 4 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago