Compute Over Bash

Reach for the `compute` tool (sandboxed JavaScript) instead of shelling out to `python3 -c`, `node -e`, `bc`, `expr`, or `jq` whenever the task is pure calculation or data transformation - arithmetic, big-number math, base/radix conversion, date math, string/regex work, reshaping JSON, hashing (sha256), base64, or UTF-8 byte work. Skip it - and use bash - the moment the task needs files, network, environment, subprocesses, or anything asynchronous.

weikinhuang Updated 21 repo stars

File contents

weikinhuang/dotfiles commit 5406bc79bb

Frequently asked questions

npx get-skill add weikinhuang/compute-over-bash