Gathering detailed insights and metrics for gulp-markdown-table-to-json
Gathering detailed insights and metrics for gulp-markdown-table-to-json
Gathering detailed insights and metrics for gulp-markdown-table-to-json
Gathering detailed insights and metrics for gulp-markdown-table-to-json
npm install gulp-markdown-table-to-json
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
8 Stars
34 Commits
3 Forks
1 Watchers
1 Branches
2 Contributors
Updated on Mar 21, 2025
Latest Version
3.0.2
Package Id
gulp-markdown-table-to-json@3.0.2
Unpacked Size
7.32 kB
Size
2.80 kB
File Count
6
NPM Version
6.5.0
Node Version
10.4.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
A github-style-markdown table parse plugin for gulp 3/4
Special thanks to noraj
First, install gulp-markdown-table-to-json
as a development dependency:
1npm install --save-dev gulp-markdown-table-to-json
Then, add it to your gulpfile.js
:
name | age | grade |
---|---|---|
John | 11 | 3 |
Bob | 13 | 4 |
name | age | grade |
---|---|---|
Petra | 15 | 8 |
Olivia | 14 | 7 |
1### Boys Table 2<!-- table2json:boys --> 3name | age| grade 4-----|----|----- 5John|11|3 6Bob|13|4 7 8### Girls Table 9<!-- table2json:girls --> 10name | age| grade | 11-----|----|----- 12Petra|15|8 13Olivia|14|7
Gulp 3:
1const md2json = require('gulp-markdown-table-to-json'); 2 3gulp.task('md2json', function(){ 4 gulp.src('README.md') 5 .pipe(md2json()) 6 .pipe(gulp.dest('.')); 7});
Gulp 4:
1const { src, dest, task} = require('gulp'); 2const md2json = require('gulp-markdown-table-to-json'); 3 4task(m2j); 5m2j.description = 'Markdown table to JSON'; 6function m2j() { 7 return src('index.md') 8 .pipe(md2json()) 9 .pipe(dest('.')); 10};
Then you will get a json file named README.json with the following content:
1{"boys":[{"name":"John","age":"11","grade":"3"},{"name":"Bob","age":"13","grade":"4"}],"girls":[{"name":"Petra","age":"15","grade":"8"},{"name":"Olivia","age":"14","grade":"7"}]}
You can also use "gulp-beautify" to beautify it:
1{ 2 "boys": [{ 3 "name": "John", 4 "age": "11", 5 "grade": "3" 6 }, { 7 "name": "Bob", 8 "age": "13", 9 "grade": "4" 10 }], 11 "girls": [{ 12 "name": "Petra", 13 "age": "15", 14 "grade": "8" 15 }, { 16 "name": "Olivia", 17 "age": "14", 18 "grade": "7" 19 }] 20}
Type: RegExp
The RegExp to search for table title. Default is /<!-- *table2json:([^ -]+) *-->/
.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
6 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 2/25 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
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