https://github.com/leothorp/underbar
https://github.com/leothorp/underbar
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/leothorp/underbar
- Owner: leothorp
- Created: 2015-11-07T00:29:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-17T01:25:42.000Z (over 10 years ago)
- Last Synced: 2025-03-24T14:39:18.458Z (over 1 year ago)
- Language: JavaScript
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Underbar
==============
This is a project I completed as a student at Hack Reactor. The project is a minimal functional library for JavaScript, similar to underscore or lodash.:
## Collection methods:
- _.first()
- _.last()
- _.each()
- _.indexOf()
- _.filter()
- _.reject()
- _.uniq()
- _.map()
- _.pluck()
- _.reduce()
- _.contains()
- _.every()
- _.some()
- _.shuffle()
- _.sortBy()
- _.zip()
- _.flatten()
- _.intersection()
- _.difference()
- _.invoke()
## Object methods:
- _.extend()
- _.defaults()
## Function Decorators
- _.once()
- _.memoize()
- _.delay()
- _.shuffle()
- _.throttle()
### Testing
Mocha tests are located in the ./spec directory. To run, open SpecRunner.html with your preferred browser.