Gathering detailed insights and metrics for @types/json2md
Gathering detailed insights and metrics for @types/json2md
Gathering detailed insights and metrics for @types/json2md
Gathering detailed insights and metrics for @types/json2md
The repository for high quality TypeScript type definitions.
npm install @types/json2md
Typescript
Module System
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,050 Stars
89,752 Commits
30,434 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 16, 2025
Latest Version
1.5.4
Package Id
@types/json2md@1.5.4
Unpacked Size
5.86 kB
Size
1.99 kB
File Count
5
Published on
Nov 07, 2023
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
npm install --save @types/json2md
This package contains type definitions for json2md (https://github.com/IonicaBizau/json2md#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json2md.
1export = json2md; 2 3/** 4 * Converts a JSON input to markdown. 5 * 6 * @param data The input JSON data. 7 * @param prefix A snippet to add before each line. 8 * @return The generated markdown result. 9 */ 10declare function json2md(data: json2md.DataObject | json2md.DataObject[] | string | string[], prefix?: string): string; 11type json2md = typeof json2md; 12 13declare namespace json2md { 14 const converters: ConvertersMethods; 15 16 namespace DefaultConverters { 17 interface Converters { 18 [converter: string]: any; 19 blockquote: string | string[]; 20 code: CodeInput; 21 h1: string | string[]; 22 h2: string | string[]; 23 h3: string | string[]; 24 h4: string | string[]; 25 h5: string | string[]; 26 h6: string | string[]; 27 img: ImgInput | ImgInput[]; 28 ol: string[]; 29 p: string | string[]; 30 table: TableInput; 31 ul: string[]; 32 } 33 34 interface ImgInput { 35 title: string; 36 source: string; 37 } 38 39 interface CodeInput { 40 language?: string | undefined; 41 content: string | string[]; 42 } 43 44 interface TableInput { 45 headers: string[]; 46 rows: Array<{ [column: string]: string }> | string[][]; 47 } 48 } 49 50 type DataObject = { 51 [TConverter in keyof DefaultConverters.Converters]?: DefaultConverters.Converters[TConverter]; 52 }; 53 54 type ConverterCallback<TInput> = (input: TInput, json2md: json2md) => string; 55 56 type ConvertersMethods = { 57 [TConverter in keyof DefaultConverters.Converters]: ConverterCallback<DefaultConverters.Converters[TConverter]>; 58 }; 59} 60
These definitions were written by MartynasZilinskas.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-14
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