joinbuffers
Advanced tools
Comparing version 0.1.0 to 0.1.1
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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
1695
1
24
15
1