0.0.0 • Published 6 years ago

finix v0.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

finix

A HTTP library for Node.js and Browser.

It is both Promise- and Observable-based.

Install

NPM:

npm i finix -S

Yarn:

yarn add yarn

Usage

Using Promise:

const finix = require('finix')

finix.get('').then((v)=>{
    v.json()
}).error((err)=>console.log(err))

Using Observable:

const finix = require('finix')

finix.get('').subscribe((v)=>{},err=>console.log(err))