
Security News
Static vs. Runtime Reachability: Insights from Latio’s On the Record Podcast
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
|
Search for any place in any language in Earth.
Search for "随机" in English (default)
Nearby places around Ankara,Turkiye
Works only in nodejs environment. Stores data in the folder named data
in TSV file format or gzipped format or in binary format.
Run command npm i irem
import { getPlaceSuggestionsByText, getNearbyPlaces, getPlaceById } from 'irem';
Returns a list of places based on search term in given language. if latitude and longitude is provided, the list is sorted by distance, otherwise sorted by text match. countryCode is a two letters string represents a country such as TR or US. If it's provided, results from the country will have precedence. maxResultCount is the size of returned array length. It should be in [0,100] range If language is undefined, results will be returned in English.
async function getPlaceSuggestionsByText(
searchTerm: string,
language?: SupportedLanguage,
latitude?: number,
longitude?: number,
maxResultCount = 10,
countryCode: CountryCode | "" = "",
): Promise<PlaceMatchWithCountry[]>
Returns a list of places based on provided latitude
and longitude
values in given language. The list is sorted by distance.
maxResultCount
is the size of returned array length. It should be in [0,100] range
async function getNearbyPlaces(
latitude: number,
longitude: number,
language?: SupportedLanguage,
maxResultCount = 10,
): Promise<PlaceWithCountry[]>
Returns a PlaceWithCountry
object from provided id. Id must exist in db.tsv
file
async function getPlaceById(placeId: number, language?: SupportedLanguage)
Built for vakit
FAQs
Search for any city in any language in Earth.
The npm package irem receives a total of 5 weekly downloads. As such, irem popularity was classified as not popular.
We found that irem demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.