sindresorhus / arrify
Convert a value to an array
☆130Updated 3 years ago
Alternatives and similar repositories for arrify:
Users that are interested in arrify are comparing it to the libraries listed below
- Check if a value is a plain object☆102Updated 10 months ago
- Write a package.json file☆88Updated 7 months ago
- Find the closest package.json file☆162Updated last year
- Read a package.json file☆165Updated last year
- Get metadata of a package from the npm registry☆240Updated 7 months ago
- Toggle the CLI cursor☆107Updated 7 months ago
- Check if a path exists☆150Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Let a globally installed package use a locally installed version of itself if available☆154Updated 7 months ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Copy a file☆121Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 4 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Make a function mimic another one☆94Updated 4 months ago
- Get the latest version of an npm package☆176Updated last year
- Check if something is a Node.js stream☆110Updated 4 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆198Updated 5 months ago
- Get the set npm registry URL☆53Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Start a promise chain☆58Updated 3 years ago
- Check if something is a promise☆46Updated 3 years ago