Fork me on GitHub
#nbb
<
2022-10-21
>
mkvlr11:10:10

nbb.core/slurp doens't accept urls, right?

borkdude11:10:46

currently not, but the idea was to use fetch whenever it becomes available in node. can take a while

mkvlr11:10:39

holy shit the node http api is bad, need a different api call for https, wtf?

😆 1
Dimitar Uzunov13:10:58

hahaha this was my reaction as well

mkvlr11:10:34

and I need to chunk together the string?

borkdude11:10:23

then once it becomes part of Node (which it already is behind a flag) you can remove the dep

borkdude11:10:12

Historically the Node APIs are event based but in recent years things have become more and more promise-based