mateusmaso / underscore.string.plus

Underscore helper for additional methods to string library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Underscore helper for additional methods to string library

License:MIT License


Languages

Language:JavaScript 100.0%