Gathering detailed insights and metrics for @types/ng-showdown
Gathering detailed insights and metrics for @types/ng-showdown
Gathering detailed insights and metrics for @types/ng-showdown
Gathering detailed insights and metrics for @types/ng-showdown
The repository for high quality TypeScript type definitions.
npm install @types/ng-showdown
Typescript
Module System
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
9,902
Last Day
1
Last Week
32
Last Month
115
Last Year
1,407
NOASSERTION License
49,703 Stars
89,362 Commits
30,386 Forks
640 Watchers
6 Branches
9,955 Contributors
Updated on May 09, 2025
Latest Version
1.1.4
Package Id
@types/ng-showdown@1.1.4
Unpacked Size
6.35 kB
Size
2.18 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
-66.7%
1
Compared to previous day
Last Week
23.1%
32
Compared to previous week
Last Month
29.2%
115
Compared to previous month
Last Year
-35.9%
1,407
Compared to previous year
2
npm install --save @types/ng-showdown
This package contains type definitions for ng-showdown (https://github.com/showdownjs/ng-showdown#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ng-showdown.
1import angular = require("angular"); 2import { Converter } from "showdown"; 3 4export as namespace ngShowdown; 5 6export interface ShowdownProvider extends angular.IServiceProvider { 7 /** 8 * Sets a configuration option 9 * 10 * @param key Config parameter key 11 * @param value Config parameter value 12 */ 13 setOption(key: string, value: any): ShowdownProvider; 14 /** 15 * Gets the value of the configuration parameter specified by key 16 * 17 * @param key The config parameter key 18 * @returns Returns the value of the config parameter. (or null if the config parameter is not set) 19 */ 20 getOption(key: string): any; 21 /** 22 * Loads a Showdown Extension 23 * 24 * @param extensionName The name of the extension to load 25 */ 26 loadExtension(extensionName: string): ShowdownProvider; 27 $get(): SDObject; 28} 29 30export interface SDObject { 31 /** 32 * Converts a markdown text into HTML 33 * 34 * @param markdown The markdown string to be converted to HTML 35 * @returns The converted HTML 36 */ 37 makeHtml: Converter["makeHtml"]; 38 /** 39 * Strips a text of it's HTML tags. See https://stackoverflow.com/questions/17289448/angularjs-to-output-plain-text-instead-of-html 40 * 41 * @param text 42 */ 43 stripHtml(text: string): string; 44 /** 45 * Gets the value of the configuration parameter of CONVERTER specified by key 46 * @param key The config parameter key 47 */ 48 getOption: Converter["getOption"]; 49 /** 50 * Gets the converter configuration params 51 */ 52 getOptions: Converter["getOptions"]; 53} 54 55/** 56 * AngularJS Filter to Strip HTML tags from text 57 */ 58export type StripHtmlFilter = SDObject["stripHtml"]; 59 60declare module "angular" { 61 // tslint:disable:interface-name 62 interface IFilterService { 63 (name: "stripHtml"): ngShowdown.StripHtmlFilter; 64 } 65} 66
These definitions were written by Piotr Błażejewicz.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
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-05-05
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