{"_id":"@bekidemissie/lotide","_rev":"1-7d5b4ad2647a94b89c94bd8439bb366c","name":"@bekidemissie/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@bekidemissie/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Bekidemissie/lotide.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/Bekidemissie/lotide/issues"},"homepage":"https://github.com/Bekidemissie/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"735157a3cbab1b0ecb580b152d3f46f243ca8db7","_id":"@bekidemissie/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-VdD2hskkw/IsKhLcc5IAeE9eSHGNJCMJrHrL0zFZU3gEO3tFiq45YNl6pTn+YtA55QTX1uM+nQFu9JafHbZjsA==","shasum":"dc8e53490da8646ffb71190c3bf6b312c7b7dc69","tarball":"https://registry.npmjs.org/@bekidemissie/lotide/-/lotide-1.0.0.tgz","fileCount":21,"unpackedSize":11511,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpoPcrgW4+2TWiw+6czl4d+NMSKKAlVYkknXH3t3rrGgIhAK6H982BEoxSh2POglDrKaGUq5ZGyGhLWjb3bUY34fE6"}]},"_npmUser":{"name":"bekidemissie","email":"bekidemissie16@gmail.com"},"maintainers":[{"name":"bekidemissie","email":"bekidemissie16@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1689986831211_0.2632826035172158"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bekidemissie/lotide","version":"1.0.1","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Bekidemissie/lotide.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/Bekidemissie/lotide/issues"},"homepage":"https://github.com/Bekidemissie/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"54a168501dd42866932d3f28aa6d5d0838a88717","_id":"@bekidemissie/lotide@1.0.1","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-tNCYbDDHbFcE5pophlf8rTE2p29NUEG5QZf5yioYVMbnUPSnZSzLTCKQR7OILj70kmRzNzErJRSIcwI/ITekjA==","shasum":"7c62ea47229424bb04742ada47383fcf2d56103b","tarball":"https://registry.npmjs.org/@bekidemissie/lotide/-/lotide-1.0.1.tgz","fileCount":24,"unpackedSize":15404,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC7c6z1ClOzln6btWVD0eom3shq6UQitnTfykHcuqJc/AiAPQuuNJPswaz0F8cLkK7C7Hs8EcQref6R5QF2+ba56HA=="}]},"_npmUser":{"name":"bekidemissie","email":"bekidemissie16@gmail.com"},"maintainers":[{"name":"bekidemissie","email":"bekidemissie16@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1690830291469_0.33900680163351793"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-22T00:47:11.027Z","1.0.0":"2023-07-22T00:47:11.376Z","modified":"2023-07-31T19:04:51.826Z","1.0.1":"2023-07-31T19:04:51.740Z"},"maintainers":[{"name":"bekidemissie","email":"bekidemissie16@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/Bekidemissie/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/Bekidemissie/lotide.git"},"bugs":{"url":"https://github.com/Bekidemissie/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 @bekidemissie/lotide`\n\n**Require it:**\n\n`const _ = require('@/bekidemissie/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(array)`: Returns the first item in an array; undefined if the array is empty\n* `tail(array)`: Returns everything but the first item in an array; returns an empty array if provided array is empty.\n* `middle(array)`: Returns the middle-most element(s) of a given array; for arrays with one or two elements, return an empty array.\n* `without(array, itemsToRemove)`: Returns a subset of a given array, removing unwanted elements\n* `flatten((array)` : Returns a flattened version of the inputted array.\n* `countOnly(allItems, itemsToCount)`: Returns counts for a specific subset of inputted items; limited to strings.\n* `countLetters(str)`: Returns counts for the given characters of a inputted string.\n* `letterPositionsl(sentence)`: Returns all the indicies (zero-based positions) in the string where each character is found.\n* `findKeyByValue(obj, value)` : Returns the first key containing the value of the inputted object and value. If no key with the given value is found, return undefined.\n* `map((array, callback)`  Returns a new array based on a map function which takes in two arguements: An array to map, and a callback function.\n* `takeUntil(Array, callbac)` : Returns a truthy value based on a given array and callback which are passed as parameters of the takeUntil function.\n* `findKey((object, callback)`:Returns a truthy value based on a given object and callback which are passed as parameters of the findKey function. If no key is found, return undefined.\n\n\n\n","readmeFilename":"README.md"}