{"_id":"@aiefymenko/lotide","_rev":"1-03f6ca535064fd5c9da86f5753dac4fc","name":"@aiefymenko/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aiefymenko/lotide","version":"1.0.0","description":"My first project as web-developer :)","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/aiefymenko/lotide.git"},"author":{"name":"aiefymenko"},"license":"ISC","bugs":{"url":"https://github.com/aiefymenko/lotide/issues"},"homepage":"https://github.com/aiefymenko/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.0"},"gitHead":"47262c76a82232787d5971a79b82684e588fb28c","_id":"@aiefymenko/lotide@1.0.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-bYFgucrSpDD1OwwLZ81EtFADwoKfV4MFLiLpDqlnc36N5Qykkg1U1BCGnYUctOe64ODMK+F8yDp5y/Fpcj2RSg==","shasum":"433f54a52f32e8b89436c7728e430d5b52c5cd13","tarball":"https://registry.npmjs.org/@aiefymenko/lotide/-/lotide-1.0.0.tgz","fileCount":37,"unpackedSize":17333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDWpACRA9TVsSAnZWagAA4u0P/15ybFseMy8yy7NEAvAp\n2EYqic5cmf3nd3YtbZ/x+aMEyOC2uYoKNyGh/mqfLA8BeB8MCFWbJxWvvLV9\n7N7ggWPL74EaQ2vxc4XnwJmBzGzGTqOl5LeVfueOxVO78TdoH5zNGgLgMIpb\nUg1OeGGjizOoc3h1ALXMURQG+ZkYf3Nb0tyY8dH7ahZhwKm9sPRgtLBh8mjb\nHuNsP4LasF0IDUbbv47AiysCbv9q9ENbqA5imY6GCiAka4OWCgB3WCHX5p36\n8aPPB9KJRGRiKJKcC5HI6y6FvuHwmJjBcHd9IO8FFEODXiltCbXHaEugeAaQ\nV6memJARouMHHtdL6PpOEENu/jBmTSOIE3QHvBgc+OkvodK2jGyX4p4Pi56Q\nv/RQ5+lt0pI9eK45y964rmA69kjiWmIVLlyxUCCLhcQgsQ31svqxZwUrcMWv\nhZRrw6IC+BBmGYy7+N/S24O2uhRHOQ8+beUu4uNJZ8C55Ny8j1V5TlpWpxbb\n5ozzcUa/YoGwP1k8KezRU3B8ic8ecK9kU52jKtKnroWWVLv4oN35CkVFR3xs\nqvbAl88gGDy/p8L8CSuIYqVreFCzXNP1k7CV0mBJ9ZJXpGOoEiCfktMHRNQm\n9Ek0U7LtITjj22jyH52Ytg/qtiOiOyKiZnhiyIGDjfqkC3MA5LI6/KgxZ37y\nVEqe\r\n=37KQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwwWqTtGjclukz8xWQGIKslrhTn03974iKAWmAvkujmAIhAMBUfgkJS95w63drWV8J9EaPjusXV8JLx3NE9DhrEGBy"}]},"_npmUser":{"name":"aiefymenko","email":"iefymenko.artem@gmail.com"},"maintainers":[{"name":"aiefymenko","email":"iefymenko.artem@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1645046336567_0.16629182493018702"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-16T21:18:56.515Z","1.0.0":"2022-02-16T21:18:56.757Z","modified":"2022-04-04T12:17:29.144Z"},"maintainers":[{"name":"aiefymenko","email":"iefymenko.artem@gmail.com"}],"description":"My first project as web-developer :)","homepage":"https://github.com/aiefymenko/lotide#readme","repository":{"type":"git","url":"git+https://github.com/aiefymenko/lotide.git"},"author":{"name":"aiefymenko"},"bugs":{"url":"https://github.com/aiefymenko/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 @aiefymenko/lotide`\n\n**Require it:**\n\n`const _ = require('@aiefymenko/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* `function1(head)`: This function for arrays is to retrieve the first element from the array.\n* `function2(tail)`: This function for arrays is to retrieve every element but the first from the array.\n* `function3(middle)`: This function returns an array with only the middle element(s) of the provided array.\n* `function4(assertArraysEqual)`: This function will help us easily test functions that return arrays.\n* `function5(assertEqual)`: This function will help us easily test functions.\n* `function6(assertObjectsEqual)`: This function will help us easily test functions that return objects.\n* `function7(countLetters)`: The function should take in a sentence (as a string) and then return a count of each of the letters in that sentence.\n* `function8(countOnly)`: This function should take in a collection of items and return counts for a specific subset of those items.\n* `function9(eqArrays)`: This functions will compare 2 arrays and return true/false if they are equal/!equal.\n* `function10(eqObjects)`: This functions will compare 2 objects and return true/false if they are equal/!equal.\n* `function11(findKey)`: This function 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* `function12(findKeyByValue)`: This function will help us search for a key on an object where its value matches a given value.\n* `function13(flatten)`: This function will take in an array containing elements including nested arrays of elements, and return a \"flattened\" version of the array.\n* `function14(letterPositions)`: This function will return all the indices (zero-based positions) in the string where each character is found.\n* `function15(map)`: This function will return a new array based on the results of the callback function.\n* `function17(takeUntil)`: This function will 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* `function17(without)`: This function will return a subset of a given array, removing unwanted elements.\n","readmeFilename":"README.md"}