Gathering detailed insights and metrics for @hackmd/markdown-it-task-lists
Gathering detailed insights and metrics for @hackmd/markdown-it-task-lists
npm install @hackmd/markdown-it-task-lists
Typescript
Module System
Node Version
NPM Version
70.8
Supply Chain
91.4
Quality
80.2
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
22,215
Last Day
22
Last Week
178
Last Month
1,043
Last Year
9,048
97 Stars
41 Commits
33 Forks
3 Watching
30 Branches
3 Contributors
Minified
Minified + Gzipped
Latest Version
2.1.4
Package Id
@hackmd/markdown-it-task-lists@2.1.4
Unpacked Size
15.36 kB
Size
5.06 kB
File Count
11
NPM Version
9.8.1
Node Version
18.18.0
Publised On
27 Mar 2024
Cumulative downloads
Total Downloads
Last day
-59.3%
22
Compared to previous day
Last week
-29.9%
178
Compared to previous week
Last month
37.1%
1,043
Compared to previous month
Last year
116.7%
9,048
Compared to previous year
5
A markdown-it plugin to create GitHub-style task lists
[ ]
or [x]
.When you have markdown documentation with checklists, rendering HTML checkboxes out of the list items looks nicer than the raw square brackets.
1npm install markdown-it-task-lists
Use it the same as a normal markdown-it plugin:
1var md = require('markdown-it'); 2var taskLists = require('markdown-it-task-lists'); 3 4var parser = md().use(taskLists); 5 6var result = parser.render(...); // markdown string containing task list items
The rendered checkboxes are disabled; to change this, pass a truthy value into
the enabled
property of the plugin options:
1var parser = md().use(taskLists, {enabled: true});
If you'd like to wrap the rendered list items in a <label>
element for UX
purposes, pass a truthy value to the label
property of the plugin options:
1var parser = md().use(taskLists, {label: true});
To add the label after the checkbox pass a truthy value to labelAfter
property:
1var parser = md().use(taskLists, {label: true, labelAfter: true});
Note: This option does require the label
option to be truthy.
The options can be combined, of course.
If you use one of the versions of this module available in dist/
directly in
a browser by including it with a <script>
element, it will be available
globally in window.markdownitTaskLists
.
1npm install 2npm test
ISC
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/23 approved changesets -- score normalized to 1
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
Reason
22 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