Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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 brotli --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
We found that compress-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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.