Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
geojson-mapnikify
Advanced tools
Transform GeoJSON objects into Mapnik XML stylesheets with embedded GeoJSON data and simplestyle-spec-derived styles.
As a dependency:
npm install --save geojson-mapnikify
As a binary:
npm install -g geojson-mapnikify
Assumptions:
If you install -g
, you can use geojson-mapnikify
as a binary that takes
a single GeoJSON file as an argument and writes a Mapnik XML stylesheet
to stdout.
$ geojson-mapnikify test/data/point-retina.geojson > stylesheet.xml
$ geojson-mapnikify test/data/point-retina.geojson retina > stylesheet-retina.xml
mapnikify(geojson, retina, callback)
Transform GeoJSON into Mapnik XML.
geojson
is a GeoJSON object.retina
is true or false for whether the style should be optimized for 2x rendering.callback
called with (err, xml)
where xml is a stringFAQs
transform geojson with simplestyle-spec into mapnik xml
The npm package geojson-mapnikify receives a total of 1 weekly downloads. As such, geojson-mapnikify popularity was classified as not popular.
We found that geojson-mapnikify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 23 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
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.