1.3.1 • Published 6 years ago

sharedstreets-types v1.3.1

Weekly downloads
20
License
MIT
Repository
github
Last release
6 years ago

TypeScript definitions for SharedStreets.js

npm version Build Status

Installation

npm install --save sharedstreets-types

Example

import { SharedStreetsIntersection, RoadClass } from './'

// Intersection
const intersection: SharedStreetsIntersection = {
  id: 'ABC',
  nodeId: 123,
  inboundReferenceIds: ['DEF'],
  outboundReferenceIds: ['GHI']
}

// RoadClass
RoadClass.Motorway // => 0
RoadClass.Trunk // => 1

Summary

This package contains type definitions for sharedstreets (https://sharedstreets.io/).

Credits

These definitions were written by Denis Carriere https://github.com/DenisCarriere.

1.3.1

6 years ago

1.3.0

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago