New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eolme/fetchit

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eolme/fetchit

Promise based HTTP client with compatible API.

  • 3.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21
Maintainers
1
Weekly downloads
 
Created
Source

fetchit Version Badge

Size Downloads Build Status Greenkeeper License Fetchit

Promise based HTTP client with compatible API.

Installation

npm install @eolme/fetchit --save

Note: You will also need a Promise polyfill for older browsers.

Usage

API

Soon.

Importing

Simple importing fetchit function:

import { fetchit } from '@eolme/fetchit';

fetchit('npmjs.com').then((response) => {
    console.log(response);
});

If for some reason you need to access the fetchit function with another name, it is available via exports:

import fetch from '@eolme/fetchit';

fetch('npmjs.com').then((response) => {
    console.log(response);
});

This approach can be used to, for example, use as replacement for original fetch function.

Keywords

FAQs

Package last updated on 20 Mar 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc