@jvlk/fp-ts-fetch

1.5.1 • Public • Published

@jvlk/fp-ts-fetch

Fetch wrappers for fp-ts.

Examples

// safeFetch
import { safeFetch } from '@jvlk/fp-ts-fetch'

safeFetch('testing.com')
import { safeFetchJson } from '@jvlk/fp-ts-fetch'

safeFetchJson('api.com')() // => Either<Error, T>

Installing

npm i @jvlk/fp-ts-fetch
yarn add @jvlk/fp-ts-fetch

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @jvlk/fp-ts-fetch

      Weekly Downloads

      610

      Version

      1.5.1

      License

      none

      Unpacked Size

      9.53 kB

      Total Files

      15

      Last publish

      Collaborators

      • jderochervlk