
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
leaflet-rotate-map
Advanced tools
Enable to rotate Leaflet maps. The code is based on a merger between lastest official leaflet version and leaflet rotate
branch.
In addition, there are some improvements like:
map.setView
_onDragStart
when map has maxBounds
and map is rotatedLook at index.html
file in examples
folder
leaflet-src.js
in ./dist
folder.<script src="leaflet-src.js"></script>
npm install leaflet-rotate-map
or yarn add leaflet-rotate-map
.To instantiate a L.Map
with rotation, add rotate
option
const map = L.map('map', { rotate: true });
0.3.1 (2012-02-14)
FAQs
Enable to rotate Leaflet map
We found that leaflet-rotate-map 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.