Maybe node_modules could move to SQLite.

Maybe even with transparent compression too?

Not sure about compression but somebody could probably hack it in an afternoon using this:

https://github.com/guardianproject/libsqlfs

or something similar to check the potential for speed up.