Node.js library to combine multiple JS/CSS files to a single endpoint, serving a single file.
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
- 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.
Copyright (C) 2013-2014, Davide Casali
Licensed under MIT License
Alone we can do so little;
together we can do so much.
– Helen Keller