Gathering detailed insights and metrics for react-native-direct-router
Gathering detailed insights and metrics for react-native-direct-router
Gathering detailed insights and metrics for react-native-direct-router
Gathering detailed insights and metrics for react-native-direct-router
npm install react-native-direct-router
Typescript
Module System
Node Version
NPM Version
27.7
Supply Chain
60.9
Quality
62.6
Maintenance
25
Vulnerability
91.6
License
TypeScript (60.55%)
Objective-C (22.96%)
Python (9.04%)
Java (7.45%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
30 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Oct 31, 2017
Latest Version
0.0.4
Package Id
react-native-direct-router@0.0.4
Size
445.38 kB
NPM Version
5.3.0
Node Version
8.5.0
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
A simple, None layer router
npm install react-native-direct-router --save
yarn add react-native-direct-router
Router.go("Route-A")
go to scene which name is
Route-A
Router.back()
back to previous route
1import {Router, RouteConfig} from "react-native-direct-router"; 2import {TestA} from "./src/pages/TestA"; 3import {TestB} from "./src/pages/TestB"; 4import {Header} from "./src/pages/Header"; 5import {Footer} from "./src/pages/Footer"; 6 7export class App extends React.Component<any, any> { 8 public static config: RouteConfig = { 9 defaultSceneName: "Route-A", 10 scenes: [ 11 { 12 name: "Route-A", 13 scene: TestA, 14 header: Header, 15 footer: Footer, 16 }, 17 { 18 name: "Route-B", 19 scene: TestB, 20 header: Header, 21 footer: Footer, 22 }, 23 ], 24 }; 25 public render() { 26 return <Router config={App.config} />; 27 } 28}
1import {Router, RouteConfig} from "react-native-direct-router"; 2import {TestA} from "./src/pages/TestA"; 3import {TestB} from "./src/pages/TestB"; 4import {Header} from "./src/pages/Header"; 5import {Footer} from "./src/pages/Footer"; 6 7export class App extends React.Component { 8 static config: RouteConfig = { 9 defaultSceneName: "Route-A", 10 scenes: [ 11 { 12 name: "Route-A", 13 scene: TestA, 14 header: Header, 15 footer: Footer, 16 }, 17 { 18 name: "Route-B", 19 scene: TestB, 20 header: Header, 21 footer: Footer, 22 }, 23 ], 24 }; 25 render() { 26 return <Router config={App.config} />; 27 } 28}
No vulnerabilities found.
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
binaries present in source code
Details
Reason
Found 0/29 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
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