TextSizer is a text preset for After Effects (CC2014+).
Simply set the desired width/height of your text layer, and it automatically scales itself up or down to fill the available space.
Several improvements planned for the near future. Stay tuned!
Hat tips to Zack Lovatt & some others on the Motion Design Slack for some expressions assistance, and to Jeff Salvado for the original idea.