1.0.2 • Published 4 years ago

@lupoliemilio/my-fetch v1.0.2

Weekly downloads
4
License
MIT
Repository
-
Last release
4 years ago

My-Fetch

Table of contents

What does it do?

A Project around the concept of UMD. It's possible to fetch for Node and with backwards compatibility on older browsers using XMLHttpRequest.

Technologies

Project is created with:

  • Javascript
  • HTML5
  • Node.js

Setup

To run this project, install by inserting this magic sentence into your terminal

npm i @lupoliemilio/my-fetch

How to use

you have to require the npm package you've just installed!

let myFetch = require("./umd");
myFetch.init({
    address: "https://reqres.in/api/",
    key: "1234"
});

Functions

  • GET - Retrieve data from API.
  • PUT - Replace data from API.
  • PATCH - Modify data from API.
  • REMOVE - Remove data from API.
  • POST - Create data to API.

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago