http-ng
TypeScript icon, indicating that this package has built-in type declarations

0.3.6 • Public • Published

http-ng NPM version Dependencies Status

A standalone angular.js $http service for browsers.

Install

npm install http-ng

Dependences

  • Promise

APIs

see angular.js $http

Usage

import http from 'http-ng'
 
http.get('/url', {
  params: {
    key: 'value'
  }
}).then(function(res){
  console.log(res.data);
});

Related

License

MIT

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i http-ng

    Weekly Downloads

    0

    Version

    0.3.6

    License

    MIT

    Last publish

    Collaborators

    • treri