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
Sorting:
- Read a package.json file☆167Updated last year
- Find the closest package.json file☆164Updated last year
- Write a package.json file☆88Updated 10 months ago
- Check if a path exists☆151Updated 3 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 10 months ago
- Check if a value is a plain object☆102Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆142Updated 4 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Create an array without duplicates☆71Updated 4 years ago
- Check if your package was installed globally☆70Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Copy a file☆120Updated last year
- Get metadata of a package from the npm registry☆242Updated 10 months ago
- Import a globally installed module☆58Updated last year
- Get the latest version of an npm package☆176Updated last year
- Toggle the CLI cursor☆108Updated 10 months ago
- Get your PATH prepended with locally installed binaries☆104Updated 7 months ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Read the closest package.json file☆268Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Filter object keys and values into a new object☆101Updated last year
- 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…☆93Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Make a function mimic another one☆94Updated 7 months ago