Extends JavaScript strings 4 more fun!
2stringy4me extends strings without touching String.prototype
.
npm install --save 2stringy4me
Simply set a variable equal to require("2stringy4me")
. This variable will become a function that can be used to extend strings like so...
var ts4m = require("2stringy4me");
var yourString = ts4m("Hello, world");
I made this library for two reasons, both to help people who need this and to learn how to use a test suite + CI.