sindresorhus / arrify
Convert a value to an array
☆130Updated 3 years ago
Alternatives and similar repositories for arrify:
Users that are interested in arrify are comparing it to the libraries listed below
- Read a package.json file☆166Updated last year
- Write a package.json file☆89Updated 6 months ago
- Check if a value is a plain object☆102Updated 9 months ago
- Check if a path exists☆150Updated 2 years ago
- Find the closest package.json file☆162Updated last year
- Get the directory of globally installed packages and binaries☆75Updated 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
- Get the latest version of an npm package☆176Updated 11 months ago
- Get metadata of a package from the npm registry☆238Updated 7 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 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…☆91Updated 2 years ago
- Import a globally installed module☆57Updated last year
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- normalizes package metadata, typically found in package.json file.☆199Updated 4 months ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Read the closest package.json file☆266Updated last year
- Let a globally installed package use a locally installed version of itself if available☆154Updated 6 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Copy a file☆121Updated last year
- Get your PATH prepended with locally installed binaries☆104Updated 3 months ago
- Toggle the CLI cursor☆106Updated 6 months ago
- Get the path to the user home directory☆161Updated 3 years ago
- Manipulate the HTTP Vary header☆61Updated 9 months ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Try to downgrade the permissions of a process with root privileges and block access if it fails☆31Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆97Updated last year
- Check if a string matches the name of a Node.js builtin module☆58Updated 9 months ago