{"id":26883590,"url":"https://github.com/geocodeearth/core-js","last_synced_at":"2025-03-31T17:29:22.670Z","repository":{"id":43731094,"uuid":"353041053","full_name":"geocodeearth/core-js","owner":"geocodeearth","description":"JavaScript client for the Geocode Earth API","archived":false,"fork":false,"pushed_at":"2023-08-05T11:13:54.000Z","size":227,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T07:51:30.433Z","etag":null,"topics":["api-client","geocoding","geocoding-api","geodata"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geocodeearth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-30T15:00:22.000Z","updated_at":"2023-02-03T17:29:02.000Z","dependencies_parsed_at":"2022-09-21T16:42:53.003Z","dependency_job_id":null,"html_url":"https://github.com/geocodeearth/core-js","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodeearth%2Fcore-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodeearth%2Fcore-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodeearth%2Fcore-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodeearth%2Fcore-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geocodeearth","download_url":"https://codeload.github.com/geocodeearth/core-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246508463,"owners_count":20788997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","geocoding","geocoding-api","geodata"],"created_at":"2025-03-31T17:29:22.170Z","updated_at":"2025-03-31T17:29:22.638Z","avatar_url":"https://github.com/geocodeearth.png","language":"TypeScript","readme":"# Geocode Earth Core JS\n\nThis 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.\n\n## Implemented APIs\n\n- Autocomplete (`/autocomplete`)\n\n## Usage\n\n```js\nimport { createAutocomplete } from 'geocode-earth-core'\nconst autocomplete = createAutocomplete('ge-abc123')\nautocomplete('berlin').then(console.log)\n```\n\n### Params\n\n`createAutocomplete` accepts parameters as a second argument, for example:\n\n```js\ncreateAutocomplete('ge-abc123', {\n  size: 5,\n  focusPoint: {\n    lat: 52.520008,\n    lon: 13.404954\n  }\n})\n```\n\nAll available parameters can be found in `src/api/autocomplete/params.ts`.\n\n## Build tooling\n\n- We use [`esbuild`](https://esbuild.github.io/) to bundle the code\n- Tests use [jest](https://jestjs.io/)\n- [Standard](https://standardjs.com/) is used for linting.\n\n## Commands\n\n```bash\n# creates ESM and CommonJS builds in `./dist`\n$ npm run build\n\n# runs tests\n$ npm test\n\n# removes dist folder\n$ npm run clean\n\n# run standard\n$ npm run lint\n$ npm run lint-fix # with auto fix\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocodeearth%2Fcore-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeocodeearth%2Fcore-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocodeearth%2Fcore-js/lists"}