@ou-imdt/create
| Install | |
|---|---|
npm install @ou-imdt/create |
|
| Latest Version: | 3.1.1 |
| License: | MIT |
| Last Updated: | Oct 20, 2026 |
| Links: | Bitbucket · npm |
Create
!!! For CREATE documentation please refer to the imdt-docs site.
Introduction
Create is a command line interface tool that assists in the creation of new widgets intended for distribution to the VLE.
The intention of the tool is to automate the creation of boilerplate code required by the VLE and provide a streamlined, modern, consistent and efficient development experience.
Architecture

Features
- Creates a new widget with the boilerplate code, with three templates (Vanilla JS, VUE or Custom). The Custom template mirrors Vanilla but lets you toggle the optional components (store, iframe testing, SVG metadata cleaner and icons) — from a minimal core up to the full Vanilla feature set.
- Populates the README file, index.html and package.json with dynamic templating.
- Checks Node.js version and notifies if Long Term Support (LTS) version is not used.
- History to maintain the last input data like author
email.
Compatibility Note: Requires Node.js LTS version.
Installation
npm install -g @ou-imdt/create
Update to the latest version
npm update -g @ou-imdt/create
Usage
Run the create using:
create
By default, you'll be prompted for inputs to generate a boilerplate:
Template? (Vanilla Javascript/VUE.js/Custom)
Components? (Custom template only — multi-select)
Widget name?
Widget description?
Widget developer name? **
Widget developer email? **
Install deps? (yes/no)
You can also provide non-interactive flags to skip prompts:
- --type, -t: Template type. Accepted values: vue, vanilla, custom (case-insensitive).
- --features, -f: For
-t customonly. Comma-separated component ids, orall/none. Toggleable ids: store, iframe, svgclean, icons. The CSS library (css), auto-resize (resize), VLEAPI stub, release zip, ESLint and Prettier are always included and cannot be turned off (this also always pulls the@ou-imdt/cssand@ou-imdt/utilsdependencies). The localdata.jsonis part of the store component. Selecting all reproduces the full Vanilla feature set (same files and package.json);noneproduces a core that still includes the always-on components above. - --name, -n: Widget/App name.
- --desc, -d: Description.
- --install, -i: Whether to install dependencies. Accepted: yes/no, y/n, true/false, 1/0.
Examples:
Non-interactive (all flags):
create --type vue --name app_name --desc "App description" --install yes
create -t vanilla -n widget-hello -d "Simple widget" -i no
create -t custom --features store,iframe,svgclean -n widget-partial -d "Partial widget" -i no
create -t custom --features none -n widget-bare -d "Barebones widget" -i no
Partial (prompts for what’s missing):
create --type vue --name app_name # prompts for description and install
create --name app_name -i yes # prompts for type and description
create --desc "My app" --install no # prompts for type and name
Interactive (no flags):
create
** These will be fetched from git config, if they do not exist you will be prompted to enter them.
Commands
help Prints help info
Options
-t, --type Template type (vanilla | vue | custom)
-f, --features Custom components (ids | all | none)
-n, --name Widget/App name
-d, --desc Description
-i, --install Whether to install dependencies (yes/no)
-c, --clear Clear the console Default: true
-v, --version Print CLI version Default: false
Licence
This project is licensed under the MIT License - see the LICENSE for details.
Related Packages
The modern CLI to scaffold Google Apps Script apps with React, Vue, Svelte, Soli...
Scaffold a project with the lintel standard: ESLint layers, tsconfig, git hooks...
Version History
| Version | Released | License |
|---|---|---|
| 3.1.1 | MIT | |
| 3.1.0 | MIT | |
| 3.0.5 | MIT | |
| 3.0.4 | MIT | |
| 3.0.3 | MIT | |
| 3.0.2 | MIT | |
| 3.0.0 | MIT | |
| 2.1.0 | MIT | |
| 2.0.1 | MIT | |
| 2.0.0 | MIT | |
| 1.3.2 | MIT | |
| 1.3.1 | MIT | |
| 1.3.0 | MIT | |
| 1.2.8 | MIT | |
| 1.2.7 | MIT | |
| 1.2.6 | MIT | |
| 1.2.5 | MIT | |
| 1.2.4 | MIT | |
| 1.2.3 | MIT | |
| 1.2.2 | MIT | |
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.13 | MIT | |
| 1.1.12 | MIT | |
| 1.1.11 | MIT | |
| 1.1.10 | MIT | |
| 1.1.9 | MIT | |
| 1.1.8 | MIT | |
| 1.1.7 | MIT | |
| 1.1.6 | MIT |
Showing the latest 30 of 41. See every release on npm
Pre-releases (3)
| Version | Released | License |
|---|---|---|
| 3.0.0-beta.1 | MIT | |
| 2.0.0-beta.1 | MIT | |
| 2.0.0-beta.0 | MIT |