Keeping your PSDs clean since 1663.
You need both ruby (with bundler) and node to be installed in order to work on this locally.
brew install nginx
cp config/nginx.conf /usr/local/etc/nginx/nginx.conf
npm install roots -g
cd app && bundle
cd web && npm i
sudo nginx
- to stop
sudo nginx -s stop
- to stop
bundle exec ruby app/app.rb
cd web && npm run dev
open http://localhost
- ???
- get money
- Find all unnamed layers
- Find all font's used
- Find group to layer ratio
- Find all blending modes used
- Find all font sizes used
- Find all empty groups
- create a new test file
- walk through the PSD tree using
LNT.propertyWalker
return _(PSD.children).map(function(v) {
return LNT.propertyWalker(v, 'blending_mode');
}).flatten().uniq().valueOf();
- you can also conditionally extract values
return _(PSD.children).map(function(v) {
return LNT.propertyWalker(v, function(node, p) {
if (node.text) {
p.push(node.text.font.name);
}
});
}).flatten().uniq().valueOf();