escape-quotes

Adds a backslash before single quotes in a string (or whichever characters you like)

sanitize-utils

A utility function to sanitize quotes in strings (escape ' and ")