
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@targomo/leaflet
Advanced tools
Leaflet maps extensions for Targomo's time-based access mapping services.
Leaflet extensions for targomo-js
The Targomo Leaflet extensions Typescript library provides extensions for visualizing results obtained from the Targomo services. The project is maintained by Targomo. The lib can also be used in non-typescript environments.


Get your free API key by signing up for a Targomo account
The Targomo API is available in many regions. For all available endpoints, see our availability map
Install via npm:
npm install @targomo/leaflet
Example usage for polygon layer
const layer = new tgm.leaflet.TgmLeafletPolygonOverlay()
layer.addTo(map) // Add to leaflet map
const polygonData = await targomoClient.polygons.fetch(....) // Fetch polygon data from Targomo service, see @targomo/core lib for more details
layer.setData(polygonData) // Visualize received data on layer
}
More detailed overviews of Targomo's services, along with code examples and demos is available at https://www.targomo.com/developers/documentation/javascript/.
Reference docs available here.
FAQs
Leaflet maps extensions for Targomo's time-based access mapping services.
The npm package @targomo/leaflet receives a total of 9 weekly downloads. As such, @targomo/leaflet popularity was classified as not popular.
We found that @targomo/leaflet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.