{"id":25979,"library":"newmimosa","title":"newmimosa","description":"A Mimosa module that provides the `mimosa new` scaffolding command, allowing developers to generate a new Mimosa project with various asset options. As of version 2.2.1, it supports JavaScript transpilers (TypeScript, CoffeeScript, LiveScript, Coco, Iced CoffeeScript), CSS pre-processors (SASS, Less, Stylus), client templating (Handlebars, Jade, EJS, etc.), and server setups (Express, Hapi, or none with mimosa-server). Used primarily with Mimosa build tool. The repository is archived and no longer actively maintained.","status":"abandoned","version":"2.2.1","language":"javascript","source_language":"en","source_url":"https://github.com/dbashford/newmimosa","tags":["javascript","mimosa","mmodule","scaffold","new"],"install":[{"cmd":"npm install newmimosa","lang":"bash","label":"npm"},{"cmd":"yarn add newmimosa","lang":"bash","label":"yarn"},{"cmd":"pnpm add newmimosa","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core Mimosa build tool is required to use newmimosa; it is a module within the Mimosa ecosystem.","package":"mimosa","optional":true}],"imports":[{"note":"The package is ESM-only starting from version 2.0.0; CommonJS require() will fail.","wrong":"const newmimosa = require('newmimosa')","symbol":"default","correct":"import newmimosa from 'newmimosa'"}],"quickstart":{"code":"// Ensure Mimosa is installed globally or locally\n// Then run: mimosa new my-project\n// This triggers interactive prompts after reading the newmimosa module\nimport { execSync } from 'child_process';\nexecSync('mimosa new my-project', { stdio: 'inherit' });","lang":"javascript","description":"Demonstrates scaffolding a new Mimosa project using the newmimosa module via the 'mimosa new' CLI command."},"warnings":[{"fix":"Consider alternatives or use the last known working version 2.2.1.","message":"newmimosa is no longer actively maintained; the repository is archived.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Use ESM imports (import) or downgrade to version 1.x for CJS support.","message":"ESM-only from version 2.0.0: CommonJS require will not work.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Switch to import statement or use dynamic import().","cause":"Trying to import version 2.x with CommonJS require()","error":"Error [ERR_REQUIRE_ESM]: require() of ES Module not supported."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}