3 ms·
Yea, built-in is what I was really going for. It would be great if new users could easily do a one-liner fetch without having to: a) Research and compare the v
by talawahdotnet 8y ago
Yea, built-in is what I was really going for. It would be great if new users could easily do a one-liner fetch without having to:
a) Research and compare the various npm modules available and then install one (which isn't even possible via the Lambda console)
or
b) Figure out how to wrap an event based function in a promise (or search stack overflow and copy one)
Something like this should be super easy to do from the cli/REPL or web console without dependencies. You should only have to install a module when you want more advanced features.
- ilkkao 8y agoBuiltin fetch was proposed recently, here is the issue: https://github.com/nodejs/node/issues/19393 https://github.com/nodejs/node/issues/19393