Bairdy
Can you recommend a mysql driver for deno that isn't a complete dead end?
mysql2 port: never updated.
mysql driver: doesn't support strings
mysql connector from Oracle: no one cares to port to Deno.
ALL, I mean ALL I can think about is going back to superb PHP PDO. What a challenge...
26 replies
Deno - Sanitize Filters
Does Deno have anything similar to https://www.php.net/manual/en/filter.filters.sanitize.php for HTTP HTML POST forms?
Example:
3 replies
Deno.serve AbortController onError. How?
When I run my new Deno.serve() updated implementation I get a type error. Perhaps I'm doing it wrong. Maybe it is the way I am trying to use the Abort Controller or maybe the onError handler must always return something?
I get the following error:
6 replies
Parsing Apache mime.types into dictionary Record<string, string>
This code parses the official Apache
mime.types
from GitHub and creates a dictionary Record<string, string>
of all lines that have not been commented out. Perhaps it may help someone learning and using Deno serve
so I wanted to share.
1 replies
Feature Suggestion: Dark Mode for `std` library Docs.
Deno's documentation is great. I find myself reading it more and more. I currently use a browser addon called Midnight Lizzard to turn it Dark. It works great but since Deno's site is made in Tailwind I was wondering if the devs could add a simple Light/Dark Toggle button on Top Right of the page where you usually see them. It would be great on the eyes for long reads and overall.
8 replies
Deno process watcher. How?
This code when compile, runs a simple http server.
Can a separate Deno script be used to watch this process running and if it crashes for whatever reason, it restarts? In Linux you can configure unit file for it but I was wondering if Deno is currently able to watch a different process and restart it if it has exited.
4 replies