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
- Host: GitHub
- URL: https://github.com/cityssm/node-faster-constants
- Owner: cityssm
- License: mit
- Created: 2025-02-19T14:06:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-19T15:57:30.000Z (over 1 year ago)
- Last Synced: 2025-02-19T16:39:59.245Z (over 1 year ago)
- Topics: faster-web
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@cityssm/faster-constants
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# FASTER Web Constants
[](https://www.npmjs.com/package/@cityssm/faster-constants)
[](https://app.deepsource.com/gh/cityssm/node-faster-constants/)
[](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).