
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.
JS Zoomer is a lightweight JavaScript package designed to seamlessly integrate image zooming functionality into web applications, providing users with an enhanced viewing experience.
You can install Zoomer via npm or yarn:
npm install js-zoomer
or
yarn add js-zoomer
Make sure you have jQuery installed as well, as it's a dependency of Zoomer.
A simple demo is provided in the demo-simple.html file. You can open this file in your browser to see Zoomer in action.
A simple demo is provided in the demo-complex.html file. You can open this file in your browser to see Zoomer in action.
To enable zooming functionality, add the zoomer-container class to the container element that wraps your image:
<div class="zoomer-container">
<img src="path/to/your/image.jpg" alt="Your Image">
</div>
Add links to the zoomer.css and zoomer.js files
<link href="path/to/zoomer.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="path/to/zoomer.js"></script>
That's it! Zoomer will automatically apply zooming functionality to the img in the element with the zoomer-container class.
You can configure Zoomer by modifying the options in the zoomer.js file. Some of the configurable options include the maximum scale, initial scale when clicked, and more. Refer to the comments in the zoomer.js file for detailed explanations of each option.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A JavaScript package for image zooming functionality.
We found that js-zoomer demonstrated a healthy version release cadence and project activity because the last version was released less than 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.