mutable-string Keep a single instance for your strings ! API Quick example import MutableString from 'mutable-string'; // or var MutableString = require('mutable-string');const mutableString = new MutableString('foobar');mutableString.replace('foo', new MutableString('bar'));console.log(mutableString.toString()); // barbar