Get XDG Base Directory paths
☆94Sep 18, 2026Updated this week
Alternatives and similar repositories for xdg-basedir
Users that are interested in xdg-basedir are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Updated this week
- Create an array with values that are present in the first input array but not additional ones☆40Updated this week
- Check if a path is in the current working directory☆23Updated this week
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Detect the dominant newline character of a string☆55Updated this week
- Check if a number is a redirect HTTP status code☆25Updated this week
- Truncate a string to a specific width in the terminal☆97Updated this week
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆23Updated this week
- Lax URL parsing with support for protocol-less URLs and IPs☆54Updated this week
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated this week
- list of SPDX standard license exceptions☆16Apr 25, 2024Updated 2 years ago
- Repeat a string - fast☆35Updated this week
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Sep 15, 2025Updated last year
- Check if a path is a file, directory, or symlink☆81Updated this week
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Check if a path is the current working directory☆22Updated this week
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated this week
- Gracefully restore the CLI cursor on exit☆41Updated this week
- Return true if the file is (or the file path has) a dotfile.☆14May 30, 2017Updated 9 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Updated this week
- fs read and write streams based on minipass☆20Oct 25, 2025Updated 10 months ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Decompress a HTTP response if needed☆74Updated this week
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated this week
- Check if a string has ANSI escape codes☆50Updated this week
- Returns an object with the base path and the actual pattern from a glob.☆17Apr 12, 2017Updated 9 years ago
- Check if your code is running as an npm or yarn script☆66Updated this week
- Modern Buffer API polyfill without footguns☆27Apr 22, 2021Updated 5 years ago
- Strip the final newline character from a string/buffer☆37Updated this week
- Node.js 0.12 path.isAbsolute() ponyfill☆42Jan 24, 2021Updated 5 years ago
- Regular expression for matching a shebang line☆48Updated this week
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Lowercase the keys of an object☆42Updated this week
- ☆20Oct 18, 2021Updated 4 years ago
- Check if a file path is a binary file☆49Updated this week
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 5 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 9 years ago
- Strip redundant indentation and indent the string☆55Updated this week
- ☆26Dec 7, 2017Updated 8 years ago