I'm trying to write JavaScript code that acts like Excel custom formatting: taking a format and applying it to a string/number/etc in a HTML table.
Is there some code or library that'll let me do that? I'm not trying to access Excel files, just copy the custom format functionality.