Gathering detailed insights and metrics for @types/serve-favicon
Gathering detailed insights and metrics for @types/serve-favicon
Gathering detailed insights and metrics for @types/serve-favicon
Gathering detailed insights and metrics for @types/serve-favicon
The repository for high quality TypeScript type definitions.
npm install @types/serve-favicon
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,028 Stars
89,737 Commits
30,433 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 13, 2025
Latest Version
2.5.7
Package Id
@types/serve-favicon@2.5.7
Unpacked Size
4.26 kB
Size
1.88 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
1
npm install --save @types/serve-favicon
This package contains type definitions for serve-favicon (https://github.com/expressjs/serve-favicon).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serve-favicon.
1/* =================== USAGE =================== 2 3 import serveFavicon = require('serve-favicon'); 4 app.use(serveFavicon(__dirname + '/public/favicon.ico')); 5 6 =============================================== */ 7 8import express = require("express"); 9 10/** 11 * Node.js middleware for serving a favicon. 12 */ 13declare function serveFavicon( 14 path: string | Buffer, 15 options?: serveFavicon.Options, 16): express.RequestHandler; 17 18declare namespace serveFavicon { 19 interface Options { 20 /** 21 * The cache-control max-age directive in ms, defaulting to 1 year. 22 * This can also be a string accepted by the `ms` module. 23 */ 24 maxAge?: number | string | undefined; 25 } 26} 27 28export = serveFavicon; 29
These definitions were written by Uros Smolnik, and Piotr Błażejewicz.
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-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