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
- English Website:http://modulejs.github.io/modjs
- 中文主页:http://madscript.com/modjs
- Focus on the workflow of web development
- Built-in tasks
- More simplicity plugin mechanism
- Configuration less(even zero), do more
- Concatenate JS Files
- Concatenate CSS Files
- CMD Modules Compile
- CSS Modules Compile
- HTML Precompile
- JPG Image Compression
- PNG Image Compression
- JS Minify
- CSS Minify
- Source Stripping
- Inline Images DataURI
- Plugin Task: CSS Images Sprites
- Custom Task: Hello ModJS
- Init Modfile
- Init jQuery
- Build with html
- Task-based workflow
- Source minify: JS, CSS, HTML
- Modular JS for the web: AMD, CMD(will support CommonJS 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
- JSHint
- CleanCSS
- CSSLint
- HTMLMinifiler
- RequireJS
- SeaJS
- OptiPNG
- JPEGtran
Used by people within (JOIN US)
Mod is released under a MIT license.