Enhancing JavaScript With Extra String Methods: String.js
15
Mar
// php the_time('Y') ?>
It is surprising to experience that JavaScript lacks of functions which are regularly required in most scenarios.
Think of "looping a string", "if a variable includes given characters" or "capitalizing letters".
Unless you use a JavaScript framework, these will require having custom functions (JS frameworks lack some of such functions as well which makes sense to keep libraries small).
String.js is a JavaScript library that brings such extra string functions with a tiny footprint (<2kb gzipped).
It is standalone and has a jQuery-like syntax with chaining support.
There are 25+ functions where each of them can find a use in any JavaScript-heavy projects. Simply, a must-bookmark.
Requirements: No Requirements
Website: http://stringjs.com/
Download: http://github.com/jprichardson/string.js
Website: http://stringjs.com/
Download: http://github.com/jprichardson/string.js
- Tags:
Javascript
- Filed under: Extras, LGPL License, MIT License, Other Scripts/Apps.
- 0 Comments
Leave a reply











