Jquery-nautoresize is a project mainly written in JavaScript, it's free.
jQuery plugin that autoresizes your textarea elements to fit the content
jQuery plugin to help auto resize textareas.
you can pass in the following to the init method as key/value pair object:
In future releases:
nautoresize is under teh MIT and GPL license.