Get the username of the current user
☆144Nov 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☆47Updated this week
- Split a string at one or more indices☆25May 3, 2021Updated 5 years ago
- Detect the dominant newline character of a string☆55Updated this week
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆23Updated this week
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Strip redundant indentation and indent the string☆55Updated this week
- Get a random key from an object☆18Jul 2, 2024Updated 2 years ago
- Get information about your Battery☆12Aug 4, 2021Updated 5 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated this week
- Check if a number is a redirect HTTP status code☆25Updated this week
- Get the latest version of an npm package☆177Updated this week
- Get the version of a binary in semver format☆43Updated this week
- A safer `.hasOwnProperty()`☆29Updated this week
- 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 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☆27Updated this week
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 years ago
- Get a Gravatar image from an identifier, such as an email☆41Sep 10, 2021Updated 5 years ago
- Get the path to an app (macOS)☆63Updated this week
- 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☆52Updated this week
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated this week
- Stream just returns blank buffers. Like reading from /dev/zero on Unix☆19Feb 8, 2017Updated 9 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.
- Reverse minimist. Convert an object of options into an array of command-line arguments☆186Updated this week
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆95Updated this week
- Regular expression for matching issue references☆49Sep 26, 2024Updated last year
- Get running processes☆286Updated this week
- Truncate a string to a specific width in the terminal☆97Updated this week
- Lowercase the keys of an object☆42Updated this week
- Get the default browser☆63Updated this week
- Generate a random float☆37Apr 18, 2021Updated 5 years ago
- Normalize the newline characters in a string to `\n`☆30Updated this week
- 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 name of the current operating system. Example: macOS Sierra☆149Updated this week
- Cross platform normalization of process.argv☆16Nov 3, 2021Updated 4 years ago
- Get a GitHub username from an email address☆127Updated this week
- Make a function mimic another one☆96Updated this week
- 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 2 years ago
- Get the PATH environment variable key cross-platform☆46Updated this week