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, JPEG, GIF, JSON, CSS, HTML, and MD). 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.