Deno uses https typically... I like the change myself... hoping this leads to better compatability with deno... or at least with deno, maybe importing `npm+node:...` since it's node-style modules from npm. And have deno auto-include the node compatibility shims.
That said, deno has become much more of a goto for me the past few months alone... there's only a handful of things I haven't found implemented that I need... it's been a nicer experience for orchestration scripting.
`undefined` doesn't serialize as there's no representation, the exception is when it's an array member, in which case it's replaced with null.
Would have been nice to include a dehydration function example.
Slightly simpler path...
new Date().toJSON().substr(0,10).split('-').join('');
If you want it locallzed, add the offset before the toJSON, but I nearly always work in UTC.
[comment deleted]tracker1 1313 days ago. link 1 point ▲▼
Usually remove commercial products (per the about page), but given this is tethered with hardware, any thoughts on this one?