{"_id":"@andrewrlloyd88/lotide","_rev":"1-e81edaba0225177de51d4d018dd7971e","name":"@andrewrlloyd88/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@andrewrlloyd88/lotide","version":"1.0.0","description":"A mini clone of the Lodash library made for learning purposes as part of Lighthouse Labs' 12 week bootcamp.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AndrewRLloyd88/lotide.git"},"keywords":[],"author":{"name":"Andrew Lloyd"},"license":"ISC","bugs":{"url":"https://github.com/AndrewRLloyd88/lotide/issues"},"homepage":"https://github.com/AndrewRLloyd88/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.1.1"},"gitHead":"790d51786f3fb39aa3920ea953ef6645dd648fa4","_id":"@andrewrlloyd88/lotide@1.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-dgyVl9dlaiftn10l4wjwmCbPAqrOiTtaa2bdAwYm9mSdyjpAym1YmgoBvb0KjWBO1zXITnQCr2OPFuv5zW7zVA==","shasum":"6363787046e41f7c98e30edf94f62f306583153e","tarball":"https://registry.npmjs.org/@andrewrlloyd88/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":26872,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRFrdCRA9TVsSAnZWagAA170P/Re5Uxi+adArAH7ykwKA\n/62YnK1YeLt+Op6q5UiTr238CsZO4uM4w7q6PkXgTj5cTDwqbS/Sr4FDeSBB\njEF6AUBi6TRJXPA1ZBrv3JvNKlAW3XuBHJGRtyRChyxNmbYy+MPsKucL110/\nuAX3GAoczIlz5Cbh/s9zmID+C0nBdwATwdw81+mqFoqdppSWEQSRVZfeCrci\nnjYUrn2Fmlk/h9PRaejfVXLw4R/Fomf21I0thMvPj5+WUCdRjwYkomW0sCJc\nVrBBq7wAtdT9Inc/DipxwGdlvY0VAuEFoJgR4UlW5CCk1FvmPrMciZd1o+2+\n0cVesBO1VFzGLxlJpPh98cBpTlSaZZ6kSs9mAP2u/lpG67pZg40o37I47ysF\nIn0F0Z8fVc0PD+v8OuYjrMNtMzpvLHpiibUHrcQ2qv9ujAHoaC+j2CTyr37N\nGt5dxhX8ShbJ1r2obOcEwsYC8rwKRNvWoCNBr0LN2ShoVSjndZcjBn18VCWM\ntiWGTUElG6LSpEBT1p0wkoIh24+MNgj2O3aiRyO6EZThRCH9Ocv2ZSmHquAb\nJWH8T2yZfjqCMwJbphQpb9RcDbGsaYy3IELjrIlgH8Jc+SQf1IoW0sIvkwc4\n/OmAFaC9EOawQFI4oYkmqOHUJ2uUsjH7jcxT7iJKoZwJiNg6ACcbHHrDSVmJ\nqqIc\r\n=wrk5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNRI5jWGeBx2E40W36+bGhyJJo5Zne5BuWG8g35pYGtwIhAIkdgJENgI7xBdykTmpHMy8iADSUWWJ+0TxmT1MshT9Z"}]},"maintainers":[{"name":"andrewrlloyd88","email":"andrew.lloyd01@googlemail.com"}],"_npmUser":{"name":"andrewrlloyd88","email":"andrew.lloyd01@googlemail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1598315228634_0.20488567941513325"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-25T00:27:08.593Z","1.0.0":"2020-08-25T00:27:08.733Z","modified":"2022-04-04T14:01:52.997Z"},"maintainers":[{"name":"andrewrlloyd88","email":"andrew.lloyd01@googlemail.com"}],"description":"A mini clone of the Lodash library made for learning purposes as part of Lighthouse Labs' 12 week bootcamp.","homepage":"https://github.com/AndrewRLloyd88/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/AndrewRLloyd88/lotide.git"},"author":{"name":"Andrew Lloyd"},"bugs":{"url":"https://github.com/AndrewRLloyd88/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 @andrewrlloyd88/lotide`\n\n**Require it:**\n\n`const _ = require('@andrewrlloyd88/lotide');`\n\n**Call it:**\n\n`const results = _.tail([1, 2, 3]) // => [2, 3]`\n\n## Documentation\n\n**The following functions are currently implemented:**\n\n* `head([\"Welcome\", \"To\", \"Lighthouse]) = [Welcome] `                                       : gets the first element from an array\n* `tail([\"Welcome\", \"To\", \"Lighthouse]) = [\"To\", \"Lighthouse\"]`: get everything but the first element from an array\n* `eqArrys([1,2,3], [1,2,\"3\"]) == true ` : checks if two arrays are equal\n* `assertArraysEqual(1,2,3], [1,2,\"3\"]) !== true`\n* `assertArraysEqual(1,2,3], [1,2,3]) === true`\n: checks the strict equality of two arrays. Uses eqArrays as a helper function.\n* `assertEqual(\"bacon\", \"bacon\") === true` : checks equality between two primitives\n* `middle([1,2,3])` === `[2]` \n* `middle([1,2,3,4])` === `[3, 4]`\n: gets the middle item from an odd numbered array or the middle two items. N.B if an array is empty or only contains 1 item it will return with an empty array. \n\n\n**Yet to implement:**\n\n*  `assertObjectsEqual()`\n*  `countLetters()` \n*  `countOnly()` \n*  `eqObjects()` \n*  `findKey()` \n*  `findKeyByValue()` \n*  `flatten()` \n*  `letterPositions()` \n*  `map()`\n*  `takeUntil()`\n*  `without()`","readmeFilename":"README.md"}