0.0.1 • Published 1 year ago

cltp v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

CLTP - Http client

CLTP is an HTTP client.

Overview

Usage:

import { Client } from 'cltp'

async function fetchData() {
  const { data, error } = await Client.get('/api/info')

  try {
    return data
  } catch err {
    return null
  }
}