{"_id":"@ekatie/lotide","_rev":"4-94324b8c98365a4f2c8fd9d3bc01c601","name":"@ekatie/lotide","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@ekatie/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library, created as part of the author's learnings at Lighthouse Labs","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ekatie/lotide.git"},"author":{"name":"Katie Kucsera"},"license":"ISC","bugs":{"url":"https://github.com/ekatie/lotide/issues"},"homepage":"https://github.com/ekatie/lotide#readme","devDependencies":{"chai":"^4.3.8","mocha":"^9.2.2"},"gitHead":"e065edbb0cc5f87d00a1fd45145bd1b4fe2c218b","_id":"@ekatie/lotide@1.0.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Q43yy0yGXHcAb+3hRaZVSy6FChMJoNg58pDPHuFkh5+nFMJZT0BiP3ahTuJnNzrs4WRPtVX8ojKupMiKq5F/Eg==","shasum":"a7bd97e0a27e42c09e14da948090df5a024af9c3","tarball":"https://registry.npmjs.org/@ekatie/lotide/-/lotide-1.0.0.tgz","fileCount":27,"unpackedSize":21053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/nez42yQ1a0JHAVX7vrx8x45RsXJLp0jU2wYYW389EQIhALOe1ZYAPJuJbd5MdrokBE6z4YEbbOXr6t7HxLGlVUGn"}]},"_npmUser":{"name":"ekatie","email":"katiekucsera@gmail.com"},"maintainers":[{"name":"ekatie","email":"katiekucsera@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1694630791081_0.6323705502529346"},"_hasShrinkwrap":false},"1.0.1":{"name":"@ekatie/lotide","version":"1.0.1","description":"A mini clone of the [Lodash](https://lodash.com) library, created as part of the author's learnings at Lighthouse Labs","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ekatie/lotide.git"},"author":{"name":"Katie Kucsera"},"license":"ISC","bugs":{"url":"https://github.com/ekatie/lotide/issues"},"homepage":"https://github.com/ekatie/lotide#readme","devDependencies":{"chai":"^4.3.8","mocha":"^9.2.2"},"gitHead":"e065edbb0cc5f87d00a1fd45145bd1b4fe2c218b","_id":"@ekatie/lotide@1.0.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-W7PZBAxZc9E+Tu9p396YgM12rhYwaVSX44C0zY0OhVgWgj8V+5wumHSDooXYIF2buiEhzpzBN3/ZmhgbhPwDfA==","shasum":"dc19c5b6f07fdd26476ee4d021e3ee0a840df9b3","tarball":"https://registry.npmjs.org/@ekatie/lotide/-/lotide-1.0.1.tgz","fileCount":27,"unpackedSize":20957,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC41a87PRpJ9BYm7hFmEcXvrlShSvC3/3PkRvtL+LXAKAIgRqBPBg9oaEdz+KH0qJ6VgfrOSurqG/VaSLGPUNVSAoE="}]},"_npmUser":{"name":"ekatie","email":"katiekucsera@gmail.com"},"maintainers":[{"name":"ekatie","email":"katiekucsera@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1694631070207_0.09667145088963158"},"_hasShrinkwrap":false},"1.0.2":{"name":"@ekatie/lotide","version":"1.0.2","description":"A mini clone of the [Lodash](https://lodash.com) library, created as part of the author's learnings at Lighthouse Labs","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ekatie/lotide.git"},"author":{"name":"Katie Kucsera"},"license":"ISC","bugs":{"url":"https://github.com/ekatie/lotide/issues"},"homepage":"https://github.com/ekatie/lotide#readme","devDependencies":{"chai":"^4.3.8","mocha":"^9.2.2"},"gitHead":"d899eddd74619e7ddbde5d4cbc0737878795d200","_id":"@ekatie/lotide@1.0.2","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-PbzVb9ja4S9K3i3pSARoWNu6PVco8t0LP5vtZem8Vj4SPybQgJ8CeTKGCPwuWFEsYQdlcjQ59yNLMJYUOQDbGQ==","shasum":"5eec7f5806b13c1b0e1e4645af895060f50f2514","tarball":"https://registry.npmjs.org/@ekatie/lotide/-/lotide-1.0.2.tgz","fileCount":31,"unpackedSize":24085,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbLC4/QPdNNFaDBB3JKOwvPmvC2f+1IKK9EsXy41Q8jAiEA4ZKgDdW5aHgv4RkC/jGJ3h/ZY+4Ye8I63fpqnUY2aaU="}]},"_npmUser":{"name":"ekatie","email":"katiekucsera@gmail.com"},"maintainers":[{"name":"ekatie","email":"katiekucsera@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1694646378367_0.9492534433421087"},"_hasShrinkwrap":false},"1.0.3":{"name":"@ekatie/lotide","version":"1.0.3","description":"A mini clone of the [Lodash](https://lodash.com) library, created as part of the author's learnings at Lighthouse Labs","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ekatie/lotide.git"},"author":{"name":"Katie Kucsera"},"license":"ISC","bugs":{"url":"https://github.com/ekatie/lotide/issues"},"homepage":"https://github.com/ekatie/lotide#readme","devDependencies":{"chai":"^4.3.8","mocha":"^9.2.2"},"gitHead":"09ae48acb36b66a75d902172431bad7f1609bbbd","_id":"@ekatie/lotide@1.0.3","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Wp9QRnR3dzbHDG5R5HZ0jnGIUDwkbKIjpCvbv1i9j1TcibHc5vobfZfy3rBIhjEBQpwmXWUK7oeVAnojtbP0tg==","shasum":"3cc92bec42bb08df30e2514bc0ab369be9895804","tarball":"https://registry.npmjs.org/@ekatie/lotide/-/lotide-1.0.3.tgz","fileCount":33,"unpackedSize":26151,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCweh/TgCH2GQIZrLZpUsRixPUgfcHi53mTnFLyUjSumgIhANDoUzzgkMcX7dUee5SXl0yuNZ+9KfBXlUH0/gyOuLWb"}]},"_npmUser":{"name":"ekatie","email":"katiekucsera@gmail.com"},"maintainers":[{"name":"ekatie","email":"katiekucsera@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.3_1694975970095_0.5578283341932517"},"_hasShrinkwrap":false},"1.0.4":{"name":"@ekatie/lotide","version":"1.0.4","description":"A mini clone of the [Lodash](https://lodash.com) library, created as part of the author's learnings at Lighthouse Labs","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ekatie/lotide.git"},"author":{"name":"Katie Kucsera"},"license":"ISC","bugs":{"url":"https://github.com/ekatie/lotide/issues"},"homepage":"https://github.com/ekatie/lotide#readme","devDependencies":{"chai":"^4.3.8","mocha":"^9.2.2"},"gitHead":"8bf2457a79f565f40962677aecdf3b14fc36a66c","_id":"@ekatie/lotide@1.0.4","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-iS9QbHZluKje4himH7nH8TLcPg0k8cJ4nPbx1b0v+ji/f28gMlxSZQCv6lMD2Xu1RcXaCQ5QGH3i+kCrVrtyVQ==","shasum":"67e92955802c1e49ddf8003c59d89592295a13c0","tarball":"https://registry.npmjs.org/@ekatie/lotide/-/lotide-1.0.4.tgz","fileCount":33,"unpackedSize":26146,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVK+es/rJrbtqEQzGZekNAjgCuN3gM5fI91RN+lSdVdQIhAIlXESn9P5cvJxYHmzFGo2bczmxFNJWxf43uSXYjCRzw"}]},"_npmUser":{"name":"ekatie","email":"katiekucsera@gmail.com"},"maintainers":[{"name":"ekatie","email":"katiekucsera@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.4_1695325230515_0.749897895979289"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-13T18:46:30.943Z","1.0.0":"2023-09-13T18:46:31.224Z","modified":"2023-09-21T19:40:30.968Z","1.0.1":"2023-09-13T18:51:10.444Z","1.0.2":"2023-09-13T23:06:18.591Z","1.0.3":"2023-09-17T18:39:30.311Z","1.0.4":"2023-09-21T19:40:30.803Z"},"maintainers":[{"name":"ekatie","email":"katiekucsera@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library, created as part of the author's learnings at Lighthouse Labs","homepage":"https://github.com/ekatie/lotide#readme","repository":{"type":"git","url":"git+https://github.com/ekatie/lotide.git"},"author":{"name":"Katie Kucsera"},"bugs":{"url":"https://github.com/ekatie/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 @ekatie/lotide`\n\n**Require it:**\n\n`const _ = require('@ekatie/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`: This function takes an array and returns the value for index 0.\n  * `tail`: This function removes the first index (head) of the input array and returns the rest.\n  * `middle`: This function takes in an array and returns it's middle value(s) - a single value if the length is odd, or two if the length is even.\n  * `assertArraysEqual`: This function takes in two arrays, compares their values and prints to the console to indicate whether they match or not.\n  * `assertEqual`: This function compares the actual output and expected output of other functions to test whether they are functioning as intended. It prints the result to the console.\n  * `assertObjectsEqual`: This function prints out a message to indicate whether a function's actual object output matches the expected object output.\n  * `countLetters`: This function should take in a sentence (as a string) and then return a count of each of the letters in that sentence.\n  * `countOnly`: This function taken in an array and an object, and returns a count of only the array values that occur in the object.\n  * `eqArrays`: This function compares 2 arrays are returns true or false based on whether there is a perfect match.\n  * `eqObjects`: This function compares two objects and returns true if their keys and values are identical, or false if they are not.\n  * `findKey`: This function takes in an object and a callback function and returns the key of the value that matches the callback function condition.\n  * `findKeyByValue`: This function takes in an object and a value, then searches the object for the key of the indicated value.\n  * `flatten`: This function takes in an array and flattens (combines) any nested arrays, returning an array without nested arrays.\n  * `letterPositions`: This function will return all the indices (zero-based positions) in the string where each character is found.\n  * `map`: This function takes in an array and a callback function and outputs a new array created with the callback function.\n  * `takeUntil`: This function takes an array and adds its values to a new array until a certain condition input using a callback function is met.\n  * `without`: This function takes in two arrays and removes the values in array 2 from array 1.","readmeFilename":"README.md"}