retriever
v1.0.0
Published
retriever fetches way more than tennis balls and slippers, tell it to get content from web services!
Downloads
12
Readme
retriever
Why?
Often in our apps we want to fetch content/resources from other web services
the same way a person would by clicking on links in a web browser.
We can do this using a standard http.request
(node.js core), but many
services don't like it when developers make requests for their content
programatically
(e.g. Facebook wants you to use their API so they know who is making
the requests...)
Sometimes we want retrieve content anonymously.
What?
Retrieve the content for a given url
How?
. . .
Research
Existing Modules we Learned From
- request: https://www.npmjs.com/package/request (mature but way too many features/dependencies)
- fetch: https://www.npmjs.com/package/fetch (good but no tests)