axios-fp-ts

1.1.0 • Public • Published

axios-fp-ts

Example

import { toFuture } from 'axios-fp-ts/lib/future'
import { get } from 'axios-fp-ts/lib/client'
import * as t from 'io-ts'
import { expected } from 'axios-fp-ts/lib/expected'
import { fork } from 'fluture'
 
const program = toFuture(get('https://google.nl', expected(t.any)))
 
const log = fork(console.error)(console.log)
 
log(program)

Readme

Keywords

none

Package Sidebar

Install

npm i axios-fp-ts

Weekly Downloads

773

Version

1.1.0

License

ISC

Unpacked Size

13 kB

Total Files

17

Last publish

Collaborators

  • tetsuo