
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
readprogress
Advanced tools
The React Read Progress Component is a customizable React component that allows you to display the progress of reading a page. It provides a visual indicator to users, showing them how much of the page they have scrolled through.
You can install the React Read Progress Component using npm or yarn:
npm install readprogress
To use the React Read Progress Component in your React application, import it and include it in your component's render method. Here's an example:
import React from 'react';
import { ReadProgress } from 'readprogress';
export default function MyComponent{
return (
<div>
<ReadProgress />
{/* Rest of your page content */}
</div>
);
}
You can customize the appearance of the indicator by passing props to the ReadProgress component. Here are some examples:
<ReadProgress
color="#ff0000"
height={4}
scrollOffset={100}
/>
In the example above, the progress indicator will have a red color, a height of 4 pixels, and will be displayed at the bottom of the page. The scroll offset of 100 pixels will be taken into account when calculating the progress.
The React Read Progress Component accepts the following props:
Contributions to the React Read Progress Component are welcome! If you find a bug or have a feature request, please open an issue on the GitHub repository. If you'd like to contribute code, please fork the repository and submit a pull request.
2023 MIT © Cobby.
FAQs
.A React component that shows the progress of reading a page
The npm package readprogress receives a total of 0 weekly downloads. As such, readprogress popularity was classified as not popular.
We found that readprogress demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.