1.1.0 • Published 5 years ago

axios-fp-ts v1.1.0

Weekly downloads
2
License
ISC
Repository
-
Last release
5 years ago

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)