This version is old school.
Please find jQuery plugins on npm.
easyText
Plugin that enhances the behaviour of the HTML input element of type text, offering some unique features. It provides ajax and localStorage capabilities for saving the input's value