Skip to content

aleciten/underscore-mixins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

underscore-mixins

An in progress collection of Underscore.js mixins

Array functions

chunkize _.chunkize(array, chunkSize)

Splits an array into custom-sized chunks without affecting the source array

_.chunkize([1,2,3,4,5], 2)
=> [[1,2], [3,4], [5]]

String functions

matchesWildcard _.matchesWildcard(testString, wildcardPattern)

Returns true if testString matches the wildcard pattern

_.matchesWildcard('http://www.google.com/something', '*.google.com/*')
=> true

About

An in-progress collection of Underscore.js mixins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published