Get stdin as a string or buffer
☆347Feb 5, 2026Updated 3 weeks ago
Alternatives and similar repositories for get-stdin
Users that are interested in get-stdin are comparing it to the libraries listed below
Sorting:
- Get a stream as a string, Buffer, ArrayBuffer or array☆359Oct 28, 2024Updated last year
- 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 path is the current working directory☆22May 10, 2025Updated 9 months ago
- Truncate a string to a specific width in the terminal☆88Updated this week
- Toggle the CLI cursor☆113Jul 26, 2024Updated last year
- Get namespaced config from the closest package.json☆121Nov 5, 2023Updated 2 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Check if something is a Node.js stream☆115Oct 28, 2024Updated last year
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆63Feb 27, 2025Updated last year
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Read the closest package.json file☆268Nov 7, 2025Updated 3 months ago
- Make unhandled promise rejections fail loudly instead of the default silent fail☆282Jan 24, 2021Updated 5 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Read and parse a JSON file☆248May 17, 2023Updated 2 years ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Read a package.json file☆175Feb 8, 2026Updated 3 weeks ago
- Simple config handling for your app or module☆1,324Feb 4, 2026Updated last month
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Hook and modify stdout and stderr☆57Sep 9, 2025Updated 5 months ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆148Sep 9, 2025Updated 5 months ago
- Check if a string has ANSI escape codes☆50Sep 8, 2025Updated 5 months ago
- Make a directory and its parents if needed - Think `mkdir -p`☆477Sep 10, 2025Updated 5 months ago
- 🐈 CLI app helper☆3,693Feb 20, 2026Updated last week
- Update notifications for your CLI app☆1,797Dec 7, 2024Updated last year
- Check if your code is running as an npm or yarn script☆66Sep 10, 2025Updated 5 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Ensure a function is only called once☆165Feb 2, 2026Updated last month
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 8 years ago
- Decompress a HTTP response if needed☆75Oct 13, 2025Updated 4 months ago
- Colored symbols for various log levels☆771May 21, 2025Updated 9 months ago
- Copy a file☆123Aug 13, 2025Updated 6 months ago
- Reliably get the terminal window size☆146Feb 2, 2026Updated last month
- normalizes package metadata, typically found in package.json file.☆204Jan 21, 2026Updated last month