{"library":"express-simple-bundler","type":"library","category":null,"description":"express-simple-bundler is a specialized utility designed for Express.js applications, focusing on the streamlined creation of minified and cache-busted JavaScript and CSS bundles. The package, currently at version 0.2.0, indicates an early stage of development with an likely infrequent release cadence. Its core functionality involves processing specified source files, applying compression via configurable engines like UglifyJS for JavaScript and clean-css for CSS, and then outputting these bundles to a designated public directory. A key differentiator is its automatic appending of MD5 hashes to the generated filenames, which is crucial for effective cache invalidation and ensuring browsers fetch the latest asset versions upon deployment. The library integrates directly into the server-side logic of an Express application, providing bundled file paths through a global object for use in view templates. This direct integration aims to simplify asset management without requiring a separate, complex build pipeline, making it suitable for projects prioritizing simplicity within the Express ecosystem.","language":"javascript","status":"maintenance","version":"0.2.0","tags":["javascript","bundle","bundler","bundling","css","express"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-simple-bundler","imports":["const bundler = require('express-simple-bundler');\nbundler.bundle(bundleSettings);","const { bundle } = require('express-simple-bundler'); // This works because the default export is a function","// Accessed globally after bundling\n// For example, in a view engine like EJS:\n// <link rel=\"stylesheet\" type=\"text/css\" src=\"<%= bundles.css[0] %>\" />"]},{"cmd":"yarn add express-simple-bundler","imports":[]},{"cmd":"pnpm add express-simple-bundler","imports":[]}],"homepage":null,"github":"https://github.com/CraigLager/express-simple-bundler","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-simple-bundler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/express-simple-bundler/compatibility"}}