0.2.0 • Published 8 years ago
underscore.string.plus v0.2.0
underscore.string.plus
This library is an extension for Underscore which provides more useful methods to the string library.
Features
- Methods for string manipulation.
Dependencies
- underscore.js (>= 1.8.3)
- underscore.string (>= 3.3.4)
Node
var _ = require("underscore");
var s = require('underscore.string');
_.extend(s, require('../src/underscore.string.plus'));
Examples
s.lowerize("FooBar") == "fooBar" // true
s.isUrl("http://www.foo.bar") == true // true
s.splitInTwoSentences("Hello. World") == ["Hello. ", "World"] // true
License
Copyright (c) 2013-2016 Mateus Maso. Released under an MIT license.