{"_id":"@campbell46/lotide","_rev":"7-8b89ab993e3e373dfe1fedd28d66ee16","time":{"created":"2022-10-10T18:15:23.612Z","1.0.0":"2022-10-10T17:53:56.268Z","modified":"2022-10-11T01:17:05.011Z","1.0.1":"2022-10-10T18:10:07.048Z","1.0.2":"2022-10-10T18:15:23.855Z","1.0.3":"2022-10-11T01:17:04.928Z"},"name":"@campbell46/lotide","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.2":{"name":"@campbell46/lotide","version":"1.0.2","description":"A mini clone of the Lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/campbell46/lotide.git"},"author":{"name":"Sarah Campbell","email":"sarahcampbell4646@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/campbell46/lotide/issues"},"homepage":"https://github.com/campbell46/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"496c63edbdb416148f9c76fce75f0e4b1bb4e8ed","_id":"@campbell46/lotide@1.0.2","_nodeVersion":"16.15.1","_npmVersion":"8.18.0","dist":{"integrity":"sha512-Ldjfr7d1pFUEKyyLdAHntAcL9fEKa3m3c54phAi2Xow8PYy7wCMEC24zyIhP0uah06wjLNLMBhjXt6felTv/OQ==","shasum":"07523245989bb796a758c92584da1964890b21c0","tarball":"https://registry.npmjs.org/@campbell46/lotide/-/lotide-1.0.2.tgz","fileCount":26,"unpackedSize":13717,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDe16Tj+O2vV6ElTEXPK5p5HMLVeQzzfJiOG+Oo9YmwvgIgU3SZjxjgRXthWGPX3WWJ5d6Ck9vj3btTBFIn3L8s0TY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRGE7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDaw//YfVJgsCxR0sz2MeaxFbMEtPOiPMEHWW+V5Iski/EUl0UOW/4\r\noEPDuC0IPe2pYYvr1X9y+/IpRioW16Im69C/o6b27LvXF7llmk4gZLEETl9M\r\nDSj1yoKyq6FMbry1Z6burhsy65ACe2z6BfwrihX2iXeXCveyLcXv2zZfdoo5\r\n0GsceBpz2F79hsp22vmkgCPXdwsFWMyAn8Ykk7DgsMohvj0uUe0XTxcnTaad\r\n+b02FrgsxCMRbvmAQThzBtpiSPVLtoYGekff4gY7khe43Tkvj5evfG6GKr8+\r\nEbcupE65A7hpRkxxwckSGk/wi6nLSqGcg3wCkfgbTGZRUEo4kuz8p9yHcfr7\r\nmAcbvm7zwDoyfSiKXBNE0xCHl3yqeYdGSIGIXjMN8vPdxvy7c7faYwrI/7aI\r\nYGi0SJDEj/3FJ5p5amsfbybIYJPWva5u/3mAaZlTJV/CG5V/K5gnzmZ4bE/R\r\ni0aJlY+lIK+4y6/vi+WQKElbSW7dn6ucA/4nY0NOgIbwMjzmQdOuNWlX3rB1\r\nGxMZXHeCNzOZhstM4dO3O3anLHEVV4VhM8s5wMDi11/cecs6rf7qTtBQ5HhF\r\nGMn0m92C57EdGI0Zja6Gtxs5HoAQgUq8LduzKd7bi9fikWZeF1WTFkaSacC1\r\nQFsAoRL2qH/q5dxBZsLAWPk9Fpw+CITm0d8=\r\n=M9uz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"campbell46","email":"sarahcampbell4646@gmail.com"},"maintainers":[{"name":"campbell46","email":"sarahcampbell4646@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1665425723691_0.3501563945074231"},"_hasShrinkwrap":false},"1.0.3":{"name":"@campbell46/lotide","version":"1.0.3","description":"A mini clone of the Lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/campbell46/lotide.git"},"author":{"name":"Sarah Campbell","email":"sarahcampbell4646@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/campbell46/lotide/issues"},"homepage":"https://github.com/campbell46/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"ead389b599a0be3447dd411a1db21480b841d9af","_id":"@campbell46/lotide@1.0.3","_nodeVersion":"16.15.1","_npmVersion":"8.18.0","dist":{"integrity":"sha512-QLAgh6HPOnRYRWZGP6PmXN9C26hOhfXlIWiHNnp0JCBSVJRpy3bLXQoNY6cRByqP8lKEXZBEuKd1VAjFT+TxFw==","shasum":"f0a87986745c24c39d44a873dccb3133de9575bc","tarball":"https://registry.npmjs.org/@campbell46/lotide/-/lotide-1.0.3.tgz","fileCount":37,"unpackedSize":20191,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5W9fRKv6K9dlxIq0tQEdBiP3duhTDS83gBszCnbyY3AiEAqKZLJzdOpTmWcsTjcpu9Su1NagK3MWOzaFNkv4yHPYM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRMQQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqeZRAAhUol7YCuwN0gi1ER8SeOhHa1gWIzQUlgV8B4r6VYDjvYXDTl\r\n4+eshO6TzTxsPtxgZdql2YoCcb0myGL83Rqj4wQWZ189gc/Rp4xtCpqvrxko\r\nzS6yeCwkJZIMgfLfDyT8P2WidG3tpGyxLHltTe9lFPcA3tuVT76C3dBAP+ta\r\nhH3NK1Zc05RSdQvV2F/hGkWiAFnjzr3jJUrPX8pBeXgRJIfcYeAUGnFoDdjU\r\ntCa8Lqnc0t2xZp6I/jVD3DYDJiDvZf6eULvULpGUDUFNgzDrBrEjmy+Q2ZUs\r\nG9AEqYVcUtB11USz+OW7BxQTwVaIHAeqhFMIv30O3/BVgdN+TTT/4Th9i+Yu\r\nYFloerxyZ4UJuqzWZPW72l1C4USR/MJRZnv6YeJ/Wh672+Tk3NwcZvuARJvl\r\ndtpSqH9KEkVa1+Qw8baWjiqAJTdftV2NHH2Rlsa091pC6Jc02s0i14eNkJIG\r\nRASZIEl08dnfoGhxPReCdzwD4dikhB+BhpaklNgRpXBre/IjXmdHr3VYNS+4\r\nGlPS6FK9lM96lr8OGy1S8lk1XYIuH6bTCxNMujgG0T4bZn3nJg8B0yw9giMu\r\nUYFzWeJXY8VDLsuXZ+DX8nCjUf0UQpnieWMIKKhmBAnbL4eTuRaRmxiJUlNk\r\nMFUYEsG0y6SRwb4oIu0r5EE/g6cwPWTSnbc=\r\n=fuf0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"campbell46","email":"sarahcampbell4646@gmail.com"},"maintainers":[{"name":"campbell46","email":"sarahcampbell4646@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.3_1665451024687_0.3042660617679309"},"_hasShrinkwrap":false}},"maintainers":[{"name":"campbell46","email":"sarahcampbell4646@gmail.com"}],"description":"A mini clone of the Lodash library","homepage":"https://github.com/campbell46/lotide#readme","repository":{"type":"git","url":"git+https://github.com/campbell46/lotide.git"},"author":{"name":"Sarah Campbell","email":"sarahcampbell4646@gmail.com"},"bugs":{"url":"https://github.com/campbell46/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`npm install @campbell46/lotide`\n\n**Require it:**\n\n`const _ = require('@campbell46/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(...)`: takes in an array and returns the first element\n* `tail(...)`: takes in an array and returns everything except the first element\n* `middle(...)`: takes in an array and returns the middle most element\n* `flatten(...)`: takes in an array off arrays and returns a flattened version\n* `countOnly(...)`: takes in a collection of items and returns specific key, value counts\n* `countLetters(...)`: takes in a string and returns a count of each letter\n* `findKey(...)`: takes in an object and a callback and returns the first key that makes the callback true\n* `findKeyByValue(...)`: takes in an object and a value and returns the first key that matches that value\n* `letterPosition(...)`: takes in a string and returns the index's of letters\n* `map(...)`: takes in an array and a callback and returns a new array based on the callback\n* `takeUntil(...)`: takes in an array and a callback and returns a slice of the array based on the callback\n* `without(...)`: takes in an array and an itemsToRemove array and returns only the elements not found in the itemsToRemove array\n* `eqArrays(...)`: takes in 2 arrays and returns true if they are equal, false otherwise\n* `eqObjects(...)`; takes in 2 objects and returns true if they are equal, false otherwise","readmeFilename":"README.md"}