Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
vue-world-map
Advanced tools
A Vue JS Component for displaying dynamic data on a world map.
Map from amCharts
Install via npm using npm install vue-world-map
This component is most useful in creating a heat map for various countries. And will color countries differently based on a props passed.
The component requires a prop of countryData
to be passed to it, which is a JS
object formatted like so.
{
US: 100,
CA: 120,
UK: 400,
}
Where the key is a country's ISO 3166 Code and the value is a numerical value associated with it.
Props | Description | Optional |
---|---|---|
countryData | See Usage Section above for details | no |
lowColor | Countries with lower values will be colored more strongly with this color | yes |
highColor | Countries with higher values will be colored more strongly with this color | yes |
defaultCountryFillColor | Countries with no data will default to this color | yes |
countryStrokeColor | The color of the border around countries | yes |
FAQs
A Vue JS Component for displaying dynamic data on a world map.
The npm package vue-world-map receives a total of 9,132 weekly downloads. As such, vue-world-map popularity was classified as popular.
We found that vue-world-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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.