Gathering detailed insights and metrics for nuxt-highlightjs
Gathering detailed insights and metrics for nuxt-highlightjs
Gathering detailed insights and metrics for nuxt-highlightjs
Gathering detailed insights and metrics for nuxt-highlightjs
npm install nuxt-highlightjs
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
20 Stars
14 Commits
1 Forks
1 Watchers
2 Branches
2 Contributors
Updated on Aug 30, 2024
Latest Version
1.0.3
Package Id
nuxt-highlightjs@1.0.3
Unpacked Size
5.17 kB
Size
2.23 kB
File Count
5
NPM Version
8.8.0
Node Version
16.13.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
1
1
Highlight.js syntax highlighting for Nuxt.js
nuxt-highlightjs
dependency to your project1npm install --save nuxt-highlightjs
nuxt-highlightjs
to the modules
section of nuxt.config.js
1 modules: [ 2 // Simple Usage 3 'nuxt-highlightjs', 4 5 // With Options 6 ['nuxt-highlightjs', { 7 // Module Options 8 }] 9 ],
In your .vue
template:
1 <!-- Adding codeblock content in HTML --> 2 <pre> 3 <code v-highlight class="javascript">console.log('Hello World')</code> 4 </pre> 5 6 <!-- Adding codeblock content with a variable 7 (where the variable 'code' lives in your component's data function) --> 8 <pre> 9 <code v-highlight="code" class="javascript">console.log('Hello World')</code> 10 </pre>
The example above uses javascript highlighting, you can change the class on the code element to any of the supported languages to set the highlighting.
style
string
default
Set the highlight.js theme See list of available style options
1 modules: [ 2 // With Options 3 ['nuxt-highlightjs', { 4 style: 'obsidian' 5 }] 6 ],
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
project is archived
Details
Reason
Found 1/11 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
license 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
Reason
11 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