
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
broccoli-favicon
Advanced tools
Takes a single favicon.png
and outputs various sizes and file formats for favicons for different platforms and devices. Uses favicons
, see that projects documentation for details on the full range of support favicon generation.
Default configuration values are show below:
import Favicon from "broccoli-favicon";
const outputNode = new Favicon(nodeWithFaviconImage, {
iconPath: "favicon.png", // The path to the source image in 'nodeWithFaviconImage'
onSuccess(htmlArray, rawObject) {
// this method is called once the generator finishes;
// the first parameter is an array of strings containing
// the appropriate HTML to use the generated icons
// and the second argument is a raw object containing serialized html objects
},
// The favicons config object is passed directly to the underlying `Favicons` module
// See https://github.com/haydenbleasel/favicons for details and defaults
faviconsConfig: {},
});
FAQs
Generate favicons and HTML using Favicons package
The npm package broccoli-favicon receives a total of 1,485 weekly downloads. As such, broccoli-favicon popularity was classified as popular.
We found that broccoli-favicon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.