Registry / devops / newmimosa

newmimosa

JSON →
library2.2.1jsnpmunverified

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.

npm install newmimosa
INSTALL
IMPORT
SIG · NEWMIMOSA
N
newmimosa
devopsjavascriptv2.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import newmimosa from 'newmimosa'
const newmimosa = require('newmimosa')
The package is ESM-only starting from version 2.0.0; CommonJS require() will fail.

Demonstrates scaffolding a new Mimosa project using the newmimosa module via the 'mimosa new' CLI command.

// Ensure Mimosa is installed globally or locally // Then run: mimosa new my-project // This triggers interactive prompts after reading the newmimosa module import { execSync } from 'child_process'; execSync('mimosa new my-project', { stdio: 'inherit' });
Debug
Known issues
deprecatednewmimosa is no longer actively maintained; the repository is archived.
fix
Consider alternatives or use the last known working version 2.2.1.
affects: >=1.0.0
breakingESM-only from version 2.0.0: CommonJS require will not work.
fix
Use ESM imports (import) or downgrade to version 1.x for CJS support.
affects: >=2.0.0
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module not supported.
Trying to import version 2.x with CommonJS require()
fix
Switch to import statement or use dynamic import().
Upgrade
Version history
2.2.1latest on npm
Audit
Dependencies
mimosaoptionalCore Mimosa build tool is required to use newmimosa; it is a module within the Mimosa ecosystem.
Agent activity
2 hits · last 30 days
node
2
Resources
newmimosa — npm install newmimosa · libregistry