https://github.com/cityssm/node-faster-url-builder
Builds URLs for the FASTER Web Fleet Management System
https://github.com/cityssm/node-faster-url-builder
faster-web
Last synced: 3 months ago
JSON representation
Builds URLs for the FASTER Web Fleet Management System
- Host: GitHub
- URL: https://github.com/cityssm/node-faster-url-builder
- Owner: cityssm
- License: mit
- Created: 2024-11-15T14:53:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-28T14:46:27.000Z (about 1 year ago)
- Last Synced: 2025-10-21T20:58:00.708Z (7 months ago)
- Topics: faster-web
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@cityssm/faster-url-builder
- Size: 356 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 URL Builder
[](https://www.npmjs.com/package/@cityssm/faster-url-builder)
[](https://codecov.io/gh/cityssm/node-faster-url-builder)
[](https://app.deepsource.com/gh/cityssm/node-faster-url-builder/)
[](https://github.com/cityssm/node-faster-url-builder/actions/workflows/coverage.yml)
Builds URLs for the
[FASTER Web Fleet Management System](https://fasterasset.com/products/fleet-management-software/).
Helpful when building integrations with FASTER Web that require links.
## Installation
```sh
npm install @cityssm/faster-url-builder
```
## Usage
```javascript
import { FasterUrlBuilder } from '@cityssm/faster-url-builder'
console.log(new FasterUrlBuilder('test-tenant').loginUrl)
// => https://test-tenant.fasterwebcloud.com/FASTER/Login
```
## Included URLs
- `baseUrl`
- `loginUrl`
- `inventoryItemRequestSearchUrl`
- `reportViewerUrl`
- `scheduledReportsUrl`
- `integrationsUrl`
- `technicianWorkstationUrl`
## Included Helper Functions
- `inventorySearchUrl(searchString, exactMatch)`
- `itemUrl(itemId)`
- `workOrderSearchUrl(searchString, exactMatch)`
- `workOrderUrl(workOrderNumber)`
## 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).