Gathering detailed insights and metrics for next-isomorphic-link
Gathering detailed insights and metrics for next-isomorphic-link
npm install next-isomorphic-link
Typescript
Module System
Node Version
NPM Version
27.1
Supply Chain
53.6
Quality
75.1
Maintenance
100
Vulnerability
92.3
License
JavaScript (100%)
Total Downloads
2,300
Last Day
1
Last Week
6
Last Month
16
Last Year
155
2 Stars
28 Commits
1 Watching
4 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
0.2.5
Package Id
next-isomorphic-link@0.2.5
Unpacked Size
9.96 kB
Size
4.90 kB
File Count
5
NPM Version
6.4.1
Node Version
10.13.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
-33.3%
6
Compared to previous week
Last month
33.3%
16
Compared to previous month
Last year
-31.7%
155
Compared to previous year
5
A tiny Next.js <Link/>
wrapper that improves server-side rendered output with better keyboard navigation support
yarn add next-isomorphic-link
Replace import from of next/link
with next-isomorphic-link
:
1- import Link from 'next/link' 2+ import Link from 'next-isomorphic-link'
The default <Link/>
component usage looks like this (as of Next 9):
1<Link href='/puppies'> 2 <a>Puppies</a> 3</Link>
When you view the source, or disable JavaScript, the markup will look like this:
1<a>Puppies</a>
There are a few issues here:
<a>
tags without href
attributes are not tabbable (you can’t tab around the page)Enter
(or the spacebar if you have that option enabled) when focussed on the link will have no effect.These are easy to fix:
href
attribute to the child <a>
in the server-rendered markup (and remove it when mounted)tabIndex
of 0
to the client-side rendered link to ensure tabbability (if that is a word)No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
project is archived
Details
Reason
Found 0/18 approved changesets -- score normalized to 0
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
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
15 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
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