# generator-commonjs **Repository Path**: mirrors_stephenplusplus/generator-commonjs ## Basic Information - **Project Name**: generator-commonjs - **Description**: Create a commonjs module with yo, including Nodeunit unit tests - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-04-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CommonJS Generator [![Build Status](https://secure.travis-ci.org/yeoman/generator-commonjs.png?branch=master)](https://travis-ci.org/yeoman/generator-commonjs) > Create a CommonJS module with [Yeoman][], including nodeunit unit tests. This generator is based of [grunt-init-commonjs](https://github.com/gruntjs/grunt-init-commonjs), authored by the magnificient GruntJS team. Maintained by [Addy Osmani](https://github.com/addyosmani). [Yeoman]: http://yeoman.io/ ## Installation If you haven't already done so, install [Yeoman][]. Once Yeoman is installed, install this generator via `npm install -g generator-commonjs`. ## Usage At the command-line, cd into an empty directory, run this command and follow the prompts. ``` yo commonjs ``` _Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files._ ## License [MIT License](http://en.wikipedia.org/wiki/MIT_License)