{"library":"pacco","title":"Pacco Modular Web Bundler","description":"Pacco is a JavaScript bundler designed for modular and extensible web projects, focusing on building client-side assets like JavaScript and SCSS. Currently at version 2.1.18, its development appears to be inactive; the last update was in November 2021, and its documentation explicitly states it is a 'TODO' dependent on user interest. This tool distinguishes itself from alternatives like Webpack by offering zero-configuration setup, supporting partial builds to compile only necessary files, and providing extensibility features for injecting or overriding files. It also allows for module priority configuration, ensuring critical code loads early for improved perceived performance. Pacco is built on top of Gulp, enabling easy integration with existing Gulp-based build systems and facilitating further customization with Gulp plugins. However, its maintenance status and lack of comprehensive documentation make it a less viable option for new projects compared to actively developed bundlers.","language":"javascript","status":"abandoned","last_verified":"Thu Apr 23","install":{"commands":["npm install pacco"],"cli":{"name":"pacco","version":null}},"imports":["const pacco = require('pacco');"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const gulp = require('gulp');\nconst pacco = require('pacco');\n\n// A minimal Gulp task to demonstrate Pacco usage.\n// In a real project, 'pacco' would be configured with options\n// for source directories, output, and specific build configurations.\n// Given the lack of documentation, specific options are not provided.\ngulp.task('build-pacco', function() {\n  console.log('Running Pacco build...');\n  // This is a placeholder. Actual Pacco configuration would go here.\n  // Based on the README, it 'just works' without explicit config,\n  // implying it might infer inputs/outputs or use a default CLI approach.\n  // If used as a Gulp plugin, it would likely take a stream or config object.\n  // Example placeholder for demonstration purposes:\n  return gulp.src('./src/**/*.js') // Or specific entry points\n    .pipe(pacco.bundle({ /* options based on project structure */ }))\n    .pipe(gulp.dest('./dist'));\n});\n\ngulp.task('default', gulp.series('build-pacco'));\n\n// To run: \n// 1. Install gulp-cli globally: npm install -g gulp-cli\n// 2. Install gulp and pacco locally: npm install gulp pacco --save-dev\n// 3. Create a 'gulpfile.js' in your project root with the above content.\n// 4. Create a 'src' directory and add some '.js' files.\n// 5. Run 'gulp build-pacco' or just 'gulp' in your terminal.","lang":"javascript","description":"Demonstrates how to integrate Pacco into a basic Gulpfile.js to perform a build task, assuming Pacco functions as a Gulp plugin for bundling.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}