@lde/public-fetch
v0.1.0
Published
Fetch URLs taken from other people’s data without reaching internal addresses: checks every redirect and bounds the body read
Readme
@lde/public-fetch
Fetch URLs taken from other people’s data from inside a private network, without reaching internal addresses: every redirect is checked, and the body read is bounded.
Installation
npm install @lde/public-fetchimport { fetchPublic } from '@lde/public-fetch';
const response = await fetchPublic(urlFromSomeonesData);
const document = await response.json();Documentation
See the full documentation.
