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:
- Check if a value is a plain object☆102Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Check if a path exists☆150Updated 3 years ago
- Copy a file☆121Updated last week
- Get the directory of globally installed packages and binaries☆76Updated last year
- Write a package.json file☆88Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆127Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆141Updated 4 years ago
- Toggle the CLI cursor☆111Updated last year
- Find the closest package.json file☆165Updated 2 months ago
- normalizes package metadata, typically found in package.json file.☆202Updated 3 weeks ago
- Get namespaced config from the closest package.json☆120Updated last year
- Check if something is a promise☆46Updated 4 years ago
- Create an array without duplicates☆71Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 3 years ago
- Check if your code is running as an npm or yarn script☆65Updated 3 years ago
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 9 months ago
- Check if a path is a file, directory, or symlink☆78Updated last year
- Read a package.json file☆169Updated last year
- Let a globally installed package use a locally installed version of itself if available☆154Updated last year
- Sort the keys of an object☆104Updated 11 months ago
- Import a globally installed module☆58Updated 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…☆95Updated 2 years ago
- Get the latest version of an npm package☆176Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆123Updated 5 months ago
- Get metadata of a package from the npm registry☆242Updated last year