Jasmine Boba'tea
Jasmine Boba'tea
DDeno
Created by Jasmine Boba'tea on 1/15/2025 in #help
I need ideas for different ways to dig into the Deno API's and its standard library
I am new-ish to Typescript, but I have been a programmer for over a decade. I'm giving myself a challenge to do a new thing with Deno every day for 100 days. https://github.com/kimdcottrell/hundo-days-of-deno Over the next few days, I'm thinking I can test out: - Deno.connect() and the node-mysql2 lib - std.assert and writing tests - using Deno.network to make a script that spits out some info about different websites - using Deno.command to write a simple init script that I usually would use a Makefile for But I'm not sure what else to do after that. I was a WordPress gremlin for 10 years so most of what I've done is webdev related, with a bit of devops stuff thrown in. Please give me all your recommendations. I'm aiming for single-day projects for now. I'm considering adding Fresh into this 100 days challenge too.
2 replies
DDeno
Created by Jasmine Boba'tea on 1/3/2025 in #help
What is the best way to get the full url that Deno.serve() is running on?
If I have:
Deno.serve(
{ port: 1993, hostname: '0.0.0.0' },
(_req) => new Response("Hello, world")
);
Deno.serve(
{ port: 1993, hostname: '0.0.0.0' },
(_req) => new Response("Hello, world")
);
I know the url will be: http://0.0.0.0:1993 . Is there something in the Deno.* API that I can reference to get it though?
6 replies