{"_id":"@abdigureye/lotide","_rev":"2-419faef4d8ad50570772919660a1582a","name":"@abdigureye/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@abdigureye/lotide","version":"1.0.0","description":"Mini clone of the Lodash Library. ","main":"main.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AbdiGureye/Lotide.git"},"author":{"name":"Abdifatah Gureye"},"license":"ISC","bugs":{"url":"https://github.com/AbdiGureye/Lotide/issues"},"homepage":"https://github.com/AbdiGureye/Lotide#readme","gitHead":"0296198f0fb36e8c0fb4036c32b786c86fdb90df","_id":"@abdigureye/lotide@1.0.0","_nodeVersion":"17.0.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-jET82w5V15SZq8xVE+6nQvEYoGqzyxMCiaJTLi06FgvIn4dVN4Wx7Svk76+WjeANM/RyZ6CDWymR+FyWZzk5mw==","shasum":"4ff6c3051768c95a282928c99634a3b2758bffb7","tarball":"https://registry.npmjs.org/@abdigureye/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":16947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhux5FCRA9TVsSAnZWagAAEuUP/123in4uO0NVqRp275Iu\n5vik+/UxWmujniCyu/qKNbVnhp3fqQB96/GwodztsFEmubp13Cx4KMQFMuUI\nj9q1VQ/Q2M6HqkVjDbHtO1q/O4HYWsElEIul+R9w/lDayto7DMpyKJDAQEK+\n2qXp/D7iRaliMJ3JaLS5m5sqX5MoUZ8WZJmZZlxY2+U+kl/Ag94Bl8+AcUnC\nSXgSQ72MG4EYjsDARNHuQzgA4rPPDe675SkS6eOUUgtCYo/lw+S8GGB155bf\nb6YX68C+3KTi4afw5uu+dOX0a8vOXW7B9O8it2C+b4QQvEu+nZlxIRdZLoye\nKq5Cl6qbKen4piR3+CqwMRs+lkzz2Oe5QWoK+EDZmDs7MuOG0EuznQUlOwtk\nIkTJu/wL+yThLSU2ZyJgInEKgF4VuVxgFQU2efPVc2WS6lS5CvpZnSmKoG5n\nSGIiRSFy4py/cp94VNcDnlJ311gJKT7zGk7DWPTvpBvM04AotIOzzXKocrY2\n7TWu+JHF8hQGhow4lcwANkjYbJnXIllTkWz6tztfyeFUyckHF23RKL5eAF4o\nNfwt9kI/eTSWpzRtJBJbOFbwVozhd4rdMHNi7ugLX6Dl6qvk/xNTTT/1fDmt\ngrnMuoLW7NS5abqcnEGMk7sUAFWJ9b4tpcx7XKtlX3fH5YtUNRbGoBxXd28X\n2LRj\r\n=UqYE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEKAN1IT7LZOQDX8Q833eZPXSQZ3cE8W72QOqfpBy9wQIgBdepCbKz9znUqRLtSFYKQkDPGlGnOx7zMfa6wyM4x8M="}]},"_npmUser":{"name":"abdigureye","email":"abdifatah.gureye@gmail.com"},"maintainers":[{"name":"abdigureye","email":"abdifatah.gureye@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1636062151781_0.06255107411839633"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-04T21:42:31.722Z","1.0.0":"2021-11-04T21:42:31.911Z","modified":"2022-04-04T10:58:28.693Z"},"maintainers":[{"name":"abdigureye","email":"abdifatah.gureye@gmail.com"}],"description":"Mini clone of the Lodash Library. ","homepage":"https://github.com/AbdiGureye/Lotide#readme","repository":{"type":"git","url":"git+https://github.com/AbdiGureye/Lotide.git"},"author":{"name":"Abdifatah Gureye"},"bugs":{"url":"https://github.com/AbdiGureye/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 @abdigureye/lotide`\n\n**Require it:**\n\n`const _ = require('@abdigureye/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\n* `eqArrays`: Accepts two arrays and returns true or false based on if they are equal Takes in two arrays returns true or false if equal/not equal\n* `tail`: Takes in array and returns the same array minus the first value\n* `assertArraysEqual`: Returns true or false dependant on arrays passed through are equal/not equal\n* `middle`: Takes in array and returns array with middle value\n* `countLetters`: Takes in a string and returns object with key-value pairs indicating letters and # of times appeared in said string\n* `head`' : Takes in array to output first value\n* `takeUntil`: Takes in array and a callback and returns the array elements up untill the callback is satisfied \n* `letterPositions`: Takes in string and returns object of letters and its index\n* `map`: Takes in an array and callback function and creates new resulting array using callbacks\n* `findKeyByValue`: akes an object and finds value needed by going through object and returning matching value\n* `eqObjects`: Takes in two objects and returns true or false if said objects are equal/not equal\n* `without`: Takes a source and removes desired item\n* `findKey`: Takes in object and callback and goes through object to return desired key and truthy value\n* `countOnly`: Takes in an array and returns an object of the most reoccuring element \n* `assertEqual`: Takes in actual and expected to match\n* `assertObjectsEqual`: Takes in two objects for assertation purposes","readmeFilename":"README.md"}