Mod is a task-based workflow tooling for web, it helps developers quickly build robust and high-performance HTML5 applications.
- Focus on the workflow of web development
- Much built-in tasks, most pleasant out-of-the-box experience
- Built-in source minify:
JS, CSS, HTML
- Built-in modular JS compile:
AMD, CMD (will support ES6 Module, CommonJS Module soon)
- Built-in CSS @import file combination
- Built-in source stripping, automatically remove debugging code
- Built-in basic file operation:
cat, rm, mv, mkdir, cp, rev
- Built-in file watcher, trigger custom tasks when file change
- Built-in live browser reloads, instantly see changes in your browser
- Built-in web server with very useful feature like remote logging for mobile development
- Built-in source minify:
- More simplicity plugin mechanism, auto-install plugins
- Configuration less(even zero), do more
- Build by html:
mod build index.html
- Build by html:
- Compatible with Grunt plugins, with literally hundreds of plugins to choose from
Mod is installed using NPM(Node Package Manager)
$ npm install modjs -g
- Concatenate JS Files
- Concatenate CSS Files
- AMD Modules Compile
- CMD Modules Compile
- Mutil-page Modules Compile
- JS Conditional Compilation
- CSS Conditional Compilation
- HTML Conditional Compilation
- JS Minify
- CSS Minify
- HTML Minify
- Code Stripping
- EOL Stripping
- Tab Stripping
- Inline Images DataURI
- Make Dir
- Copy Files
- String Replace
Mod support Windows, OS X, Linux...
Submit a new issue.
Mod is an open-source project by Tencent which builds on top of Node.js. We utilize a number of useful open-source solutions including:
- UglifyJS
- CleanCSS
- HTMLMinifiler
- RequireJS
- SeaJS
- JSConsole
Used by people within (JOIN US)
Mod is released under a MIT license.