Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

protodef

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protodef

A simple yet powerful way to define binary protocols

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10K
decreased by-36.17%
Maintainers
1
Weekly downloads
 
Created
Source

ProtoDef

Join the chat at https://gitter.im/roblabla/ProtoDef This is a node.js module to simplify defining, reading and writing binary blobs, whether they be internet protocols or files.

Installing

This project is not on NPM yet, since it is far from being usable. If you still want to use it,

npm i --save roblabla/protodef

API Stability

This project is going to undergo lots of api changes before 1.0, so if you depend on this project, you should specify the hash you build against

Usage

var protodef = require('protodef');
var proto = protodef.create();
proto.addType("");

What's done

Currently, only the deserialization engine is done and used. Serialization is far from done.

TODO

  • Write tests for every datatypes, and the different *Field behaviors.
  • Rethink datatype function signature
  • Datatypes should include name when creating them, instead of being provided by the user, to ease datatype dependencies.
  • Write the serialization stream.
  • Probably more...

FAQs

Package last updated on 11 Oct 2015

Did you know?

Socket

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.

Install

Related posts

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