Get the username of the current user
☆145Nov 14, 2023Updated 2 years ago
Alternatives and similar repositories for username
Users that are interested in username 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 fullname of the current user☆47Sep 18, 2026Updated last month
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 5 years ago
- Detect the dominant newline character of a string☆56Sep 18, 2026Updated last month
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Sep 18, 2026Updated last month
- Split a string at one or more indices☆25May 3, 2021Updated 5 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 18, 2026Updated last month
- Get the number of days in a month☆27Oct 18, 2021Updated 5 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated last month
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 years ago
- Get the first path that exists on disk of multiple paths☆64Sep 18, 2026Updated last month
- Get the path to the user home directory☆13Apr 9, 2021Updated 5 years ago
- Get an array of parent directories including itself☆26Nov 7, 2023Updated 2 years ago
- Get the path to an app (macOS)☆64Sep 18, 2026Updated last month
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated last month
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Check if the process is running as root user, for example, one started with `sudo`☆79Sep 18, 2026Updated last month
- Check if the process is running with elevated privileges☆44Aug 11, 2021Updated 5 years ago
- A safer `.hasOwnProperty()`☆29Sep 18, 2026Updated last month
- Get a Gravatar image from an identifier, such as an email☆41Sep 10, 2021Updated 5 years ago
- Get the name of the current operating system. Example: macOS Sierra☆149Sep 18, 2026Updated last month
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 5 years ago
- Normalize the newline characters in a string to `\n`☆30Sep 18, 2026Updated last month
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Sep 18, 2026Updated last month
- Get user info from a GitHub username☆24Oct 14, 2021Updated 5 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated 2 years ago
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated last month
- Get the default browser☆28Dec 19, 2023Updated 2 years ago
- Rename a function☆46Nov 5, 2023Updated 2 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 5 years ago
- Check if a path exists☆26Sep 18, 2026Updated last month
- Check if a value is a function☆29May 3, 2021Updated 5 years ago
- Stream just returns blank buffers. Like reading from /dev/zero on Unix☆19Feb 8, 2017Updated 9 years ago
- Cross-platform `/dev/null`☆93Oct 14, 2021Updated 5 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Get a random key from an object☆18Jul 2, 2024Updated 2 years ago
- Get the default browser☆63Sep 18, 2026Updated last month
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 5 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Sep 18, 2026Updated last month
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Sep 18, 2026Updated last month
- Cross platform normalization of process.argv☆16Nov 3, 2021Updated 5 years ago
- Example of using a custom Google Maps style with an overlaid heatmap☆22Jan 24, 2021Updated 5 years ago