Andrew Bucknall
Andrew Bucknall
For anyone else trying to get JSON output, I hacked it together like this: ```js const browser = osmosis.get('./foobar.json') .find('p') .set('json') .then(function(context, data) { const result = JSON.parse(data.json); console.log(result); });...
Do you mean cancelling an active request from the client? If so, you can provide a [`signal` from an `AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/fetch#signal)
It was pretty straight forward for me. My actual code is too complicated for a simple example but it boils down to something like: ```ts const abortController = new AbortController()...
A pattern I'm using (which I'm not sure it's a good idea), is nesting my writes inside my reads (to avoid variable scope issues). Any reason not to do this?...
I hit this issue recently too, resolved by creating the symlink as per: https://tailscale.com/kb/1188/linux-dns `$ sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf`
Detach flag is still ignored in the latest release. I'm on nixos, and the cause (at least now) doesn't seem to be related to environments/package managers. Here's what I think...
Yep, looks like the issues are resolved in [v0.3.11](https://github.com/ivaaaan/smug/releases/tag/v0.3.11). Thank you!! 😃 ~FYI, `--help` seems to be reporting `v0.3.8` still though~ (was a nix config issue, please ignore)