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

length-prefixed-message

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

length-prefixed-message - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

.travis.yml

1

index.js

@@ -28,2 +28,3 @@ var readFn = function(byteLen) {

var create = function(opts) {
if (typeof opts === 'number') opts = {length:opts}
opts = opts || {};

@@ -30,0 +31,0 @@ opts.length = opts.length || 4;

2

package.json
{
"name": "length-prefixed-message",
"version": "1.0.0",
"version": "1.1.0",
"description": "Reads and writes binary length prefixed messages. ",

@@ -5,0 +5,0 @@ "main": "index.js",

#length-prefixed-message
[![build status](https://travis-ci.org/sorribas/length-prefixed-message.png)](https://travis-ci.org/sorribas/length-prefixed-message.png)
Reads and writes binary length prefixed messages.
Example
##Install
```
npm install length-prefixed-message
```
##Example
```js

@@ -8,0 +17,0 @@ var lengthPrefixedMessage = require('length-prefixed-message');

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