Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
network-viewer
Advanced tools
Network-Viewer [![npm version](https://badge.fury.io/js/network-viewer.svg)](https://www.npmjs.com/package/network-viewer) [![Test](https://github.com/saucelabs/network-viewer/actions/workflows/test.yml/badge.svg)](https://github.com/saucelabs/network-vie
Network-Viewer is a redefined HAR viewer human friendly view of requests which is build with React.
The main purpose of this web application is to help you to view HAR files with many features like filters, search, timline charts etc.
If you are interested contributing to this library, please have a look into our Contributing Guidelines. We love to see any kind of contributions 😊!
Main features of Network-Viewer are:
file=HAR_FILE_URL
and to enable CORS pass isCORSEnabled=true
(by default CORS is disabled)Visit https://opensource.saucelabs.com/network-viewer/ and Import your HAR file via drag&drop.
file=HAR_FILE_URL
as queryString to pass HAR file urlisCORSEnabled=true
as queryString to enable CORS support (by default CORS is disabled)$ npm install network-viewer
Example
import { NetworkViewer } from 'network-viewer';
<NetworkViewer />
prop | Type | Default | Values | Description |
---|---|---|---|---|
autoHighlightChange | Bool | false | true, false | To allow change request highlight on scrollTimeStamp change when requestDetail is visible |
containerClassName | String | null | custom-class to overwrite network-viewer's default style | |
data | Object | null | { log: { entries: [], pages: [] } } | HAR file data which should contain log.entries and log.pages |
fetchOptions | Object | { withCredentials: true } | axios request option can be set here to fetch HAR file | |
file | String | null | HAR file URL to fetch requests | |
onDataLoaded | Func | null | (data) => {} | This function will receive loaded data on file is being fetched |
onDataError | Func | null | (error) => {} | This function is called when loading data fails |
onRequestSelect | Func | null | (requestDetail) => {} | This function will receive request detail on request select |
options | Object | {showImportHAR: true, showTimeline: false} | showImportHar: to show/hide import button and modal, showTimeline: to show/hide top timeline of requests | |
scrollRequestPosition | String | near | before, after, near | to find and highlight network request by timestamp, |
near: find request near to timestamp | ||||
before: find request exactBefore the timestamp | ||||
after: find request exactAfter the timestamp | ||||
scrollTimeStamp | Number | null | Find and highlight network request by timestamp |
FAQs
Network-Viewer [![npm version](https://badge.fury.io/js/network-viewer.svg)](https://www.npmjs.com/package/network-viewer) [![Test](https://github.com/saucelabs/network-viewer/actions/workflows/test.yml/badge.svg)](https://github.com/saucelabs/network-vie
The npm package network-viewer receives a total of 863 weekly downloads. As such, network-viewer popularity was classified as not popular.
We found that network-viewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.