Get stdin as a string or buffer
☆349Feb 5, 2026Updated 3 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☆361Oct 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 3 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- 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 last month
- Check if a string has ANSI escape codes☆50Sep 8, 2025Updated 8 months ago
- Check if something is a Node.js stream☆116Oct 28, 2024Updated last year
- 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.
- Repeat a string - fast☆35May 3, 2021Updated 5 years ago
- Read the closest package.json file☆268Nov 7, 2025Updated 6 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,800Dec 7, 2024Updated last year
- 🐈 CLI app helper☆3,710Feb 20, 2026Updated 3 months ago
- Read a package.json file☆175Feb 8, 2026Updated 3 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 2 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 3 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 8 months ago
- Make a directory and its parents if needed - Think `mkdir -p`☆480Sep 10, 2025Updated 8 months ago
- Check if your code is running as an npm or yarn script☆66Sep 10, 2025Updated 8 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 11 months 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.
- Check if an object can be used like an Array☆17Sep 13, 2025Updated 8 months ago
- Hook and modify stdout and stderr☆57Sep 9, 2025Updated 8 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☆167Feb 2, 2026Updated 3 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 last month