
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@undp-data/style
Advanced tools
This repository is to manage the style.json for base map of geohub
Show the usage of all commands with the below help command
make help
Check the latest version of @undp-data/style package at npmjs, and replace the version of 0.0.1 to the latest one. Or, you may use latest to fetch style.json from CDN. But we strongly recommend to specify the version to prevent any breaking change error on style.json.
https://unpkg.com/@undp-data/style@latest/dist/style.json
https://unpkg.com/@undp-data/style@latest/dist/aerialstyle.json
https://unpkg.com/@undp-data/style@latest/dist/dark.json
https://unpkg.com/@undp-data/style@latest/dist/positron.json
https://unpkg.com/@undp-data/style@latest/dist/sprite/sprite
Note. Don't upgrade spritezero to v6.2.1 since it has a bug when we specify --ratio=2.
https://unpkg.com/@undp-data/style@latest/dist/sprite-non-sdf/sprite
pnpm i
If you are using M1 Mac, sprite-zero cannot be installed in normal nodejs, so please install nodejs by using NVM as following commands.
$nvm uninstall 18
$arch -x86_64 zsh
$nvm install 18
$nvm alias default 18
make build
make style
make sprite
make voyager
make aerial
make dark
make positron
The procedure for releasing map style to NPM is as follows.
pnpm changeset.The license of style belong to CARTO. See License.
The license of source code is MIT license.
FAQs
This repository is to manage the style.json for base map of geohub
The npm package @undp-data/style receives a total of 15 weekly downloads. As such, @undp-data/style popularity was classified as not popular.
We found that @undp-data/style demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.