{"_id":"@bootonk/lotide","_rev":"1-b18cd38b6247e4f3342ef43691046e75","name":"@bootonk/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@bootonk/lotide","version":"1.0.0","description":"a lodash clone as a means to learn libraries","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bootonk/lotide.git"},"keywords":[],"author":{"name":"Kate"},"license":"ISC","bugs":{"url":"https://github.com/bootonk/lotide/issues"},"homepage":"https://github.com/bootonk/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"8a69f7ee0522417703a690c985efa74b12497dc0","_id":"@bootonk/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-KlM6HrNbHYiaFPOnGi7JJIJm1V6Fn868duIyFbfHgef06JmkTsjA8aZkO6cERFfa81O8uFUUNr1M3r6EG2ArNg==","shasum":"c5809dcce8a7ccd27fe955563e986bfd958dbb69","tarball":"https://registry.npmjs.org/@bootonk/lotide/-/lotide-1.0.0.tgz","fileCount":37,"unpackedSize":20949,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG4AEjj+LeVVzCrit4ql3EMQTYgO4ganQGgKrWG28MVKAiAE4HrMYS2Ssq8t+oZDX3mqaA57wER/QhgVZD9FWqkr9Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6uSmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoq6A//eWlsY9RVcojS/QA2GXF3TGPU3FOQG4pZDu+S1IbYJYlcaByB\r\n44JKpZbIg2OevnDrZ/4rHp2NWms7ZdakxMsZVfvwbg/mVxhODq5ttF+MXc93\r\n7HB1njaOoBXrd+DslwovjJJm6lYC1HX5wRJci81aqyo+zQXQxca1zifK83Gx\r\nUzYhsH0XxCjoNjWFm/9kmxyilq0lg1WzhwYqnAJ5YgpE8MwpSKBHwVQUh7CV\r\nWCqFwwSet/WLiitYO325OneiNBnbH4OETVKGkYUpF7lNF96WhVaCdESBcdQS\r\nbGYVayiNZhmdoQMRxfT70SQt5DSWhcStH0bJsxlCxVaotmnQsyuGCznvjCTK\r\nKqKAkqDN6uvgsw0xEVMCkA7rfnaC0k8b2/miYo7IAi+oqejiiXJyzPaBbWD9\r\ngmqS6/X9d8CpS2KP7i5LdVuUnOfg+XHQrlQtVcK85KLDOS/HB+4fqZPk+8LM\r\nclw6BI3K7yyVxOX98PJTzIlylCBl5D+yztgb0TIrMb9etlk04QHy0K2uuOw+\r\n7sCrfdD8SWUuJWMYy7Q83NIeBfiuPZvBIL7rN4w0co2N3PjeC8To+uWCbyT6\r\nBEev6Go+0jZEGQ/UhOkT7s4wpZYBHLTVBY+xXno9oJo8HJLCcMF8XLiiWuFg\r\nOztgoiJT/zRSOE/ktKEva8EKJd7G3Rs6Ui8=\r\n=FCy6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bootonk","email":"dear.k.booton@gmail.com"},"maintainers":[{"name":"bootonk","email":"dear.k.booton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1676338342072_0.7547322014523423"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bootonk/lotide","version":"1.0.1","description":"a lodash clone as a means to learn libraries","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bootonk/lotide.git"},"keywords":[],"author":{"name":"Kate"},"license":"ISC","bugs":{"url":"https://github.com/bootonk/lotide/issues"},"homepage":"https://github.com/bootonk/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"d33222004924ad81b2feec484ddcd5edc63d2846","_id":"@bootonk/lotide@1.0.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-DT0vWVwDncoCmrJQZQD2XeFrgg7OLgHKRbO8lW8F901PHEeKgatj8P5gnKG0W1Q8UIRlrL9z5hEyAR/BhMprjA==","shasum":"10cc99e92d082a403aba521e276831912270bfb3","tarball":"https://registry.npmjs.org/@bootonk/lotide/-/lotide-1.0.1.tgz","fileCount":37,"unpackedSize":24038,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWVayqsIXQua8zx6hHQLPHS+sF/n2c8pxUwGz9oEUW7AiEA/XQ5XqSZFHs/Ymymy6IMQXpw7bNsydJLUNYr7cmj6vo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6xwuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpm2w//e1oXaKspc7LuTpFHvmIOqmw4tHBNHnpD4GhcN2oFbT0ca0SW\r\nXhLtNKmMJmGASPGmRP+2UjV6F6pCvV5cCmaW0LpyfNJMUrZnOy39x4UKvbRJ\r\nFHllw6M4Z67ChvjPRsCAsQy0ovpXSCOWE6PI+3TJBiYVjfDclE0sfi6KzGVE\r\nk4reartLHEY7N73eCrueG/xmlrduvVUIxVzT31hKhbUw8wvcvy3Gx69qQKR2\r\nQQoWwnbt+0iFk5mUw6Si4E8+7RONI12o6xBDvhK4iovWa3ZDZcnVS2gjgllo\r\nLjDYhypmxxxMM6kxLQGnr0VFgadPupjCYsOG0iEcgEF/jR+A2g9toNQNx8N/\r\nMz4eLmQ4czjTJdfYYgkdsA4ikoXN44BSy69o80gQ1YrORQs7cL1HB2glUxsK\r\nUN8d+VuTTsb17OMhtEAHazwZgJ+QgLCtR73bLr+/ckQMYgJYw9VqJ8c+aDcs\r\nh/Sw9w2aTbWMCxyi5YCA5Yf36yrcYO37M4++zO1yJAqzOeqrOgnXzHjx7LYl\r\nAsW2ntMCnOVrIn+m5GTmUujofjLpmQfuqsDsQjmao0dLiMwW41fuVUKnnaH6\r\nRprNhEmaApd638nxOklN3gMUdCzVZ+5GrMc3JkfbDLQwqDljtIvXNCLGlp4N\r\nTbMGpU33ZWzhhAHjaZ0D9mwRgwxw9SA2cyI=\r\n=ST3e\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bootonk","email":"dear.k.booton@gmail.com"},"maintainers":[{"name":"bootonk","email":"dear.k.booton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1676352558092_0.43252293043011547"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-14T01:32:21.990Z","1.0.0":"2023-02-14T01:32:22.301Z","modified":"2023-02-14T05:29:18.344Z","1.0.1":"2023-02-14T05:29:18.262Z"},"maintainers":[{"name":"bootonk","email":"dear.k.booton@gmail.com"}],"description":"a lodash clone as a means to learn libraries","homepage":"https://github.com/bootonk/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/bootonk/lotide.git"},"author":{"name":"Kate"},"bugs":{"url":"https://github.com/bootonk/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 bootonk/lotide`\n\n**Require it:**\n\n`const _ = require('bootonk/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* `assertArraysEqual(actualArr, expectedArr)`: report results of `eqArrays`\n* `assertEqual(actual, expected)`: compare two primitive values and reporting if they match or not\n* `assertObjectsEqual(actualObj, expectedObj)`: report results of `eqObjects`\n* `countLetters(str)`: iterate over a string, create a count of each letter and contain results within an object\n* `countOnly(allItems, itemsToCount)`: iterate through an array, check for any element(s) that match the `itemsToCount` parameter and return count results within an object\n* `eqArrays(actualArr, expectedArr)`: compare two arrays and return if they match or not\n* `eqObjects(objectOne, objectTwo)`: compare two objects and return if they match or not\n* `findKey(obj, callback)`: iterate through an object with a callback that sets a requirement to crosscheck for each value, return the corresponding key\n* `findKeyByValue(checkObject, checkValue)`: iterate through an object with a known value to report the key of that value\n* `flatten(arr)`: iterate over an array and combine any nested arrays within to one single level array\n* `head(arr)`: return only the first element of an array\n* `letterPositions(sentence)`: iterate over a string and create keys within a new object for each letter, log the index of each instance of a letter within an array\n* `map(array, callback)`: iterate over an array, using the callback to alter each element of the array \n* `middle(arr)`: return the mid point of an array, if the array has an even number of elements return the two in the middle, if the array has an uneven number of elements, return the exact middle index\n* `tail(arr)`: return every element from an array except the first\n* `takeUntil(array, callback)`: iterate over an array, returning values only until the callback condition has been met\n* `without(sourceArr, itemsToRemoveArr)`: iterate over an array, comparing elements to the `itemsToRemoveArr`, return a new array with only the elements that are not included in the remove array ","readmeFilename":"README.md"}