Get the system locale
☆229Feb 4, 2026Updated last month
Alternatives and similar repositories for os-locale
Users that are interested in os-locale are comparing it to the libraries listed below
Sorting:
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 10 months ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Mapping between standard locale identifiers and Windows locale identifiers (LCID)☆39Apr 30, 2024Updated last year
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- [DEPRECATED] Node.js `os.homedir()` ponyfill☆61Jan 24, 2021Updated 5 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated last year
- Lax URL parsing with support for protocol-less URLs and IPs☆55Sep 7, 2025Updated 6 months ago
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 6 months ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 4 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 6 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Jan 21, 2026Updated last month
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Returns the next buffer/object in a stream's readable queue☆22Jan 17, 2024Updated 2 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆39Dec 15, 2023Updated 2 years ago
- Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulti…☆39Sep 1, 2017Updated 8 years ago
- Check if a path is inside another path☆40Sep 11, 2025Updated 6 months ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago