Get the username of the current user
☆146Nov 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☆48Sep 1, 2023Updated 2 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 5 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 4 years ago
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 5 years ago
- Get a random key from an object☆18Jul 2, 2024Updated 2 years ago
- Get information about your Battery☆12Aug 4, 2021Updated 4 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 10 months ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 5 years ago
- Get the latest version of an npm package☆178Feb 27, 2024Updated 2 years ago
- Get the version of a binary in semver format☆43Apr 3, 2024Updated 2 years ago
- A safer `.hasOwnProperty()`☆29Jun 21, 2023Updated 3 years 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.
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 5 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 4 years ago
- Get a Gravatar image from an identifier, such as an email☆41Sep 10, 2021Updated 4 years ago
- Get the path to an app (macOS)☆64Jul 9, 2022Updated 4 years ago
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated 2 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Aug 31, 2023Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Jul 9, 2022Updated 4 years ago
- Stream just returns blank buffers. Like reading from /dev/zero on Unix☆19Feb 8, 2017Updated 9 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.
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Feb 19, 2023Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 4 years ago
- Regular expression for matching issue references☆48Sep 26, 2024Updated last year
- Get running processes☆287Feb 3, 2026Updated 5 months ago
- Truncate a string to a specific width in the terminal☆97Jul 9, 2026Updated 2 weeks ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 5 months ago
- Get the default browser☆61Feb 2, 2026Updated 5 months ago
- Generate a random float☆37Apr 18, 2021Updated 5 years ago
- Normalize the newline characters in a string to `\n`☆30Sep 16, 2025Updated 10 months ago
- 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.
- Get the name of the current operating system. Example: macOS Sierra☆149Feb 2, 2026Updated 5 months ago
- Get a GitHub username from an email address☆127Feb 20, 2025Updated last year
- Cross platform normalization of process.argv☆16Nov 3, 2021Updated 4 years ago
- Make a function mimic another one☆95Oct 28, 2024Updated last year
- Get the path to the user home directory☆13Apr 9, 2021Updated 5 years ago
- Validate JavaScript code and report possible syntax errors☆24Aug 12, 2024Updated last year
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 10 months ago