sindresorhus / invert-kvView external linksLinks
Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}
☆37Feb 26, 2022Updated 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:
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Faster, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks.☆25Nov 26, 2018Updated 7 years ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Dec 30, 2025Updated last month
- Check if a path is inside another path☆40Sep 11, 2025Updated 5 months ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- schema package for HTTPArchive (HAR)☆22Jun 4, 2020Updated 5 years ago
- Assign the enumerable es6 Symbol properties from an object (or objects) to the first object passed on the arguments. Can be used as a sup…☆18Sep 14, 2018Updated 7 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Mapping between standard locale identifiers and Windows locale identifiers (LCID)☆39Apr 30, 2024Updated last year
- Clone and modify a RegExp instance☆24Jul 8, 2022Updated 3 years ago
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 4 years ago
- One promise for multiple requests in flight to avoid async duplication☆17Aug 4, 2020Updated 5 years ago
- Simple `setImmediate` shim☆29Sep 13, 2025Updated 5 months ago
- Higher-order functions for easier error handling☆13Apr 15, 2023Updated 2 years ago
- ☆26Dec 7, 2017Updated 8 years ago
- Minimal async jobs utility library, with streams support☆25Dec 18, 2025Updated last month
- Returns the next buffer/object in a stream's readable queue☆22Jan 17, 2024Updated 2 years ago
- list of SPDX standard license exceptions☆16Apr 25, 2024Updated last year
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Dec 15, 2020Updated 5 years ago
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, funct…☆19Aug 20, 2021Updated 4 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago