Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Node.js library to combine multiple JS/CSS files to a single endpoint, serving a single file.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
README.md
index.js
package.json

README.md

Kombiner

Node.js library to combine multiple JS/CSS files to a single endpoint, serving a single file.

USAGE

var k = require('kombiner').listen(server);
k.serve('allinone.js', [
  'mylibrary.js', 
  'otherstuff.js'
]);

This call combines the two js files into a single endpoint that can be called from the client at /allinone.js.

BENEFITS

  • Combine multiple JS or CSS files in one, thus having a single HTTP request.
  • Caches the result in memory to be fast. The combination is done only once.
  • Watches the files and updates the combined output if they change.
  • Supports ETag for client-side caching.

LICENSE

Copyright (C) 2013-2014, Davide Casali
Licensed under MIT License

Alone we can do so little;
together we can do so much.

– Helen Keller

Something went wrong with that request. Please try again.