sindresorhus / arrify
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
- Write a package.json file☆88Updated 7 months ago
- Read a package.json file☆165Updated last year
- Find the closest package.json file☆162Updated last year
- Check if your package was installed globally☆70Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 4 years ago
- Check if a path exists☆150Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 8 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Get the directory of globally installed packages and binaries☆75Updated last year
- Copy a file☆121Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Get a random temporary file path☆79Updated 2 years ago
- Indent each line in a string☆113Updated 2 years ago
- Check if a value is a plain object☆102Updated 10 months ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Get metadata of a package from the npm registry☆240Updated 8 months ago
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Get the path of the parent module☆77Updated last year
- Get your PATH prepended with locally installed binaries☆104Updated 4 months ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get tags from a remote git repo. Using only JS. No git binary required.☆49Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Easily handle defaults for your options☆73Updated last year
- Create an array without duplicates☆70Updated 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…☆92Updated 2 years ago