{"id":26062205,"url":"https://github.com/dpmcmlxxvi/geojson-bounding-box","last_synced_at":"2025-04-11T11:09:28.008Z","repository":{"id":57249823,"uuid":"190690467","full_name":"dpmcmlxxvi/geojson-bounding-box","owner":"dpmcmlxxvi","description":"Efficiently computes a GeoJSON's bounding box.","archived":false,"fork":false,"pushed_at":"2021-07-11T21:02:09.000Z","size":387,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T07:36:07.395Z","etag":null,"topics":["algorithm","bounding","box","extents","geojson","geospatial","gis"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpmcmlxxvi.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-07T05:01:00.000Z","updated_at":"2024-01-09T05:38:36.000Z","dependencies_parsed_at":"2022-08-24T16:22:01.761Z","dependency_job_id":null,"html_url":"https://github.com/dpmcmlxxvi/geojson-bounding-box","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmcmlxxvi%2Fgeojson-bounding-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmcmlxxvi%2Fgeojson-bounding-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmcmlxxvi%2Fgeojson-bounding-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmcmlxxvi%2Fgeojson-bounding-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpmcmlxxvi","download_url":"https://codeload.github.com/dpmcmlxxvi/geojson-bounding-box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248381787,"owners_count":21094527,"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":["algorithm","bounding","box","extents","geojson","geospatial","gis"],"created_at":"2025-03-08T15:55:01.656Z","updated_at":"2025-04-11T11:09:27.979Z","avatar_url":"https://github.com/dpmcmlxxvi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geojson-bounding-box\n\n[![build](https://travis-ci.org/dpmcmlxxvi/geojson-bounding-box.svg?branch=master)](https://travis-ci.org/dpmcmlxxvi/geojson-bounding-box)\n[![coverage](https://img.shields.io/coveralls/dpmcmlxxvi/geojson-bounding-box.svg)](https://coveralls.io/r/dpmcmlxxvi/geojson-bounding-box?branch=master)\n[![npm](https://badge.fury.io/js/geojson-bounding-box.svg)](https://badge.fury.io/js/geojson-bounding-box)\n[![codacy](https://app.codacy.com/project/badge/Grade/fcf1dc37cef2446da53b9fe31306aa51)](https://www.codacy.com/gh/dpmcmlxxvi/geojson-bounding-box/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=dpmcmlxxvi/geojson-bounding-box\u0026amp;utm_campaign=Badge_Grade)\n\nEfficiently computes a GeoJSON's bounding box using a generator to traverse its\ncoordinates.\n\n## GETTING STARTED\n\n### Install\n\n```bash\nnpm install --save geojson-bounding-box\n```\n\n### Example\n\n```javascript\nconst toBBox = require('geojson-bounding-box');\n\nconst line = {\n  \"type\": \"Feature\",\n  \"geometry\": {\n    \"type\": \"LineString\",\n    \"coordinates\": [\n      [0, 1], [1, 2], [2, 1]\n    ]\n  },\n  \"properties\": {}\n};\n\nconst bbox = toBBox(line);\n// = [0, 1, 2, 2]\n```\n\n## BUILD\n\nTo build and test the library locally:\n\n```shell\nnpm install\nnpm test\n```\n\n## LICENSE\n\nCopyright (c) 2019 Daniel Pulido \u003cmailto:dpmcmlxxvi@gmail.com\u003e\n\nSource code is released under the [MIT License](http://opensource.org/licenses/ISC).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpmcmlxxvi%2Fgeojson-bounding-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpmcmlxxvi%2Fgeojson-bounding-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpmcmlxxvi%2Fgeojson-bounding-box/lists"}