Yeoman generator

Usage no npm install needed!

<script type="module">
  import generatorXwebModule from '';


generator-xweb Build Status


This project is a yeoman generator, please read more about Yeoman generator


  • pure browser side project.
  • restful api to connect to backend services.
  • use npm as primary dependencies source.
  • use bower as dependencies source.
  • allow static files as dependencies.
  • use browserify to unify all sources above.
  • a fake server to allow work offline.
  • automatically redirect http request and web socket to online server with gulp --online
  • common js; coding in human way.
  • mocha test framework
  • auto reload when files are changed. supported by gulp.
  • open browser automatically, and sync user behavior between different devices. supported by browserSync.

Getting Started

Install yeoman, run:

npm install -g yo

To install generator-xweb from npm, run:

npm install -g generator-xweb-module

Finally, initiate the generator:

yo xweb-module

Start your project

Install gulp first, run:d

npm install -g gulp

Then start your project:


Find the readme in your project for more detail guide.