lib/textify.js
function prototypeString(method) {
	for(var func in funcs) {
		if (method !== undefined && func != method) {
			continue;
		}
		var mod = funcs[func];
		var pcount = mods[mod].funcs[func];
		if (!String.prototype.hasOwnProperty(func)) {
			var proto = "Object.defineProperty(String.prototype, "
				+"'"+func+"',"
				+"{value: function(params){ return mods['"+mod+"']."+func+"(this.toString(), params);},"
				+"enumerable: false})";
			eval(proto);
		}
	}
}
function prototypeString(method) {
	for(var func in funcs) {
		if (method !== undefined && func != method) {
			continue;
		}
		var mod = funcs[func];
		var pcount = mods[mod].funcs[func];
		if (!String.prototype.hasOwnProperty(func)) {
			var proto = "Object.defineProperty(String.prototype, "
				+"'"+func+"',"
				+"{value: function(params){ return mods['"+mod+"']."+func+"(this.toString(), params);},"
				+"enumerable: false})";
			eval(proto);
		}
	}
}
function prototypeString ( method ) { for ( var func in funcs ) { if ( method !== undefined && func != method ) { continue ; } var mod = funcs [ func ] ; var pcount = mods [ mod ] . funcs [ func ] ; if ( ! String . prototype . hasOwnProperty ( func ) ) { var proto = "Object.defineProperty(String.prototype, " + "'" + func + "'," + "{value: function(params){ return mods['" + mod + "']." + func + "(this.toString(), params);}," + "enumerable: false})" ; eval ( proto ) ; } } }
Add methods to String prototype

Examples:

textify.prototypeString(); // prototype all methods
textify.prototypeString("texturize"); // prototype texturize method
'test'.texturize();

@param {String} method
@return {null}
Add methods to String prototype