Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
compress-brotli
Advanced tools
Simple cross Node.js inteface for using brotli compression
undefined
).>=11.7.0
).$ npm install compress-brotli --save
In case you are not targeting Node.js v11.7.0 or above, you need to install iltorb
as extra dependency:
$ npm install iltorb --save
const createCompress = require('compress-brotli')
// It exposes compress/decompress methods
const { compress, decompress } = createCompress()
Type: boolean
Default: false
If pass disable, it will return a noop compress/decompress methods.
Type: function
Default: JSON.stringify
It determines the serialize method to use before compress the data.
Type: function
Default: JSON.parse
It determines the deserialize method to use after decompress the data.
compress-brotli © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.
kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats
FAQs
Simple cross Node.js inteface for using brotli compression
The npm package compress-brotli receives a total of 256,534 weekly downloads. As such, compress-brotli popularity was classified as popular.
We found that compress-brotli demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.