sindresorhus / arrify
Convert a value to an array
☆131Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for arrify
- Read a package.json file☆166Updated last year
- Write a package.json file☆89Updated 3 months ago
- Check if a value is a plain object☆102Updated 6 months ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 4 months ago
- Find the closest package.json file☆159Updated last year
- Get the latest version of an npm package☆177Updated 8 months ago
- Check if a path exists☆150Updated 2 years ago
- Get metadata of a package from the npm registry☆237Updated 4 months ago
- 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 3 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Toggle the CLI cursor☆103Updated 3 months ago
- Wordwrap a string with ANSI escape codes☆120Updated last year
- normalizes package metadata, typically found in package.json file.☆196Updated last month
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Import a globally installed module☆57Updated 10 months ago
- Copy a file☆121Updated 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…☆91Updated last year
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Finds the common standard cache directory☆151Updated 9 months ago
- Lazy number range generator☆82Updated 10 months ago