var AssetStream = ;var contentSize = AssetStreamhelpercontentSize;// Teach system about Handlebars templates mimetype.var mime = ;mime;// Create our own asset writable stream, that just outputs the event// (either 'update' or 'delete'), the given path and the content size.var debugOutput = AssetStreamDestination;// Setup our pipeline from building blocks. This is not as efficient as// it could be. For higher performance use the transformCache helper.AssetStreamsource;
Look around the codebase, if you're curious.
npm install assetstream