
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
ua-location
Advanced tools
Easily navigate and query Ukrainian administrative divisions, including **Oblasts**, **Raions**, **Hromadas**, and **Settlements**.
Easily navigate and query Ukrainian administrative divisions, including Oblasts, Raions, Hromadas, and Settlements.
Features
Promise
.npm install ua-location
import {UaLocation} from 'ua-location'
// Get Raion's information
const raion = UaLocation.Raion.findByIso('UA0102')
raion.en // Bakhchysaraiskyi
raion.ua // Бахчисарайський
raion.hromadas // UaLocation.Hromada[]
raion._5w // Bakhchysaraiskyi_Бахчисарайський
raion.loc // [ 44.65944872, 33.83442735 ]
raion.oblast // UaLocation.Oblast (Autonomous Republic of Crimea)
// Get all Hromadas of a given Oblast
const hromadas = UaLocation.Oblast.findByName('Chernihivska').raions.flatMap(_ => _.hromadas)
// Search for a Settlement
const settlement = await UaLocation.Oblast.findByName('Dnipropetrovska')
.raions.find(_ => _.en.includes('Cherni'))
?.hromadas.find(_ => _.en.includes('Cherni'))
?.getSettlements().then(_ => _.find(_ => _.en.includes('Cherni'))?.en) // Chernihiv
// Get Oblast ISO of a Settlement reference
const oblast = settlement.hromada.raion.oblast.iso
// Get Hromada's name by ISO
const hromada = UaLocation.Hromada.findByIso('UA0102003').en // Aromatnenska
FAQs
Easily navigate and query Ukrainian administrative divisions, including **Oblasts**, **Raions**, **Hromadas**, and **Settlements**.
The npm package ua-location receives a total of 12 weekly downloads. As such, ua-location popularity was classified as not popular.
We found that ua-location demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.