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:
- Indent each line in a string☆114Updated 3 years ago
- Check if a value is a plain object☆103Updated last year
- Copy a file☆122Updated 4 months ago
- Check if a path exists☆155Updated 3 years ago
- Write a package.json file☆89Updated 3 months ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Check if your package was installed globally☆70Updated 2 years ago
- Read a package.json file☆174Updated last month
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Wordwrap a string with ANSI escape codes☆130Updated 3 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Toggle the CLI cursor☆113Updated last year
- Strip leading whitespace from each line in a string☆144Updated 2 months ago
- Truncate a string to a specific width in the terminal☆88Updated last month
- Create an array without duplicates☆74Updated 4 years ago
- Resolve the path of a module like require.resolve() but from a given path☆144Updated 4 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Find the closest package.json file☆166Updated 6 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 3 months ago
- Parse `.git/config` into a JavaScript object. sync or async.☆62Updated 7 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Filter object keys and values into a new object☆105Updated last year
- Get the path of the caller module☆67Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- Get the real path of the system temp directory☆84Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a string☆112Updated 4 years ago