{"_id":"@alyssalrd/lotide","_rev":"1-ecba033bfa2f2b353ce4779ac21599ce","name":"@alyssalrd/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alyssalrd/lotide","version":"1.0.0","description":"lighthouse labs project based on lodash","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/glittercoveredcoder/lotide.git"},"keywords":[],"author":{"name":"Alyssa DaCosta","email":"alyssalrd@gmail.com","url":"http://github.com/glittercoveredcoder"},"license":"ISC","bugs":{"url":"https://github.com/glittercoveredcoder/lotide/issues"},"homepage":"https://github.com/glittercoveredcoder/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^6.2.0"},"gitHead":"cc2e1ca7179f13216427a01286b5bb65a0b3ebf7","_id":"@alyssalrd/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.10.2","dist":{"integrity":"sha512-9wo6kBykNZeaxIGJi0pIXNJ9EWkj7qICSvsfUYifloTyoxIAul0+WqzJz8ZZo47OOZIqAdfuRz0n2kQ/5qQhew==","shasum":"ec81954ad2f6dac846894d26b663f5eeb100fcf2","tarball":"https://registry.npmjs.org/@alyssalrd/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":13317,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdP47KCRA9TVsSAnZWagAA5BwP/2V7R5DUlf0hxhw2hLRt\n1ALWmY6DWF2q2m0KFrGCZlNZEOMRSkHdTp4XExIHli3lz13QBTdhz29Ff2Xc\nVvtAWnJt/UusOOQsctk4ZOWXjwT7G9+ESodmC6xK4EwYDz7keYLH2iE6Sl6b\nzs24iQxpuUDprUea5jwr7HL0rJecwGBUoUdNnaT+/bTSLm/XYXQVVNcaSYr+\nmbd8koc9HHKthUApjx+usAvfYobEy62iVt0HMBnj0XaBD2SLyqn+MM+CKEN6\nVlZELmd8/sGxtQfwXMQU1vOPkuZ2hct/rUbczNVQSSkcCqClqYDzD6MuJ22v\n8l4uPOqwD4VhuU5+GIE4IT4bPoIDKPsQfpSCU4Sh36C2WLHIM6/lWcsdTXKQ\nb6itRXLuQal3g0S5a2B7snTt9GKFzcrCmOYC6PE47IbccvGidhKO/OLRbcdp\nB4Grm/fyvVTlinCzwUPyz8FdcR28s6AVC5tVQ0kccWeTithtJoYSoNMU0458\nKhExdTUax/OnRWPsVk+ImHVqhnaRQtO3O80y4D5mm1ZetiGHg89g9of2M2Uy\ngllbGYoB6sCtmc/P5U5fRXAPxcF+xWzAMZU5c6pIHIbU+77xy4T6pKnwXCqo\ndZJa6iHrd69MzhgiSeqDksb8uRnAjIPsVZgx15Bt/xQLFP2yjOFPNvkgX7Xy\nfgOF\r\n=60rq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHCeAiH9E8sflyZtjrXkEiZRIDd3Ej4gkof7tat+pB7bAiEAhdTuIPyNx8+eK758igpVBVUmyE61z/NQkIwAAmHXEgY="}]},"maintainers":[{"name":"alyssalrd","email":"alyssalrd@gmail.com"}],"_npmUser":{"name":"alyssalrd","email":"alyssalrd@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1564446409666_0.15255048736188281"},"_hasShrinkwrap":false}},"time":{"created":"2019-07-30T00:26:49.445Z","1.0.0":"2019-07-30T00:26:49.757Z","modified":"2022-04-04T13:42:18.928Z"},"maintainers":[{"name":"alyssalrd","email":"alyssalrd@gmail.com"}],"description":"lighthouse labs project based on lodash","homepage":"https://github.com/glittercoveredcoder/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/glittercoveredcoder/lotide.git"},"author":{"name":"Alyssa DaCosta","email":"alyssalrd@gmail.com","url":"http://github.com/glittercoveredcoder"},"bugs":{"url":"https://github.com/glittercoveredcoder/lotide/issues"},"license":"ISC","readme":"# Lotide\n\nA mini clone of the [Lodash](https://lodash.com) library.\n\n## Purpose\n\n**_BEWARE:_ This library was published for learning purposes. It is _not_ intended for use in production-grade software.**\n\nThis project was created and published by me as part of my learnings at Lighthouse Labs. \n\n## Usage\n\n**Install it:**\n\n`npm install @alyssalrd/lotide`\n\n**Require it:**\n\n`const _ = require('@alyssalrd/lotide');`\n\n**Call it:**\n\n`const results = _.tail([1, 2, 3]) // => [2, 3]`\n\n## Documentation\n\nThe following functions are currently implemented:\n\n* `head(...)`: returns the first element in an array\n* `tail(...)`: takes off the head of array and returns the rest\n* `middle(...)`: returns value in the middle of array\n*  assertArraysEqual(...) : take in two arrays and console.log an appropriate message to the console.\n*  assertEqual(...) : Prints \"ASSERTION PASSED\" or \"ASSERTION FAILED\" based on if results is true or false\n*  eqObjects(...): takes in two objects and returns true or false, based on a perfect match.\n*  assertObjectEqual(...) : which will take in two objects and console.log an appropriate message to the console.\n*  eqArrays(...) : takes in two arrays and returns true or false, based on a perfect match.\n*  countLetters(...) : takes in a string and returns an object with each letter that appears as a key and the number of times it appears in the string as a value.\n*  countOnly(...) : take in a collection of items and return counts for a specific subset of those items\n*  findKey(...) : which takes in an object and a callback. It should scan the object and return the first key for which the callback returns a truthy value. If no key is found, then it should return undefined.\n*  findKeyByValue(...) : takes in an object and a value. It should scan the object and return the first key which contains the given value. If no key with that given value is found, then it should return undefined.\n*  flatten(...) : take in an array of arrays and return a \"flattened\" version of the array.\n*  letterPositions,\n*  map(...) : take in two arguments: an array to map + callback function.  The map function will return a new array based on the results of the callback function.\n*  takeUntil(...) : return a \"slice of the array with elements taken from the beginning.\" It should keep going until the callback/predicate returns a truthy value.\n*  without(...) : takes in a source array and a itemsToRemove array. Returns a new array with only those elements from source that are not present in the itemsToRemove array.","readmeFilename":"README.md"}