sindresorhus / invert-kvLinks
Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}
☆37Updated 3 years ago
Alternatives and similar repositories for invert-kv
Users that are interested in invert-kv are comparing it to the libraries listed below
Sorting:
- Check if a path is inside another path☆38Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Strip the final newline character from a string/buffer☆36Updated 8 months ago
- Check if a value is a regular expression☆24Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 4 months ago
- Is this value a JS regex?☆24Updated 7 months ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Filter object keys and values into a new object☆102Updated last year
- Check if your package was installed globally☆70Updated last year
- Regular expression for matching issue references☆49Updated 9 months ago
- Detect whether a terminal emulator supports hyperlinks☆56Updated 5 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆47Updated 3 years ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆44Updated last month
- Check if a process is running☆58Updated 3 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Check if a file path is a binary file☆46Updated last year
- Slice a string with ANSI escape codes☆49Updated last year
- Add XO to your project☆47Updated last year
- Get the PATH environment variable key cross-platform☆44Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Easily handle defaults for your options☆75Updated last year
- Make a function mimic another one☆94Updated 8 months ago
- Gracefully restore the CLI cursor on exit☆38Updated 11 months ago
- Shorten GitHub links like GitHub shortens Issues and Commit links.☆83Updated 8 months ago
- Simple wildcard matching☆34Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago