Pillow scans directories searching for CommonJS packages (package.json 
files) and makes the packages usable in the browser (i.e. the found 
packages and modules can be accessed using the require() function). It 
supports multiple js files per package (and the dot notation in the require 
function). It also supports non js files (png, jpg, gif, json, css, html, 
md), and makes them loadable by XHR (the relative path between the 
package.json file and the resource is kept unchanged so you can have 
subdirectories of resources in your packages). Pillow can operate in 
command line mode (pillowscan mydirectory), or in server mode (pillowserve 
mydirectory) in which case packages are remade on the fly each time they 
are loaded through http.

Here is a more complete list of features:

+ Multiple js files per package
+ Support for package resources (png, jpg, gif, json, css, html, md)
+ Minify, dox and lint of source files
+ Runtime loading of packages
+ Optional separate application domains
+ Command line operation (build using the command line)
+ Server operation (packages are rebuilt when they are loaded through http)
+ Middleware operation
+ Support for ender packages

Pillow is similar to other existing client side package loaders (ex: ender, 
requireJS). The complete documentation is available from github 
(https://github.com/hugowindisch/pillow). The package can be installed 
using npm (npm install -g pillow).

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to