### Install unwrapit Package Source: https://github.com/musicq/unwrapit/blob/main/README.md This snippet shows how to install the unwrapit package using npm. It is a prerequisite for using the library's functionalities. ```shell npm i unwrapit ``` -------------------------------- ### Usage Example: Fetch with unwrapit Source: https://github.com/musicq/unwrapit/blob/main/README.md Demonstrates how to use the `wrap` utility from unwrapit to handle asynchronous operations, such as fetching data. It shows unwrapping the result to access properties like status, assuming a successful fetch. ```typescript import {wrap} from 'unwrapit' async function main() { const get = wrap(fetch) const res = await get('https://google.com') console.log(res.unwrap().status) } main() ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.