0.0.0 • Published 6 years ago
finix v0.0.0
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))
0.0.0
6 years ago