Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really want to use Deno, but until it's got a decent solution for cryptography, it seems as if encrypted session cookies are a no go, which makes a lot of my use cases a no go.


We are hoping to ship WebCrypto support in 1.9, in 6 weeks. That should do most general purpose crypto stuff pretty well.


no xml library either.


Why not make an external module for that? I don't see why it would need to be integrated into the runtime.


Indeed, unless it’s core in own the runtime store state to manipulate xml it’s seems like something that should be a user module


This is the best idea for XML. XML is big monster so to include it in the core might not be the right thing.


I used https://github.com/nekobato/deno-xml-parser which worked fine for my use-case. It's 1 TS file with no dependencies.


For people seeking a solution, one can use deno_dom, which implements various DOM related APIs, including DOMParser, which lets you parse XML


I doubt it's worth writing this into the core of Deno to support a dying markup language.


Most of the web is XML-like (XHTML, Sitemaps, Manifests, RSS etc). It's not going anywhere any time soon.

Denying XML support may as well be like denying JSON support at this point.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: