network-logger-lite
v1.0.2
Published
Axios & fetch network logger for React Native & web
Downloads
217
Maintainers
Readme
📡 network-logger-lite
A 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.
✨ Features
- Logs all network requests & responses
- Measures API duration (ms)
- Works with Axios & Fetch
- Groups logs cleanly in console
- Lightweight & fast
- Easy setup
📦 Installation
npm install network-logger-liteor
yarn add network-logger-lite🚀 Usage
import { patchNetworkLogging } from 'network-logger-lite';
__DEV__ && patchNetworkLogging();
Add this in your app entry file (index.js)📬 Support
For issues, suggestions, or help:
Feel free to reach out --- happy to help!
📱 React Native Friendly
Works with:
- React Native
- Expo
- Web apps
📄 License
MIT
