New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-easyfetch

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-easyfetch

Brings superagent styling inside node-fetch

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

node-easyfetch

A forked project of node-superfetch, (node-superfetch: Brings superagent type styling inside node-fetch)

Info

node-superfetch is perfect, but an issue is that it's not getting updated and node-fetch now support ESM module on node-fetch@v3+, since node-superfetch doesn't getting updated it's still sticked with v2 of node-fetch. An issue for update, I've already created see here. And since there's no response, I've migrate it for ESM support.

Requirements

  • Node.js v16+
  • ESM module support for your project (recommended)

Example

import Request from "node-easyfetch";

(async () => {
    try {
        const { body } = await Request.get("https://registry.npmjs.com/node-fetch");
        console.log(body);
    } catch (err) {
        console.error(err);
    }
    return null;
})();

License

Same license as node-superfetch ISC

Keywords

node-fetch

FAQs

Package last updated on 25 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts