octo3.
octo3.
DDeno
Created by octo3. on 3/18/2024 in #help
Is there a way to specify a range and list from KV?
@cknight Thank you. Understood
5 replies
DDeno
Created by octo3. on 3/18/2024 in #help
Is there a way to specify a range and list from KV?
The condition of less than or equal to 3 is also acceptable.
5 replies
DDeno
Created by octo3. on 12/17/2023 in #help
How to get `require.main.filename` like Node as Deno
Thank you @Syhol san. This seems to solve the problem.
11 replies
DDeno
Created by octo3. on 12/17/2023 in #help
How to get `require.main.filename` like Node as Deno
Thankyou @Joe Hildebrand san. This will be an extension mainly for Fresh. So the goal is to get the exact path of main.ts.
11 replies
DDeno
Created by octo3. on 12/17/2023 in #help
How to get `require.main.filename` like Node as Deno
@Joe Hildebrand I will list examples of what I would like to do. I hope this gets the message across. - User imports my public module from deno.land/x into app.ts - When executed, the module will explore the expansion directory in the same hierarchy as app.tsx. - If the expansion directory does not contain the desired file, the module will provide functionality with default parameters. We want to get the path to app.ts to make this work.
11 replies
DDeno
Created by octo3. on 12/17/2023 in #help
How to get `require.main.filename` like Node as Deno
Thanks @Joe Hildebrand san However, A does not satisfy the requirement. What we want to know is not whether the script we are running is main, but the path of the main file.
11 replies
DDeno
Created by octo3. on 9/29/2023 in #help
Is the Fresh compornents test function enabled?
@cdoremus Thanks, I'll give this a try.
4 replies