Gathering detailed insights and metrics for otp-react-redux
Gathering detailed insights and metrics for otp-react-redux
Gathering detailed insights and metrics for otp-react-redux
Gathering detailed insights and metrics for otp-react-redux
A library for writing modern OpenTripPlanner-compatible multimodal journey planning applications using React and Redux.
npm install otp-react-redux
Typescript
Module System
Node Version
NPM Version
JavaScript (50.57%)
TypeScript (46.55%)
CSS (2.77%)
HTML (0.1%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
81 Stars
8,939 Commits
56 Forks
11 Watchers
215 Branches
40 Contributors
Updated on Jul 14, 2025
Latest Version
3.8.0
Package Id
otp-react-redux@3.8.0
Unpacked Size
10.33 MB
Size
2.92 MB
File Count
302
NPM Version
7.21.1
Node Version
16.13.1
Published on
Dec 16, 2021
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
81
4
56
A library for writing modern OpenTripPlanner-compatible multimodal journey planning applications using React and Redux.
An example of an OTP-RR application is included in the repository. The example project is a single page application with a root entry point of the example.js
file. This example.js file can be modified to suit the needs of a particular implementation.
To run, first clone the repo and install yarn if needed.
Update example-config.yml
with the needed API keys, and optionally, the OTP endpoint and initial map origin. (The default values are for a test server for Portland, OR.).
Install the dependencies and start a local instance using the following script:
1yarn start
Should you want to maintain multiple configuration files, OTP-RR can be made to use a custom config file by using environment variables. Other environment variables also exist. CUSTOM_CSS
can be used to point to a css file to inject, and JS_CONFIG
can be used to point to a config.js
file to override the one shipped with OTP-RR.
1yarn start --env.YAML_CONFIG=/absolute/path/to/config.yml
Build the js/css bundle by running yarn build
. The build will appear in the dist/
directory).
The same environment variables which affect the behavior of yarn start
also affect yarn build
. Running the following command builds OTP-RR with customized js and css:
1yarn build --env.JS_CONFIG=my-custom-js.js env.CUSTOM_CSS=my-custom-css.css
More coming soon...
As of version 2.0, otp-react-redux utilizes React's context API in a number of components. This changed the way that some components receive props such that they will not work properly unless wrapped with the context provider used in the ResponsiveWebapp
component.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool is run on all commits
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
57 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More