
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign hits npm.
@abaccus/leaflet.heatmap
Advanced tools
A tiny, simple and fast Leaflet heatmap plugin. Uses simpleheat under the hood, additionally clustering points into a grid for performance.
var heat = L.heatLayer([
[50.5, 30.5, 0.2], // lat, lng, intensity
[50.6, 30.4, 0.5],
...
], {radius: 25}).addTo(map);
To include the plugin, just use leaflet-heat.js from the dist folder:
<script src="leaflet-heat.js"></script>
To build the dist files run:
npm install && npm run prepublish
Constructs a heatmap layer given an array of points and an object with the following options:
maxZoom of the map by default1.0 by default25 by default15 by default{0.4: 'blue', 0.65: 'lime', 1: 'red'}Each point in the input array can be either an array like [50.5, 30.5, 0.5],
or a Leaflet LatLng object.
Optional third argument in each LatLng point (altitude) represents point intensity.
Unless max option is specified, intensity should range between 0.0 and 1.0.
max option.minOpacity option.addLatLng, setLatlngs, setOptions and redraw methods.max option and support for different point intensity values (through LatLng third argument).gradient option to customize colors.FAQs
A tiny and fast Leaflet heatmap plugin.
The npm package @abaccus/leaflet.heatmap receives a total of 0 weekly downloads. As such, @abaccus/leaflet.heatmap popularity was classified as not popular.
We found that @abaccus/leaflet.heatmap 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
Another wave of Shai-Hulud campaign hits npm.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.