Doctor 🤖
Doctor 🤖
DDeno
Created by elee on 3/18/2025 in #help
is it possible to use deno std libraries that are "browser compatible" via npm?
The std isn't published on npm, but you can still use it in node by importing it from jsr.
6 replies
DDeno
Created by elee on 3/18/2025 in #help
is it possible to use deno std libraries that are "browser compatible" via npm?
6 replies
DDeno
Created by elee on 3/18/2025 in #help
is it possible to use deno std libraries that are "browser compatible" via npm?
npx jsr add @std/encoding
6 replies
DDeno
Created by Alch3m1st on 3/10/2025 in #help
'deno run' for tasks question/Bug 🐞
The run sub command running tasks was desired by some people who didn't want to write task for whatever reason, but I am not a fan of that approach and honestly just seems to complicate the run sub command more.
4 replies
DDeno
Created by Alch3m1st on 3/10/2025 in #help
'deno run' for tasks question/Bug 🐞
You should do deno task test.
4 replies
DDeno
Created by Good Looking Software on 2/19/2025 in #help
Deno and Eta browser-side?
Eta?
6 replies
DDeno
Created by joey on 2/1/2025 in #help
unable to see documentation on deno.land/x
Documentation on /x has been removed
3 replies
DDeno
Created by Big Band_it on 1/17/2025 in #help
If I dont have to explicitly install a node pacakge to use it how do I get intellisense?
That command is installing them
4 replies
DDeno
Created by Big Band_it on 1/17/2025 in #help
If I dont have to explicitly install a node pacakge to use it how do I get intellisense?
For intellisense to work you need a copy of it on your computer. Unlike node, if you're missing local copies of dependencies when you attempt to run the code, it will download them first.
4 replies
DDeno
Created by Joseph on 1/8/2025 in #help
Install a local deno package
Can you show both deno.json files?
11 replies
DDeno
Created by Joseph on 1/8/2025 in #help
Install a local deno package
What does the deno.json of @b/foo look like?
11 replies
DDeno
Created by ali ghamdan on 1/8/2025 in #help
Property 'document' does not exist on type 'Window & typeof globalThis'.
You should switch deno.window out with deno.ns if you have dom
4 replies
DDeno
Created by Joseph on 1/8/2025 in #help
Install a local deno package
Foo doesn't need to be actually published but the name and version do need to match.
11 replies
DDeno
Created by Joseph on 1/8/2025 in #help
Install a local deno package
Make sure the deno.json of foo has a matching version in your boo's imports.
11 replies
DDeno
Created by Joseph on 1/8/2025 in #help
Install a local deno package
Try
{
"name": "@a/bar",
"imports": {
"@b/foo": "jsr:@b/foo@0.1.0",
},
"patch": [
"~/Projects/foo/"
]
}
{
"name": "@a/bar",
"imports": {
"@b/foo": "jsr:@b/foo@0.1.0",
},
"patch": [
"~/Projects/foo/"
]
}
11 replies
DDeno
Created by Duncan on 1/6/2025 in #help
Migrating from Node to Deno
Does deno lint offer a way to fix the things it complains about?
5 replies
DDeno
Created by scarf on 12/25/2024 in #help
std JSON serializer/deserializer with Set and Map support
The @std/cbor package supports serialising maps but sets will need to be converted to an array first
6 replies
DDeno
Created by scarf on 12/25/2024 in #help
std JSON serializer/deserializer with Set and Map support
They dont have functions to serialise them to json but there are other serialisers to other formats.
6 replies
DDeno
Created by melkam on 12/18/2024 in #help
Unable to target browser and deno with unstable features in typescript `compilerOptions.lib`
I have to do a similar thing with ArrayBuffer.transfer until Deno updates the TypeScript version to 5.7
15 replies
DDeno
Created by melkam on 12/18/2024 in #help
Unable to target browser and deno with unstable features in typescript `compilerOptions.lib`
I think just casting it to type any would be easiest but you do you
15 replies