0.0.4 • Published 4 years ago

moifetch v0.0.4

Weekly downloads
11
License
MIT
Repository
github
Last release
4 years ago

Moifetch

A Lite http/https fetch built with ❤

License Twitter Follow Discord NPM

Introduction

A lite Http/Https Request Library build with Love and my attempt to Homebrew something for other to use.

How to Add

npm i moifetch

yarn add moifetch

Examples

const moifetch = require('./index');

moifetch.GET('https://httpbin.org/get').then(res => {
  expect(res.statusCode).toBe(200);
});

moifetch.PATCH('https://httpbin.org/patch').then(res => {
  expect(res.statusCode).toBe(200);
});

moifetch.POST('https://httpbin.org/post').then(res => {
  expect(res.statusCode).toBe(200);
});


moifetch.PUT('https://httpbin.org/put').then(res => {
  expect(res.statusCode).toBe(200);
});

moifetch.DELETE('https://httpbin.org/delete').then(res => {
  expect(res.statusCode).toBe(200);
});
0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0-c

4 years ago

0.0.0-b

4 years ago

0.0.0-a

4 years ago

0.0.0

4 years ago