{"id":15761626,"url":"https://github.com/alrico88/bbox-helper-functions","last_synced_at":"2025-04-21T04:30:57.119Z","repository":{"id":47339484,"uuid":"298004566","full_name":"alrico88/bbox-helper-functions","owner":"alrico88","description":"Helper functions to convert BBoxes to multiple formats","archived":false,"fork":false,"pushed_at":"2023-06-30T16:20:43.000Z","size":926,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-11T11:18:23.179Z","etag":null,"topics":["bbox","geojson","sql"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/bbox-helper-functions","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/alrico88.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-23T14:55:35.000Z","updated_at":"2023-07-07T15:43:16.000Z","dependencies_parsed_at":"2024-06-20T22:09:59.502Z","dependency_job_id":null,"html_url":"https://github.com/alrico88/bbox-helper-functions","commit_stats":{"total_commits":46,"total_committers":1,"mean_commits":46.0,"dds":0.0,"last_synced_commit":"0ea5f71f4fbdc0857ac9ca4db6f25f009612dc08"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrico88%2Fbbox-helper-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrico88%2Fbbox-helper-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrico88%2Fbbox-helper-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alrico88%2Fbbox-helper-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alrico88","download_url":"https://codeload.github.com/alrico88/bbox-helper-functions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223849432,"owners_count":17213640,"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":["bbox","geojson","sql"],"created_at":"2024-10-04T11:03:16.484Z","updated_at":"2024-11-09T16:02:27.868Z","avatar_url":"https://github.com/alrico88.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bbox-helper-functions\n\n## Installation\n\nUsing npm `npm i bbox-helper-functions`\n\nUsing yarn `yarn add bbox-helper-functions`\n\n## Usage\n\nIn CommonJS env\n\n```javascript\nconst { getWKBBox } = require('bbox-helper-functions');\n\nconst bbox = getWKBBox(\n  'POLYGON((-3.706512451171875 40.420074462890625,-3.70513916015625 40.420074462890625,-3.70513916015625 40.42144775390625,-3.706512451171875 40.42144775390625,-3.706512451171875 40.420074462890625))'\n);\n\n// bbox will be [minLon, minLat, maxLon, maxLat]\n```\n\nUsing imports\n\n```javascript\nimport { getGeohashBBox } from 'bbox-helper-functions';\n\nconst geohashBBox = getGeohashBBox('ezjmun');\n\n// geohashBBox will be [minLon, minLat, maxLon, maxLat]\n```\n\n## Documentation\n\nSee [DOCS](./docs/modules.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falrico88%2Fbbox-helper-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falrico88%2Fbbox-helper-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falrico88%2Fbbox-helper-functions/lists"}