{"id":21678221,"url":"https://github.com/sharedstreets/sharedstreets-types","last_synced_at":"2025-04-12T05:14:13.207Z","repository":{"id":57358055,"uuid":"116268703","full_name":"sharedstreets/sharedstreets-types","owner":"sharedstreets","description":"TypeScript definitions for SharedStreets.js","archived":false,"fork":false,"pushed_at":"2018-06-19T22:50:55.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-12T05:14:08.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/sharedstreets.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-04T14:24:05.000Z","updated_at":"2018-06-19T22:50:40.000Z","dependencies_parsed_at":"2022-09-26T16:40:40.306Z","dependency_job_id":null,"html_url":"https://github.com/sharedstreets/sharedstreets-types","commit_stats":null,"previous_names":["sharedstreets/sharedstreets-js-types"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharedstreets%2Fsharedstreets-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharedstreets%2Fsharedstreets-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharedstreets%2Fsharedstreets-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharedstreets%2Fsharedstreets-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharedstreets","download_url":"https://codeload.github.com/sharedstreets/sharedstreets-types/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248519556,"owners_count":21117761,"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":"2024-11-25T14:27:20.217Z","updated_at":"2025-04-12T05:14:13.184Z","avatar_url":"https://github.com/sharedstreets.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript definitions for [SharedStreets.js](https://sharedstreets.io/)\n\n[![npm version](https://badge.fury.io/js/sharedstreets-types.svg)](https://badge.fury.io/js/sharedstreets-types)\n[![Build Status](https://travis-ci.org/sharedstreets/sharedstreets-types.svg?branch=master)](https://travis-ci.org/sharedstreets/sharedstreets-types)\n\n## Installation\n\n```\nnpm install --save sharedstreets-types\n```\n\n## Example\n\n```ts\nimport { SharedStreetsIntersection, RoadClass } from './'\n\n// Intersection\nconst intersection: SharedStreetsIntersection = {\n  id: 'ABC',\n  nodeId: 123,\n  inboundReferenceIds: ['DEF'],\n  outboundReferenceIds: ['GHI']\n}\n\n// RoadClass\nRoadClass.Motorway // =\u003e 0\nRoadClass.Trunk // =\u003e 1\n```\n\n## Summary\n\nThis package contains type definitions for sharedstreets (https://sharedstreets.io/).\n\n## Credits\n\nThese definitions were written by Denis Carriere https://github.com/DenisCarriere.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharedstreets%2Fsharedstreets-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharedstreets%2Fsharedstreets-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharedstreets%2Fsharedstreets-types/lists"}