0.3.1 • Published 10 months ago

@cityssm/faster-constants v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

FASTER Web Constants

npm (scoped) DeepSource DeepSource

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

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

npm install @cityssm/faster-constants

Usage

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.

0.3.1

10 months ago

0.3.0

10 months ago

0.2.0

1 year ago

0.1.0

1 year ago