Lowbar is my own reimplementation of several JS library "_underscore" functions using Test Driven development.
- In order to run this code you need to install nodeJS. To check if you have nodeJS installed open you terminal window and run/paste the following command:
node -v
If it is installed, it will show you the version of node you have installed. e.g.:
v8.4.0.
If you do not have nodeJS installed, follow the installation instructions found here.
- Make sure you have npm installed. Open a terminal window and run the following command:
npm -v
If it's installed, it will show you the version of npm you have installed. e.g.: 5.5.1.
If you do not have npm installed, then run/paste the following command:
npm install npm
Please follow the instructions to clone this project and install all the necessary dependencies.
- Open a terminal and navigate to the folder in which you wish to save the project. Run the following command:
git clone https://github.com/Dpartipilo/Lowbar.git
- Navigate into the new created folder and run the following command:
npm install
- To run tests, run the following command:
npm test
These are the core functions I will aim to get finished;
- identity
- first
- last
- each
- indexOf
- filter
- reject
- uniq
- map
- contains
- pluck
- reduce
- every
- some
- extend
- defaults
- once
- negate
- shuffle
- invoke
- sortBy
- zip
- sortedIndex
- flatten
- intersection
- difference
- memoize
- delay
- where
- throttle
- partial
Diego Partipilo
This project was completed as part of Northcoders sprints, inspired by Underscore js library.