Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For sure there's an element of magic to zx. The use of tagged template literals doesn't look like plain JavaScript even though it's standard.

You need to understand async/wait, promises and tag functions to make sense of this basic zx example:

  await $`ls -la`


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: