
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@eox/geosearch
Advanced tools
An autocompleted search input for geographic locations.
The element comes with a configurable button mode which can be enabled with the boolean attributes button
and, additionally, small
, to use the button in a map toolbar.
Real-time OpenCage API access is enabled by setting the endpoint
attribute. Optionally, a limit
attribute may be set to restrict the number of fetched locations.
npm install @eox/geosearch
// for setups with bundlers e.g. Vite
import "@eox/geosearch"
// or, for e.g. single HTML files without bundler
import "@eox/geosearch/dist/eox-geosearch.js"
<eox-geosearch></eox-geosearch>
Furthermore, the alignment of the input and search results can be configured to align straight or in a 90-degree angle in any direction with the input-direction
and results-direction
attributes and the following directions:
left
up
right
down
To style the component, the following CSS variables are supported:
--button-bg
--button-fg
--input-fg
--input-bg
--results-fg
--results-bg
--results-border-color
For a development setup, please check the root-level readme.
Created automatically here
FAQs
An autocompleted search input for geographic locations.
The npm package @eox/geosearch receives a total of 82 weekly downloads. As such, @eox/geosearch popularity was classified as not popular.
We found that @eox/geosearch 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.