pomdtr
pomdtr
DDeno
Created by pomdtr on 7/16/2024 in #help
How to update in a cli distributed via jsr?
My cli is installed using:
deno install -Agf jsr:@smallweb/embed
deno install -Agf jsr:@smallweb/embed
Is there an equivalent to npm update -g in deno ?
3 replies
DDeno
Created by pomdtr on 10/6/2023 in #help
How to read all text from stdin.
It uses to be simple with the Deta.readAll function. Now it is deprecated, link to https://deno.land/std/streams/read_all.ts?s=readAll (which is also deprecated). The deprecation message says: Use ReadableStream and toArrayBuffer instead. A specific example would be better. Basically, I want
const text = await Deno.readTextFile("/dev/stdin");
const text = await Deno.readTextFile("/dev/stdin");
but working on windows
8 replies