Security News
RubyGems.org Adds New Maintainer Role
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.
compress-brotli
Advanced tools
Simple cross Node.js inteface for using brotli compression
>=11.7.0
).undefined
).$ 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: JSONB.stringify
It determines the serialize method to use before compress the data.
Type: function
Default: JSONB.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
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.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.