Get stdin as a string or buffer
☆348Feb 5, 2026Updated last month
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☆358Oct 28, 2024Updated last year
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 10 months ago
- Indent each line in a string☆115Jun 5, 2022Updated 3 years ago
- Check if a path exists☆155Mar 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 4 years ago
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Truncate a string to a specific width in the terminal☆88Mar 1, 2026Updated 3 weeks ago
- Toggle the CLI cursor☆112Jul 26, 2024Updated last year
- Check if a string has ANSI escape codes☆50Sep 8, 2025Updated 6 months ago
- Check if something is a Node.js stream☆115Oct 28, 2024Updated last year
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Read the closest package.json file☆268Nov 7, 2025Updated 4 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,793Dec 7, 2024Updated last year
- 🐈 CLI app helper☆3,698Feb 20, 2026Updated last month
- Read a package.json file☆175Feb 8, 2026Updated last month
- Read and parse a JSON file☆248May 17, 2023Updated 2 years ago
- 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,329Mar 11, 2026Updated last week
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- 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☆148Sep 9, 2025Updated 6 months ago
- Make a directory and its parents if needed - Think `mkdir -p`☆478Sep 10, 2025Updated 6 months ago
- Check if your code is running as an npm or yarn script☆66Sep 10, 2025Updated 6 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 9 months ago
- Check if an object can be used like an Array☆17Sep 13, 2025Updated 6 months ago
- Hook and modify stdout and stderr☆57Sep 9, 2025Updated 6 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☆165Feb 2, 2026Updated last month
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.☆1,145Feb 27, 2026Updated 3 weeks ago