Hacker News new | ask | show | jobs
by nhemsley 3627 days ago
So Ive actually been looking through the source for awkward, and it led me down the rabbit hole to shelljs, and cash.

shelljs actually reimpliments alot of shell commands in javascript, eventually mutating the output of the functions into flat strings here: https://github.com/shelljs/shelljs/blob/master/src/common.js...

The point being that the outputs of each of these functions is available (technically, it may require refactoring to get at the output pre-stringified) without having to parse formatted text.

Alot of work has been done here.