Skip to content

docs: Add practical examples directory#1230

Closed
vincent067 wants to merge 1 commit intosindresorhus:mainfrom
vincent067:feature/add-examples
Closed

docs: Add practical examples directory#1230
vincent067 wants to merge 1 commit intosindresorhus:mainfrom
vincent067:feature/add-examples

Conversation

@vincent067
Copy link
Copy Markdown

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:

  • 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.

I'm happy to make any changes based on your feedback! 🙏

Thanks for considering this contribution! 😊

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.
@sindresorhus
Copy link
Copy Markdown
Owner

I'm going to close all of this as it's just AI-generated slop seemingly without any human review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants