1.0.2 • Published 9 years ago
mutable-string v1.0.2
mutable-string
Keep a single instance for your strings !
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