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.
This is a fork of http://code.google.com/p/protobuf-for-node/
It now works with the NodeJS 0.6.x series.
NodeJS v0.6.X npm
The first steps are to build and install Google's protobuf library. Make sure you have the right version by running "protoc --version" after the install.
wget http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.gz
tar -xzvf protobuf-2.4.1.tar.gz
cd protobuf-2.4.1/
./configure && make && sudo make install
cd
This installs the npm package.
npm install protobuf
For Ubuntu, the following step may be unneeded now.
echo "/home/chris/node_modules/protobuf/build/Release/" | sudo tee /etc/ld.so.conf.d/protobuf.conf
(replace /home/chris/node_modules with wherever you installed the module)
For Ubuntu, update library paths.
sudo ldconfig
For OSX, you might need to add the path:
export DYLD_LIBRARY_PATH=/home/chris/node_modules/protobuf/build/Release:/usr/local/lib:$DYLD_LIBRARY_PATH
And test that it works... Run node, try
require('protobuf');"
you should see:
{ Schema: [Function: Schema] }
As seen from the instructions above, this is my first attempt at packaging a slightly complex C++ module for NPM.
If you can help me simplify these instructions, please submit a patch.
Good luck,
Chris.
FAQs
Protocol Buffers for NodeJS
The npm package protobuf receives a total of 230 weekly downloads. As such, protobuf popularity was classified as not popular.
We found that protobuf 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
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.