Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
broccoli-brotli
Advanced tools
Fork of broccoli-zopfli (which is a fork of broccoli-gzip) to use Brotli instead of Zopfli instead of gzip to perform compression. All credit goes to the original authors of broccoli-{zopfli,gzip}.
$ npm i broccoli-brotli
const Brotli = require('broccoli-brotli')
const tree = new Brotli('app', {
extensions: ['js', 'css', 'svg']
})
new Brotli(inputNode, options)
options.extensions
{Array} (required)
The file extensions that should be compressed.
options.keepUncompressed
{Boolean} (optional, default false
)
Whether to keep uncompressed versions of the files in the resulting tree.
options.appendSuffix
{Boolean} (optional, default true
)
Whether to append the .br
extension suffix to compressed files.
options.XXX
Where XXX
comes from BrotliOptions.
broccoli-brotli is, like broccoli-zopfli, distributed under the MIT license.
FAQs
Broccoli plugin to compress trees using Brotli
The npm package broccoli-brotli receives a total of 226 weekly downloads. As such, broccoli-brotli popularity was classified as not popular.
We found that broccoli-brotli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.