Socket
Socket
Sign inDemoInstall

protobuf

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protobuf - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

5

package.json
{ "name" : "protobuf",
"version" : "0.3.0",
"version" : "0.3.1",
"description" : "Protocol Buffers for NodeJS",

@@ -7,3 +7,4 @@ "author": {

},
"main": "./build/default/protobuf_for_node",
"main": "./build/Release/protobuf_for_node",
"engines": { "node": ">= 0.6.0 < 0.7.0" },
"repository": {

@@ -10,0 +11,0 @@ "type": "git",

17

README.md

@@ -23,3 +23,18 @@ This is a fork of http://code.google.com/p/protobuf-for-node/

4. ./configure && make && sudo make install
5.
5. cd
6. npm install protobuf
7. echo "/home/chris/node_modules/protobuf/build/default/" | sudo tee /etc/ld.so.conf.d/protobuf.conf
(replace /home/chris/node_modules with wherever you installed the module)
8. sudo ldconfig
9. 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.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc