{"_id":"@elodiebouthors/lotide","_rev":"1-cf546564b749fe301c517da81eb64cd6","name":"@elodiebouthors/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@elodiebouthors/lotide","version":"1.0.0","description":"lotide package Ligthouse Lab","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/elodiebhs/lotide.git"},"author":{"name":"elodie bouthors"},"license":"ISC","bugs":{"url":"https://github.com/elodiebhs/lotide/issues"},"homepage":"https://github.com/elodiebhs/lotide#readme","devDependencies":{"chai":"^4.3.0","mocha":"^8.2.1"},"gitHead":"f365a899d0f4371352bc17034df0587a82fc57a2","_id":"@elodiebouthors/lotide@1.0.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-cisrBSLdaTrXOhFe+spbVH7Fob+liKQ3MBlf7HSKKhm4dhmruESIwE1Vbg1w15TcnYVfM1D/lRuBHuxYdLLFgQ==","shasum":"1abf88a7972292bb31aeba9fc1435131135332b5","tarball":"https://registry.npmjs.org/@elodiebouthors/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":24087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIfLtCRA9TVsSAnZWagAACSAP/RniOsCmy16cUR4jS4xh\nBNPqbZaghNtA78MSjCH1prVKurxr7dQNzOIkQmAJOo5Ln4sB6AQbn8gQLcMG\nCHx2UEBaoYExhMWAV3nzCM/LHCQ52fX97gXAfVI6odLhD807wNHAHKg1mGFO\nMJtxu8xHO5iZmK93cA5gpDRQJ5r/hyroCIoHep/Nh5zKa2xC+UrAdIynawou\nMYoGLx2JG/AwEAkQQSsrADBCOkNayiNqA/kqyEi4wERVAaZercHDQj8TBxEL\n2jRB36mOtNThfZTUQXgGsYcjKtZQHcHq7Aq7J0/SCMgnyT/smV8zO+N0wLN1\nn2I0sTpqTIDCZGOCIm/fu4FePh+eJy9gCReM9YxepdEYiu9lpsy3HLODy/+e\n7kIsshiyITPP9WvosUz0/Jd8RYA9aM+6ITw70E8EO8GUDuPhY/Jc0onyY5FV\njeZXx86+qvTibJHaS4ZbNNmLT+KQ8/b00i7zOCESz8XwGgZc+x4+cn6aSzvy\n61Air/mX/l3a3qy5sOJgpjNbP8pfa/rBtNTyAAva49sL5/f8g6mJMiMAQZ4A\nOAiuqlDd/fK0mHZNiITGGBKGrpe973aeQHn515jZ46fF5MIyarNYMNse1Jlz\nL7b9X8onJ6l6op6am+cLI2xoMHTSy75kmA/iLoRgEbQE59pTJGakHuw6WxSf\nQeTi\r\n=yv1p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCE5N6CNsYOojjSl2QfJY+yjx3A5qP/qduNydgdSFkIfgIhANExXNumqF98suYbLp2RtIExyEEOKREAf/N7FPiiM3UR"}]},"_npmUser":{"name":"elodiebouthors","email":"elodiebouthors@hotmail.com"},"maintainers":[{"name":"elodiebouthors","email":"elodiebouthors@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1612837613257_0.6233312723973286"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-09T02:26:53.170Z","1.0.0":"2021-02-09T02:26:53.405Z","modified":"2022-04-05T07:22:39.823Z"},"maintainers":[{"name":"elodiebouthors","email":"elodiebouthors@hotmail.com"}],"description":"lotide package Ligthouse Lab","homepage":"https://github.com/elodiebhs/lotide#readme","repository":{"type":"git","url":"git+https://github.com/elodiebhs/lotide.git"},"author":{"name":"elodie bouthors"},"bugs":{"url":"https://github.com/elodiebhs/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 `@elodiebouthors/lotide`\n\n**Require it:**\n\n`const _ = require('@elodiebouthors/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* `function(tail)`: returns the \"tail\" of an array: everything except for the first item (head) of the provided array.\n* `function(eqArrays)`:takes in two arrays and returns true or false, based on a perfect match.\n* `function(assertEqual)`: Make the function compare the two values it takes in and print out a message telling us if they match or not.\n* `function(head)`: The head function should not return the first element as an array. It should simply return the element itself.\n* `function(assertArraysEqual)`\n* `function(without)`: return a subset of a given array, removing unwanted elements.\n* `function(middle)`: take in an array and return the middle-most element(s) of the given array.\n* `function(map)`: \n* `function(takeUntil)`:  keep collecting items from a provided array until the callback provided returns a truthy value.\n* `function(findKey)`: 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* `function(assertObjectEqual)`\n* `function(countLetter)`: The function should take in a sentence (as a string) and then return a count of each of the letters in that sentence.\n* `function(countOnly)`: countOnly will be given an array and an object. It will return an object containing counts of everything that the input object listed.\n* `function(eqArrays)`: takes in two arrays and returns true or false, based on a perfect match.\n* `function(eqObjects)`\n* `function(findKeyByValue)`: help us search for a key on an object where its value matches a given value.\n\n","readmeFilename":"README.md"}