{"id":16925861,"url":"https://github.com/davwheat/mobile-spectrum-data","last_synced_at":"2026-01-12T09:47:48.891Z","repository":{"id":46322407,"uuid":"510077336","full_name":"davwheat/mobile-spectrum-data","owner":"davwheat","description":"Data related to mobile networking spectrum around the world, including ARFCNs, descriptions, and more.","archived":false,"fork":false,"pushed_at":"2024-12-23T22:52:12.000Z","size":8378,"stargazers_count":6,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T10:18:38.709Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"https://mastdatabase.co.uk/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davwheat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-07-03T16:31:33.000Z","updated_at":"2024-12-23T22:52:05.000Z","dependencies_parsed_at":"2024-05-10T17:25:48.926Z","dependency_job_id":"bf55f56e-0238-4754-bb92-bf55826e6f61","html_url":"https://github.com/davwheat/mobile-spectrum-data","commit_stats":{"total_commits":174,"total_committers":3,"mean_commits":58.0,"dds":"0.38505747126436785","last_synced_commit":"a9f8d33c4fec0c2d193b8a807f283df3c12db46f"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davwheat%2Fmobile-spectrum-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davwheat%2Fmobile-spectrum-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davwheat%2Fmobile-spectrum-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davwheat%2Fmobile-spectrum-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davwheat","download_url":"https://codeload.github.com/davwheat/mobile-spectrum-data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244951274,"owners_count":20537352,"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":["hacktoberfest"],"created_at":"2024-10-13T20:11:47.840Z","updated_at":"2026-01-12T09:47:48.880Z","avatar_url":"https://github.com/davwheat.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mobile spectrum data \u003c!-- omit in toc --\u003e\n\nThis repository contains data related to mobile networking spectrum around the world, including ARFCNs, descriptions, and more.\n\nI use this data for my own open-source mobile networking website: https://mastdatabase.co.uk\n\nThis dataset is [licensed under the GNU LGPLv3 license](./LICENSE).\n\n- [Supported countries](#supported-countries)\n- [Package structure](#package-structure)\n  - [Spectrum allocation and usage](#spectrum-allocation-and-usage)\n- [LTE and NR band data](#lte-and-nr-band-data)\n- [Editing spectrum](#editing-spectrum)\n- [Developer documentation](#developer-documentation)\n  - [Testing changes](#testing-changes)\n\n## Supported countries\n\nCountries with data in this package are included below. If yours is misisng, why not contribute?\n\n| Country                |\n| ---------------------- |\n| 🇦🇹 Austria             |\n| 🇧🇬 Bulgaria            |\n| 🇩🇪 Germany             |\n| 🇩🇰 Denmark             |\n| 🇪🇪 Estonia             |\n| 🇫🇮 Finland (and Åland) |\n| 🇬🇧 United Kingdom      |\n| 🇭🇺 Hungary             |\n| 🇮🇪 Ireland             |\n| 🇮🇹 Italy               |\n| 🇯🇲 Jamaica             |\n| 🇰🇷 South Korea         |\n| 🇱🇹 Lithuania           |\n| 🇱🇻 Latvia              |\n| 🇲🇰 North Macedonia     |\n| 🇵🇱 Poland              |\n| 🇵🇹 Portugal            |\n| 🇷🇴 Romania             |\n| 🇷🇸 Serbia              |\n| 🇷🇺 Russia              |\n| 🇹🇹 Trinidad and Tobago |\n| 🇺🇦 Ukraine             |\n\n## Package structure\n\nThis package includes typings declarations for all exported data. Your IDE should use these to detect and prevent syntax errors in your code.\n\n### Spectrum allocation and usage\n\nA country's sepctrum data can be imported by its two-letter ISO country code.\n\nFor example, to import the UK's spectrum data, you would do:\n\n```ts\nimport SpectrumDataGB from \"mobile-spectrum-data/GB\";\n```\n\nThis imported data will be an array of Javascript objects with the keys `names` and `spectrumData`.\n\n```ts\n{\n  names: [\"B8\", \"n8\"],\n  spectrumData: [ /* ... */ ]\n}\n```\n\nYou can also import data for specific bands individually. This is allowed, and can be used to prevent loading more data than needed, but is considered internal and your imports _could_ break between versions (but are very unlikely to).\n\nSometimes multiple bands are contained within one single file. A good example of this is Denmark, with Bands 32, 75 and 76 being in the same file and spectrum allocation list due to Bands 75 and 76 being extensions of Band 32.\n\n```ts\nimport Band8GB from \"mobile-spectrum-data/GB/8\";\nimport Band32_75_76DK from \"mobile-spectrum-data/DK/32_75_76\";\n```\n\n## LTE and NR band data\n\nThis package also contains a list of all LTE and NR bands, along with useful metadata about them.\n\nThis includes the human names for them, start and end frequencies, the offset used for DL and UL ARFCN calculation and more.\n\nThis can be imported from the BandInfo folder.\n\n\u003e Please note that ARFCN offsets are not currently included for NR.\n\n```ts\nimport { LTEBandData, NRBandData } from \"mobile-spectrum-data/BandInfo\";\n\n// or...\n\nimport { LTEBandData } from \"mobile-spectrum-data/BandInfo/LTEBandData\";\nimport { NRBandData } from \"mobile-spectrum-data/BandInfo/NRBandData\";\n```\n\n## Editing spectrum\n\nNeed help editing spectrum? Try [my GUI spectrum editor](https://mastdatabase.co.uk/spectrum-editor).\n\n## Developer documentation\n\n### Testing changes\n\nTo test alongside [mastdatabase.co.uk](https://mastdatabase.co.uk/), you should:\n\n1. Clone both repos locally and check out the appropriate branch(es).\n2. Install dependencies in both repos (run `yarn`).\n3. In `mobile-spectrum-data`, run `yarn pub`. When asked for an OTP, hit `Ctrl + C` to cancel.\n4. In `mobile-spectrum-data`, delete the `package.json` and `yarn.lock` temporarily.\n5. In `mastdatabase.co.uk`, run `yarn link path/to/mobile-spectrum-data/publish-tmp`.\n6. Launch `mastdatabase.co.uk` locally with `yarn develop`.\n7. Test your changes!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavwheat%2Fmobile-spectrum-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavwheat%2Fmobile-spectrum-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavwheat%2Fmobile-spectrum-data/lists"}