docs: Add practical examples directory#1230
Closed
vincent067 wants to merge 1 commit intosindresorhus:mainfrom
Closed
docs: Add practical examples directory#1230vincent067 wants to merge 1 commit intosindresorhus:mainfrom
vincent067 wants to merge 1 commit intosindresorhus:mainfrom
Conversation
Add examples/ directory with 4 common use cases: - build-script.js: Build automation with error handling - git-helpers.js: Git operation wrappers - parallel-tasks.js: Running commands in parallel - stream-processing.js: Output filtering with transforms All examples use ES modules and are self-contained.
Owner
|
I'm going to close all of this as it's just AI-generated slop seemingly without any human review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi there! 👋
First off, thanks for creating such an awesome library! Execa has made my Node.js scripting so much cleaner and more reliable.
What this PR adds
I've noticed that while the documentation is comprehensive, new users might benefit from seeing practical, real-world examples. So I created an examples/ directory with 4 common use cases:
All examples use ES modules and are self-contained.
I'm happy to make any changes based on your feedback! 🙏
Thanks for considering this contribution! 😊