{"id":24228748,"url":"https://github.com/blacha/stac-ts","last_synced_at":"2025-06-13T15:42:45.758Z","repository":{"id":38340360,"uuid":"280587371","full_name":"blacha/stac-ts","owner":"blacha","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-17T20:11:15.000Z","size":190,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-23T13:47:55.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/blacha.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-18T05:16:52.000Z","updated_at":"2024-10-17T09:26:14.000Z","dependencies_parsed_at":"2023-02-08T19:45:27.165Z","dependency_job_id":"3ab0699a-1417-43a8-9be9-95d54cf175b1","html_url":"https://github.com/blacha/stac-ts","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.11111111111111116","last_synced_commit":"09a2a14815a0bc20a4e54c5fccb8b83edabda927"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fstac-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fstac-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fstac-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fstac-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blacha","download_url":"https://codeload.github.com/blacha/stac-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233885576,"owners_count":18745607,"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":[],"created_at":"2025-01-14T11:32:37.037Z","updated_at":"2025-01-14T11:33:15.958Z","avatar_url":"https://github.com/blacha.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stac-ts\n\nTypescript typings for [SpatioTemporal Asset Catalogs](https://stacspec.org/)\n\n## Catalogs\n```typescript\nimport type { StacCatalog } from 'stac-ts';\n\nconst catalog: StacCatalog = {\n  stac_version: '1.0.0',\n  type: 'Catalog',\n  id: 'NAIP',\n  description: 'Catalog of NAIP Imagery',\n  links: [\n    { rel: 'self', href: 'https://example.com/naip/catalog.json' },\n    { rel: 'child', href: 'https://example.com/naip/30087/catalog.json' },\n    { rel: 'root', href: 'https://example.com/catalog.json' },\n  ],\n};\n```\n\n## Collections\n\n```typescript\nimport { StacItem } from 'stac-ts';\n\n/** From s3://nz-imagery/catalog.json */\nexport const LinzCatalog: StacCatalog = {\n  stac_version: '1.0.0',\n  type: 'Catalog',\n  id: 'nz-imagery',\n  description:\n    \"Toitū Te Whenua Land Information New Zealand ...\",\n  links: [\n    { rel: 'self', href: 'https://nz-imagery.s3.ap-southeast-2.amazonaws.com/catalog.json' },\n    { rel: 'root', href: './catalog.json' },\n    {\n      rel: 'child',\n      href: './auckland/auckland_2010-2011_0.125m/rgb/2193/collection.json',\n      title: 'Auckland 0.125m Urban Aerial Photos (2010-2011)',\n      'file:checksum': '12209d1ba07a902b1b5a8a7049d51195e0e7d97e388fb3e0a6e1f988b198bf1f69cc',\n      'file:size': 387936,\n    },\n  ],\n  stac_extensions: ['https://stac-extensions.github.io/file/v2.1.0/schema.json'],\n};\n\n```\n\n## Items\n\n```typescript\nimport { StacItem } from 'stac-ts';\n\nexport const SimpleItem: StacItem = {\n  stac_version: '1.0.0',\n  stac_extensions: [],\n  type: 'Feature',\n  id: '20201211_223832_CS2',\n  bbox: [172.91173669923782, 1.3438851951615003, 172.95469614953714, 1.3690476620161975],\n  geometry: {\n    type: 'Polygon',\n    coordinates: [\n      [\n        [172.91173669923782, 1.3438851951615003],\n        [172.95469614953714, 1.3438851951615003],\n        [172.95469614953714, 1.3690476620161975],\n        [172.91173669923782, 1.3690476620161975],\n        [172.91173669923782, 1.3438851951615003],\n      ],\n    ],\n  },\n  properties: {\n    datetime: '2020-12-11T22:38:32.125000Z',\n  },\n  collection: 'simple-collection',\n  links: [\n    {\n      rel: 'collection',\n      href: './collection.json',\n      type: 'application/json',\n      title: 'Simple Example Collection',\n    },\n    {\n      rel: 'root',\n      href: './collection.json',\n      type: 'application/json',\n      title: 'Simple Example Collection',\n    },\n    {\n      rel: 'parent',\n      href: './collection.json',\n      type: 'application/json',\n      title: 'Simple Example Collection',\n    },\n  ],\n  assets: {\n    visual: {\n      href: 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.tif',\n      type: 'image/tiff; application=geotiff; profile=cloud-optimized',\n      title: '3-Band Visual',\n      roles: ['visual'],\n    },\n    thumbnail: {\n      href: 'https://storage.googleapis.com/open-cogs/stac-examples/20201211_223832_CS2.jpg',\n      title: 'Thumbnail',\n      type: 'image/jpeg',\n      roles: ['thumbnail'],\n    },\n  },\n};\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacha%2Fstac-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblacha%2Fstac-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacha%2Fstac-ts/lists"}