js-shim
Some useful functions that make everyday js coding even more pleasant :-)
Installation
bower install js-shim
List of "shims"
String
- String.prototype.count
- String.prototype.fuzzy
- String.prototype.ltrim
- String.prototype.rtrim
- String.prototype.trim
- String.prototype.stripTags
- String.prototype.ucfirst
- String.prototype.toDate
- String.prototype.decodeEntities
Array
- Array.prototype.inArray
- Array.prototype.forEach
- Array.prototype.map
- Array.prototype.removeAt
- Array.prototype.remove
- Array.prototype.filter
- Array.prototype.unique
Object
- Object.type
- Object.compare
- Object.isEmpty
- Object.keys