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:
- Read a package.json file☆168Updated last year
- Write a package.json file☆88Updated 10 months ago
- Find the closest package.json file☆164Updated last week
- Get the directory of globally installed packages and binaries☆76Updated last year
- Check if a path exists☆151Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 7 months ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 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 year
- Resolve the path of a module like require.resolve() but from a given path☆142Updated 4 years ago
- Sort the keys of an object☆103Updated 9 months ago
- Create an array without duplicates☆71Updated 4 years ago
- Filter object keys and values into a new object☆101Updated last year
- Toggle the CLI cursor☆108Updated 10 months ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 10 months ago
- Get metadata of a package from the npm registry☆242Updated 11 months ago
- Copy a file☆121Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Make your terminal beep☆134Updated 2 years ago
- Read the closest package.json file☆268Updated last year
- Get namespaced config from the closest package.json☆121Updated last year
- Make a function mimic another one☆94Updated 7 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Get the latest version of an npm package☆176Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 years ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 2 years ago