I know this has been around for quite a while but I feel obliged to point out one major use for this: Embedding portable one-liners in the `package.json` file invoked through `npm run` [1], because you cannot assume from which shell is `npm` called by users of your package.