Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@geocodeearth/core-js

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geocodeearth/core-js

Core API client for Geocode Earth

latest
Source
npmnpm
Version
0.0.10
Version published
Weekly downloads
294
-16%
Maintainers
3
Weekly downloads
 
Created
Source

Geocode Earth Core JS

This repository contains the Geocode Earth Core API client for JavaScript. As it is still under development not all APIs are implemented yet and the API itself may change in the future.

Implemented APIs

  • Autocomplete (/autocomplete)

Usage

import { createAutocomplete } from 'geocode-earth-core'
const autocomplete = createAutocomplete('ge-abc123')
autocomplete('berlin').then(console.log)

Params

createAutocomplete accepts parameters as a second argument, for example:

createAutocomplete('ge-abc123', {
  size: 5,
  focusPoint: {
    lat: 52.520008,
    lon: 13.404954
  }
})

All available parameters can be found in src/api/autocomplete/params.ts.

Build tooling

  • We use esbuild to bundle the code
  • Tests use jest
  • Standard is used for linting.

Commands

# creates ESM and CommonJS builds in `./dist`
$ npm run build

# runs tests
$ npm test

# removes dist folder
$ npm run clean

# run standard
$ npm run lint
$ npm run lint-fix # with auto fix

FAQs

Package last updated on 16 Mar 2026

Did you know?

Socket

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.

Install

Related posts