Gathering detailed insights and metrics for @netsells/storybook-router
Gathering detailed insights and metrics for @netsells/storybook-router
Gathering detailed insights and metrics for @netsells/storybook-router
Gathering detailed insights and metrics for @netsells/storybook-router
npm install @netsells/storybook-router
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
13 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Apr 07, 2022
Latest Version
1.3.0
Package Id
@netsells/storybook-router@1.3.0
Unpacked Size
5.60 kB
Size
2.07 kB
File Count
4
NPM Version
6.14.15
Node Version
14.18.1
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
5
This package provides an easy and convenient way to provide routes to your Vue-based stories.
1$ yarn add -D @netsells/storybook-router
Provide the decorator in your storybook decorators config:
1import withStorybookRouter from '@netsells/storybook-router'; 2 3export default [ 4 withStorybookRouter, 5];
To register a route for your stories, you can simply provide an array of routes to the router.routes
parameter like so:
1export default { 2 parameters: { 3 router: { 4 routes: [ 5 { 6 name: 'account', 7 path: '/account', 8 }, 9 ], 10 }, 11 }, 12};
You can also provide routes to specific stories if required:
1story.parameters = { 2 router: { 3 routes: [ 4 { 5 name: 'account', 6 path: '/account', 7 }, 8 ], 9 }, 10};
You can adjust config values used in the set up of VueRouter
by passing a config
object in your parameters.
1export default { 2 parameters: { 3 router: { 4 config: { 5 mode: 'history', 6 }, 7 routes: [], 8 }, 9 }, 10};
When used with the @netsells/vue-storybook-test-utils package, routes will automatically be registered for your tests based on the routes provided in this parameter. This means you don't have to maintain routes for both your tests and stories, and reduces the time spent setting up said tests.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/13 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
15 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