I can't think of any popular functions or libraries that support the functionality you're searching for out of the box, unfortunately.