Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including bupper with all npm packages installed. Try it out:

var bupper = require("bupper")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

bupper v2.0.0

A Nodejs Buffer helper


A Nodejs Buffer helper.


Use npm:

npm install bupper

Or add to your package dependencies:

  "dependencies": {
    "bupper": "*"

Quick Start

Concat buffer chunks with .add(chunk) and output them together using .combine()

var Bupper = require('bupper');
var http = require('http');
http.createServer(function(req, res) {
  req.on('data', function(chunk) {
  req.on('end', function() {
    console.log( Bupper.combine().toString() )


Concat chunks:


Output chunks:



  • write a test
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free