{"library":"poops","title":"Poops: Web Bundler and Static Site Generator","description":"Poops is a straightforward, no-bullshit bundler and static site generator for web projects, currently stable at version 1.2.2. It leverages highly efficient tools like esbuild for JavaScript/TypeScript/JSX/TSX bundling and transpilation, and dart-sass for SCSS/SASS to CSS compilation. The package also integrates PostCSS for advanced CSS processing, including Tailwind CSS support, and offers design token integration (W3C DTCG & Style Dictionary). For static site generation, it supports swappable template engines, Nunjucks (default) or Liquid, with features for blogging, pagination, RSS/Atom/JSON feed generation, and React pre-rendering (Reactor). Poops prioritizes an intuitive, minimal-learning-curve approach, primarily driven by a simple JSON configuration file. Releases appear to be frequent, with minor versions rolling out new features and fixes every few weeks.","language":"javascript","status":"active","last_verified":"Tue Apr 21","install":{"commands":["npm install poops"],"cli":{"name":"poops","version":null}},"imports":["import { build } from 'poops';","import { serve } from 'poops';","npx poops"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npm i -D poops\n\n// poops.json in your project root\n{\n  \"scripts\": [\n    {\n      \"in\": \"example/src/js/main.ts\",\n      \"out\": \"example/dist/js/scripts.js\",\n      \"options\": {\n        \"sourcemap\": true,\n        \"minify\": true,\n        \"justMinified\": false,\n        \"format\": \"iife\",\n        \"target\": \"es2019\"\n      }\n    }\n  ],\n  \"styles\": [\n    {\n      \"in\": \"example/src/scss/main.scss\",\n      \"out\": \"example/dist/css/styles.css\",\n      \"options\": {\n        \"sourcemap\": true,\n        \"minify\": true,\n        \"postcss\": [\n          \"tailwindcss/nesting\",\n          \"tailwindcss\",\n          \"autoprefixer\"\n        ]\n      }\n    }\n  ],\n  \"markup\": [\n    {\n      \"in\": \"example/src/markup/index.liquid\",\n      \"out\": \"example/dist/index.html\",\n      \"data\": \"example/src/data\"\n    }\n  ]\n}\n\n// In your package.json scripts:\n// \"build\": \"npx poops\"\n\n// Run the build:\nnpx poops","lang":"json","description":"Demonstrates local installation, a basic `poops.json` configuration for bundling JavaScript, Sass, and Liquid templates, and how to execute the build command.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}