Axios & fetch network logger for React Native & web
npm install network-logger-liteA lightweight network request logger for **React Native & JavaScript & TypeScript
apps**.\
Logs API requests, responses, headers, body, and execution time with
zero heavy dependencies.
Perfect for debugging during development.
------------------------------------------------------------------------
- Logs all network requests & responses
- Measures API duration (ms)
- Works with Axios & Fetch
- Groups logs cleanly in console
- Lightweight & fast
- Easy setup
------------------------------------------------------------------------
`` bash`
npm install network-logger-lite
or
` bash`
yarn add network-logger-lite
------------------------------------------------------------------------
` js
import { patchNetworkLogging } from 'network-logger-lite';
__DEV__ && patchNetworkLogging();
Add this in your app entry file (index.js)
``
For issues, suggestions, or help:
š§ thekundankamal@gmail.com
Feel free to reach out --- happy to help!
------------------------------------------------------------------------
Works with:
- React Native
- Expo
- Web apps
------------------------------------------------------------------------
MIT