A framework for project creation and migration, used to power create-xxx or @xxx/create-xxx packages. Current version is 1.4.0 (stable). Provides a simple API to initialize projects from templates with support for EJS templates, file strategies (delete, default, override), and JSON merging/deletion. Unlike Yeoman or other scaffolding tools, init-roll focuses on template-based initialization with built-in file conflict handling and package.json manipulation. Released under MIT license.
npm install init-rollNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a project from a template directory using EJS parameters. The first argument is the template path, second is the output project path, third is an object of template variables.
Rename the file to avoid the reserved extension or use a different naming convention.
Pin version to 1.4.0 or use package-lock.json.
Ensure template variable values are filesystem-safe (no slashes, etc.).
Run 'npm install --save init-roll' (or --save-dev if only for development).
Change 'import init from "init-roll"' to 'import { init } from "init-roll"'.Set 'type': 'module' in package.json or use .mjs extension, or use require syntax.