Bustin Base
unable to connect to mongodb using deno inside container
The 3rd party module on
x/mongo
also works well, I have been using it successfully.
https://deno.land/x/mongo/mod.ts7 replies
Petition to free the module x/type from deno.land
I use it when recursing over object structures usually, like here:
https://github.com/justinmchase/serializable/blob/main/mod.ts#L25
30 replies
Petition to free the module x/type from deno.land
actual code:
https://github.com/justinmchase/type
30 replies
Petition to free the module x/type from deno.land
Its even less fancy than that, basically just an enum and a function which infers the runtime type using typeof but also resolves the various things that think they're "objects" but really aren't (I'm looking at you
null
!!)30 replies
How to serve HTTPS with the Deno.serve() API
@guest271314 You keep saying "Deno.serve() does not serve the stream the say way that serveTls() does" but that seems to not really explain the issue to be honest. Not serving or streaming in the same way seems expected, it is a different way so it would make sense for it to not stream in the same way. The question is does it stream in some other way? Does it stream at all? Can your code be replaced with
Deno.serve()
and still stream correctly, even if its done in a "different" way?168 replies
Purging Kv keys
I don't think you're going to want to use kv db for logs. That will quickly grow way beyond what you should put into a single key. Consider using Azure Log Analytics or something like that. Its a pretty simple single secret configuration and pretty cheap if you don't go crazy with the logs.
Here is a single file you could snipe, or if you want I could make it into a stand alone module:
https://github.com/justinmchase/grove/blob/main/src/logging/azure.logger.ts
6 replies
What is the right way to bundle native modules?
Like in this example:
https://deno.com/manual@v1.34.3/runtime/ffi_api
Suppose the binaries are all pre-built and available for download. How would you recommend "installing" these or pulling them down before runtime?
6 replies