Impressive new addition to the list of javascript codec/file format implementations:
psd.js
is a general purpose file parser for PSD files created in Photoshop. Given a PSD file, it can parse out information such as image size and color modes, image resources, layer info, image contents, etc.
Written in Coffeescript. Works in modern browsers and NodeJS.
Wow, I presume this will make it easier to write scripts like the one you wrote?
(And that I don’t know why it’s not more popular http://www.bram.us/2008/10/30/ps_bramustextconvert-psd2txt-and-txt2psd-for-the-masses/ )
It’s not available now