Skip to content

ahmedu007/LowBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LOWBAR

Underscore Library reacreated


Setup and Installation

  • Please ensure that you have version 8 or above of node. To check run the following command on your terminal window
node -v

if your version is not up to date, please refer to this guide on how to install node and npm.

  • Make sure that you have git installed on your computer. You can check by typing and running in your terminal
git --version
  • Navigate to the desired location where you want to copy the files and type:
git clone https://github.com/ahmedu007/LowBar

Then

cd LowBar

and then

npm install

The library consists of the following functions:

  1. identity
  2. values
  3. first
  4. last
  5. each
  6. indexOf
  7. filter
  8. reject
  9. uniq
  10. map
  11. contains
  12. once
  13. shuffle
  14. invoke
  15. sortBy (NB the Underscore library uses the native JavaScript sort but feel free to use your sort algorithm!)
  16. zip
  17. sortedIndex
  18. flatten
  19. intersection
  20. difference
  21. memoize
  22. negate
  23. some
  24. every

Advanced

  1. partial
  2. pluck
  3. delay
  4. reduce
  5. where
  6. extends
  7. defaults

Testing

To run all the tests make sure you are in the root directory of the folder on your command line and then run:

npm test

Author

Umair Ahmed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published