Stitch over asset pipeline

I’m wondering if anybody is using Stitch ( http://alexmaccaw.co.uk/posts/2011/06/30/rails_js_packaging.html) over the sprockets pipeline?

Sounds like the solution that should have been introduced over sprockets.

What I’m wondering is if we would be also able to use NPM to import local commonjs packages to our rails apps?

Then, I guess, use a compressor like the dojo one? that interprets commonjs dependencies (instead of blindly compressing everything in a directory tree)?