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:
- Check if a path exists☆151Updated 3 years ago
- Copy a file☆121Updated 3 weeks ago
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last week
- Write a package.json file☆88Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Create an array without duplicates☆72Updated 4 years ago
- Wordwrap a string with ANSI escape codes☆128Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Check if something is a promise☆46Updated 4 years ago
- Toggle the CLI cursor☆111Updated last year
- Read a package.json file☆171Updated last year
- Check if a path is a file, directory, or symlink☆78Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Find the closest package.json file☆165Updated 3 months ago
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 10 months ago
- Sort the keys of an object☆104Updated 2 weeks 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 2 years ago
- Get the latest version of an npm package☆176Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 3 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated last year
- Parse `.git/config` into a JavaScript object. sync or async.☆62Updated 6 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆142Updated 4 years ago
- normalizes package metadata, typically found in package.json file.☆203Updated last month
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year