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

joinbuffers

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joinbuffers - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

.travis.yml

13

index.js

@@ -1,13 +0,4 @@

/*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <bonuspunkt@gmail.com> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return.
* ----------------------------------------------------------------------------
*/
module.exports = function(bufferStore) {
var length = bufferStore.reduce(function(previous, current) {
return previous + current.length;
var length = bufferStore.reduce(function(previous, current) {
return previous + current.length;
}, 0);

@@ -14,0 +5,0 @@

{
"name": "joinbuffers",
"version": "0.1.0",
"version": "0.1.1",
"description": "joins an array of buffers to one big buffer",

@@ -17,3 +17,3 @@ "main": "index.js",

"author": "Bonuspunkt",
"license": "Beerware"
"license": "public domain"
}

@@ -1,4 +0,7 @@

#joinBuffers
#joinBuffers [![Build Status](https://secure.travis-ci.org/Bonuspunkt/joinbuffers.png)](http://travis-ci.org/Bonuspunkt/joinbuffers)
takes an array of small buffers and copies them into a single big one
##installation
npm install joinbuffers
## example

@@ -11,8 +14,3 @@

## licence
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <bonuspunkt@gmail.com> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return.
* ----------------------------------------------------------------------------
## license
public domain
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