This package provides obfuscation.
npm i obfuscate-365
e.g.
import { obfuscateJSON } from "obfuscate";
console.log(obfuscateJSON('{title: "test", description: "test"}'));
Should return
{
"obfuscatedJSON": "{title: \"\\u0074\\u0065\\u0073\\u0074\", description: \"\\u0074\\u0065\\u0073\\u0074\"}",
"mapping": [{ "test": "\\u0074\\u0065\\u0073\\u0074" }]
}