Handles mapping from UTF-8 to Matrix userid allowable grammar and back
npm install matrix-userid-mappingUsage:
````
var userid_map = require("matrix-userid-mapping");
userid_map.toMxid("Test"); // Converts 'Test' to '_test'
userid_map.fromMxid("_test"); // Converts 'test' to 'Test'
There is an optional second parameter in both functions which allows you to use the case-insensitive version of the conversion specification if you set it to false.