mxdvl
mxdvl
DDeno
Created by mrking2you on 9/5/2023 in #help
Unable to find local file with installed deno module
I think that importing arbitrary JS files is the domain of the Deno runtime, not that of compiled executables.
7 replies
DDeno
Created by mrking2you on 9/5/2023 in #help
Unable to find local file with installed deno module
https://deno.land/manual/tools/compiler this seems to suggest it won’t work
7 replies
DDeno
Created by mrking2you on 9/5/2023 in #help
Unable to find local file with installed deno module
No, sorry. I’m wondering if dynamic imports are supported by compile and install
7 replies
DDeno
Created by mrking2you on 9/5/2023 in #help
Unable to find local file with installed deno module
The triple dots makes the path invalid
7 replies
DDeno
Created by ChilliSniff on 8/31/2023 in #help
third party module not updating / releasing
If the tag was created before the webhook, for example, you’d need to manually trigger the event
7 replies
DDeno
Created by ChilliSniff on 8/31/2023 in #help
third party module not updating / releasing
If you look in the webhook event history in Github you can get some good details about what happened
7 replies
DDeno
Created by ataractic on 8/29/2023 in #help
Is there an idiomatic/common/modern way of creating a queue of jobs to be executed one after anot...
p-queue is a nice library that does exactly what you describe: https://deno.land/x/p_queue
26 replies
DDeno
Created by KaKi87 on 11/3/2022 in #help
File line operations
To mutate and array and insert a new line you can use splice: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice
16 replies
DDeno
Created by KaKi87 on 11/3/2022 in #help
File line operations
You can, for example, split the file content on the new line character \n and modify the nth item in the array
16 replies
DDeno
Created by KaKi87 on 11/3/2022 in #help
File line operations
Assuming that performance is not your primary concern and you are familiar with JavaScript arrays, the docs should give you enough information
16 replies
DDeno
Created by KaKi87 on 11/3/2022 in #help
File line operations
16 replies
DDeno
Created by KaKi87 on 11/3/2022 in #help
File line operations
There’s no specific API for these methods
16 replies