fetchquire

0.1.0 • Public • Published

fetchquire

Multi-platform best effor utility to fetch/read a file

Why?

read is used by Internet Explorer require('fs').readFile works in node fetch is a Web API to retrive files and since node 18 it also introduces fetch as global variable with a somehow different syntax than the Web API.

It's possible to have a function automatically feature-detecting and actually retriving our file?

/fetchquire/

    Package Sidebar

    Install

    npm i fetchquire

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    5.26 kB

    Total Files

    10

    Last publish

    Collaborators

    • carlop