Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
kenya-map
Advanced tools
This package is used to generate an SVG Map of Kenya and also giving ability to set callback function and some parameters to change fill & stroke color and also custom fields for display of data
Readme
This package is used to generate an SVG Map of Kenya and also giving ability to set callback function and some parameters to change fill & stroke color and also custom fields for display of data
npm install kenya-map
app.module.ts
import { kenyaMapModule } from 'kenya-map';
You need to add this module in @NgModule(Imports). That's it.
<kenya-map></kenya-map>
fillColor | Type: string Optional. Will change color of county name text. For Example: fillColor="#C0C0C0" (Not enabled for now) |
fillCountyColor | Type: string Optional. Will change background color of county area. For Example: fillCountyColor="#C0C0C0" |
strokeColor | Type: string Optional. Will change border color of county area. For Example: strokeColor="#C0C0C0" |
onMapClick | Will be emitted when county area has been clicked. It returns county id and name { "county": { countyID, countyName } }. (onMapClick) event. |
Moreover, you can apply your own css to beautify this component.
FAQs
This package is used to generate an SVG Map of Kenya and also giving ability to set callback function and some parameters to change fill & stroke color and also custom fields for display of data
The npm package kenya-map receives a total of 0 weekly downloads. As such, kenya-map popularity was classified as not popular.
We found that kenya-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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.