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
- Read a package.json file☆165Updated last year
- Write a package.json file☆88Updated 9 months ago
- Find the closest package.json file☆163Updated last year
- Check if a path exists☆151Updated 3 years ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Resolve the path of a module like require.resolve() but from a given path☆142Updated 4 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 9 months ago
- Read the closest package.json file☆267Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Sort the keys of an object☆103Updated 7 months ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Copy a file☆120Updated last year
- Check if your package was installed globally☆70Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Get the latest version of an npm package☆176Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Get metadata of a package from the npm registry☆241Updated 9 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 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…☆93Updated 2 years ago
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Create and parse HTTP Content-Type header☆136Updated 9 months ago
- Easily handle defaults for your options☆74Updated last year
- Check if a value is a plain object☆102Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Toggle the CLI cursor☆107Updated 9 months ago
- Parse the things that can be arguments to `npm install`☆130Updated 3 months ago
- Get your PATH prepended with locally installed binaries☆104Updated 6 months ago
- Import a globally installed module☆58Updated last year
- Find the root directory of a Node.js project or npm package☆242Updated last year
- Get the real path of the system temp directory☆83Updated 2 years ago