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 1429 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?
Worth noting JSS is the default usage in material-ui's component library. Also worth noting, that if you have separate designers, that staying closer to (s)css may be a better option.
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.