An open API service indexing awesome lists of open source software.

https://github.com/cityssm/node-faster-constants

Constants used by multiple Node packages that work with the FASTER Fleet Management System
https://github.com/cityssm/node-faster-constants

faster-web

Last synced: 3 months ago
JSON representation

Constants used by multiple Node packages that work with the FASTER Fleet Management System

Awesome Lists containing this project

README

          

# FASTER Web Constants

[![npm (scoped)](https://img.shields.io/npm/v/%40cityssm/faster-constants)](https://www.npmjs.com/package/@cityssm/faster-constants)
[![DeepSource](https://app.deepsource.com/gh/cityssm/node-faster-constants.svg/?label=active+issues&show_trend=true&token=HHrRXKZqVYqHOKAFRFTbcr8_)](https://app.deepsource.com/gh/cityssm/node-faster-constants/)
[![DeepSource](https://app.deepsource.com/gh/cityssm/node-faster-constants.svg/?label=code+coverage&token=HHrRXKZqVYqHOKAFRFTbcr8_)](https://app.deepsource.com/gh/cityssm/node-faster-constants/)

**Constants used by multiple Node packages that work with the
[FASTER Web Fleet Management System](https://fasterasset.com/products/fleet-management-software/).**

This is not meant to be a complete list of every constant used in FASTER Web.

_This package is in no way affiliated with or endorsed by FASTER Asset Solutions or Transit Technologies._

## Installation

```sh
npm install @cityssm/faster-constants
```

## Usage

```javascript
import fasterConstants from '@cityssm/faster-constants'

const newItemName =
'This is a very long item name, exceeding the allowable length'

if (newItemName.length > fasterConstants.inventory.items.itemName.maxLength) {
console.log('The item name will be truncated.')
}
```

## Related Projects

_Building an intergration with FASTER Web?_

[Have a look at the City's open source projects related to FASTER Web](https://github.com/cityssm/faster-web-projects).