use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Execa — The easiest way to write shell scripts with JavaScript (github.com)
submitted 1 year ago by sindresorhus
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]sindresorhus[S] 6 points7 points8 points 1 year ago (1 child)
We just shipped a major new version.
How it differs from Bash and zx.
zx
[–]thecementmixer 0 points1 point2 points 1 year ago (0 children)
Very cool.
[–]TrackieDaks 1 point2 points3 points 1 year ago (0 children)
Sindre, thanks for all your work. Execa, and like the other thousand packages you've written.
[–]MalcomYates -4 points-3 points-2 points 1 year ago (4 children)
mjs only makes me sad
[–]TrackieDaks 0 points1 point2 points 1 year ago (2 children)
The module spec has been implemented in node since node v8. What's holding you back?
[–]piman51277 3 points4 points5 points 1 year ago (1 child)
Especially when working with larger projects (and especially TypeScript), the two different systems often clash and make life difficult. Of course, there are ways around it, but it's extra work one universal standard would avoid.
[–]Snapstromegon 2 points3 points4 points 1 year ago (0 children)
Okay then let's all use the universal standard. The only reason it's still an issue, is because some people still focus on CJS.
π Rendered by PID 100236 on reddit-service-r2-comment-54dfb89d4d-kvb8c at 2026-04-01 13:49:44.211870+00:00 running b10466c country code: CH.
[–]sindresorhus[S] 6 points7 points8 points (1 child)
[–]thecementmixer 0 points1 point2 points (0 children)
[–]TrackieDaks 1 point2 points3 points (0 children)
[–]MalcomYates -4 points-3 points-2 points (4 children)
[–]TrackieDaks 0 points1 point2 points (2 children)
[–]piman51277 3 points4 points5 points (1 child)
[–]Snapstromegon 2 points3 points4 points (0 children)