StealJS
The StealJS project is a collection of comamnd and client based JavaScript utilities
that make building, packaging, sharing and consuming JavaScript applications easy.
Tools
Dependency Management
The steal script (steal/steal.js) is a script loader and
dependency management tool. Features:
- Loads JavaScript, CSS, Less, CoffeeScript, and a variety of client-side templates.
- Only loads a file once.
- Can load relative to the current file.
steal.plugins('jquery/controller','jquery/view/ejs');
JS/CSS Concatenation and Compression
The steal
build plugin makes compressing an application into a single compressed
JavaScript and CSS file extremely easy. Features:
- Works with any application, even ones not using the steal script.
- Configurable compressors (defaults to Google Closure).
- Compresses Less and CoffeeScript.
- Pre-processes and compresses client-side templates (templates don't have to be parsed).
- Expandable architecture makes it easy to build other resources.
js steal/buildjs mypage.html
Logging
Steal [steal.dev dev] logs messages cross browser. Messages are removed in production builds.
steal.dev.log('something is happening');
Code Generators
Steal generate makes building code generators extremely easy. Features:
- Pre-packaged JMVC style code generators.
- Very easy to write custom generators.
js steal/generate/app cookbook
Package Management
Steal get is a simple JavaScript version of ruby gems. Features:
- Download and install plugins from remote SVN or GIT repositories.
- Installs dependencies.
js steal/getjs http://github.com/jupiterjs/mxui/
Code Cleaner
Steal
clean cleans your code and checks it against JSLint.
js steal/clean path/to/page.html