✨Getting Started
Installation
pnpm i unwrapit
Usage
import { wrap } from 'unwrapit'
async function main() {
const get = wrap(fetch)
const res = await get('https://google.com')
console.log(res.unwrap().status)
}
main()
Last updated