Skip to content

mateusmaso/underscore.string.plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

underscore.string.plus Build Status

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.