text-patcher.js now exports diff, patch, log, and apply change in addition to the previous 'create' method.