Mod is a task-based workflow tooling for web, it help developers quickly build robust and high-performance HTML5 applications.
Mod is installed using NPM(Node Package Manager)
$ npm install modjs -g
- Focus on the workflow of web development
- Much built-in tasks, most pleasant out-of-the-box experience
- More simplicity plugin mechanism, auto-install plugins
- Configuration less(even zero), do more
- Built-in web server with very useful feature like remote logging for mobile development
- Compatible with Grunt plugins
- Concatenate JS Files
- Concatenate CSS Files
- AMD Modules Compile
- CMD Modules Compile
- Mutil-page Modules Compile
- CSS Precompile
- HTML Precompile
- JPG Image Compression
- PNG Image Compression
- JS Minify
- CSS Minify
- HTML Minify
- Code Stripping
- EOL Stripping
- Tab Stripping
- Inline Images DataURI
- Make Dir
- Copy Files
- Build with main html
- Task-based workflow
- Source minify: JS, CSS, HTML
- Modular JS Compile: AMD, CMD (will support ES6 Module, CommonJS Module soon)
- CSS @import file combination
- Source stripping, automatically remove debugging code
- Basic operation: cat, rm, mv, mkdir, cp, rev
- File watcher, trigger custom tasks when file change
- Live Browser Reloads, instantly see changes in your browser
- Image Optimization, reduce JPEG, PNG file sizes
- Project boilerplate generate
- Built-in Web Server:
mod server
- Extensible, easily write plugins
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
- OptiPNG
- JPEGtran
- JSConsole
Used by people within (JOIN US)
Mod is released under a MIT license.