# sharedstreets-types

> TypeScript definitions for SharedStreets.js

Latest version **1.3.1** (published 2018-06-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install sharedstreets-types
pnpm add sharedstreets-types
yarn add sharedstreets-types
bun add sharedstreets-types
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2018-06-19 |
| First published | 2018-01-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Denis Carriere |
| Maintainers | deniscarriere, kpwebb |
| Keywords | SharedStreets, Typescript, Definition, Types |

## Links

- npm: https://www.npmjs.com/package/sharedstreets-types
- Repository: https://github.com/sharedstreets/sharedstreets-js-types
- Homepage: https://github.com/sharedstreets/sharedstreets-js-types#readme
- Issues: https://github.com/sharedstreets/sharedstreets-js-types/issues
- npm.io page: https://npm.io/package/sharedstreets-types

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.3.1 (latest) — 2018-06-19
- 1.3.0 — 2018-03-12
- 1.2.4 — 2018-02-21
- 1.2.3 — 2018-02-13
- 1.2.2 — 2018-02-11
- 1.2.1 — 2018-02-11
- 1.2.0 — 2018-02-11
- 1.1.3 — 2018-02-08
- 1.1.2 — 2018-02-02
- 1.1.1 — 2018-01-29
- 1.1.0 — 2018-01-29
- 1.0.1 — 2018-01-17
- 1.0.0 — 2018-01-17
- 0.1.4 — 2018-01-12
- 0.1.3 — 2018-01-11
- … 2 more at https://npm.io/package/sharedstreets-types/versions

## README

# TypeScript definitions for [SharedStreets.js](https://sharedstreets.io/)

[![npm version](https://badge.fury.io/js/sharedstreets-types.svg)](https://badge.fury.io/js/sharedstreets-types)
[![Build Status](https://travis-ci.org/sharedstreets/sharedstreets-types.svg?branch=master)](https://travis-ci.org/sharedstreets/sharedstreets-types)

## Installation

```
npm install --save sharedstreets-types
```

## Example

```ts
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.

---
_Source: https://npm.io/package/sharedstreets-types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
