apihandlerrestful

1.1.3 • Public • Published

Api handler

A simple NodeJs module to use a RESTful API

Build Status npm version Code Coverage

Installation: npm install apihandlerrestful

Usage:

let handler = require('apihandlerrestful');
 
handler("http://yourapi.com/")
  .then(data => {
    console.log(data.value);
 
    //Just do whatever you want with data
  })

Important: You are not able to use an API with https://, use normal http://

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i apihandlerrestful

    Weekly Downloads

    5

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    3.78 kB

    Total Files

    5

    Last publish

    Collaborators

    • talon4567