Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Add depth to your pages using device sensors and the parallax effect.
npm install gyrollax --save
Add data-z and data-back-z attributes to the elements you want to transform in space. The former will translate the actual element itself, whereas the later will translate its background. Therefore, elements need an actual background for data-back-z to work.
<body data-back-z="-80">
<h1 data-z="0">Screen level</h1>
<h2 data-z="80">Floating above</h1>
<h3 data-z="120">Almost touching you...</h1>
<ul>
<li data-z="-30"> I'm behind the screen! </li>
<li data-z="-60"> Even further behind! </li>
</ul>
<script src="gyrollax.js"></script>
</body>
// Augment all elements on the page with the 'data-z' and 'data-back-z' attributes set
gyrollaxify();
// Or instantiate a tilt provider and listen to its events directly
SmoothTiltProvider().start(function(tiltX, tiltY) {});
MIT
FAQs
Add depth to your pages using device sensors and the parallax effect
The npm package gyrollax receives a total of 0 weekly downloads. As such, gyrollax popularity was classified as not popular.
We found that gyrollax 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.