Get stdin as a string or buffer
☆349Feb 5, 2026Updated 4 months ago
Alternatives and similar repositories for get-stdin
Users that are interested in get-stdin 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 a stream as a string, Buffer, ArrayBuffer or array☆359Oct 28, 2024Updated last year
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 5 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated last year
- Indent each line in a string☆116Jun 5, 2022Updated 4 years ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Check if a path exists☆156Mar 3, 2022Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆63Feb 27, 2025Updated last year
- Get namespaced config from the closest package.json☆120Nov 5, 2023Updated 2 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 5 years ago
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Toggle the CLI cursor☆114Jul 26, 2024Updated last year
- Truncate a string to a specific width in the terminal☆93Apr 4, 2026Updated 2 months ago
- Check if a string has ANSI escape codes☆50Sep 8, 2025Updated 9 months ago
- Check if something is a Node.js stream☆116Oct 28, 2024Updated last year
- 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.
- Repeat a string - fast☆35May 3, 2021Updated 5 years ago
- Read the closest package.json file☆268Nov 7, 2025Updated 7 months ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Update notifications for your CLI app☆1,802Dec 7, 2024Updated last year
- 🐈 CLI app helper☆3,708Feb 20, 2026Updated 3 months ago
- Read a package.json file☆175Feb 8, 2026Updated 4 months ago
- Read and parse a JSON file☆249May 17, 2023Updated 3 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.
- Make unhandled promise rejections fail loudly instead of the default silent fail☆282Jan 24, 2021Updated 5 years ago
- Simple config handling for your app or module☆1,341Mar 11, 2026Updated 3 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 4 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆149Sep 9, 2025Updated 9 months ago
- Make a directory and its parents if needed - Think `mkdir -p`☆480Sep 10, 2025Updated 9 months ago
- Check if your code is running as an npm or yarn script☆66Sep 10, 2025Updated 9 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated last year
- 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.
- Check if an object can be used like an Array☆17Sep 13, 2025Updated 9 months ago
- Hook and modify stdout and stderr☆57Sep 9, 2025Updated 9 months ago
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 8 years ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Ensure a function is only called once☆166Feb 2, 2026Updated 4 months ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 5 years ago
- Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.☆1,156Apr 5, 2026Updated 2 months ago