This package has been deprecated

Author message:

Will not continue with this

@fippli/api-utils

1.1.5 • Public • Published

@fippli/api-utils

API tools for JavaScript projects

Installation

npm install @fippli/api-utils

Basic usage

Make GET request to http://www.example.com:3000/some/endpoint

import { GET } from '@fippli/api-utils';

const callback = (data) => {
  console.log("This is my api data", data);
};

const enpoint = '/some/endpoint';

const options = {
  port: 3000,
  host: 'www.example.com',
}

GET(callback, endpoint, options);

NOTE

This is a work in progress and might be unstable.

Readme

Keywords

none

Package Sidebar

Install

npm i @fippli/api-utils

Weekly Downloads

0

Version

1.1.5

License

MIT

Unpacked Size

7.72 kB

Total Files

16

Last publish

Collaborators

  • fippli