Gathering detailed insights and metrics for marked-linkify-it
Gathering detailed insights and metrics for marked-linkify-it
Gathering detailed insights and metrics for marked-linkify-it
Gathering detailed insights and metrics for marked-linkify-it
linkify-it
Links recognition library with FULL unicode support
@types/linkify-it
TypeScript definitions for linkify-it
linkifyjs
Find URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML <a> links.
@types/markdown-it
TypeScript definitions for markdown-it
npm install marked-linkify-it
78.6
Supply Chain
89.7
Quality
85
Maintenance
100
Vulnerability
99.6
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
2 Stars
1,287 Commits
4 Forks
3 Watching
13 Branches
6 Contributors
Updated on 25 Nov 2024
Minified
Minified + Gzipped
JavaScript (96.3%)
TypeScript (3.7%)
Cumulative downloads
Total Downloads
Last day
-32.8%
299
Compared to previous day
Last week
-3.5%
2,190
Compared to previous week
Last month
27.4%
8,851
Compared to previous month
Last year
77.7%
79,975
Compared to previous year
2
1
19
marked using linkify-it for urls
1import { marked } from "marked"; 2import markedLinkifyIt from "marked-linkify-it"; 3 4// or UMD script 5// <script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js"></script> 6// <script src="https://cdn.jsdelivr.net/npm/marked-linkify-it/lib/index.umd.js"></script> 7 8const schemas = {}; 9const options = {}; 10 11marked.use(markedLinkifyIt(schemas, options)); 12 13marked("example.com"); 14// <p><a href="http://example.com">example.com</a></p>
schemas
see https://github.com/markdown-it/linkify-it#api
Note: #add()
doesn't work with this extension
1markedLinkifyIt.add('@', {...}) // Doesn't work, you need to pass a schema manually
Instead do:
1const schemas = { 2 '@': { 3 validate: function (text, pos, self) { 4 // ... 5 }, 6 normalize: function (match) { 7 // ... 8 } 9 } 10};
options
see https://github.com/markdown-it/linkify-it#api
linkify options plus the following additional options:
tlds
String|String[]
replace or add tlds for fuzzy links/
tldsKeepOld
Boolean; Default: false
true
to add domains instead of replacing domain list.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 0/2 approved changesets -- score normalized to 0
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
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 2024-11-25
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