{"_id":"@dominiquemkhonza/lotide","_rev":"1-19cc3fadfdc884bb133d6012055d7e6e","name":"@dominiquemkhonza/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dominiquemkhonza/lotide","version":"1.0.0","description":"a mini clone of lodash","main":"index.js","directories":{"test":"test"},"dependencies":{"util":"^0.12.4"},"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"scripts":{"test":"mocha"},"author":{"name":"Dominique Mkhonza"},"homepage":"https://github.com/dominiquemkhonza/lotide#readme","license":"ISC","repository":{"type":"git","url":"git:https://github.com/dominiquemkhonza/lotide.git"},"_id":"@dominiquemkhonza/lotide@1.0.0","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-/35Ej2oOr11xpij7OBj5omnfmpz/r7wUTK0AzG3LBS8OSA33nkQXk1PS4E8+MwX1K4Tw7iJtMUpwjii1zPP3IA==","shasum":"6c84b917f1c2e89f1f8a3077bd1ece3f38eb5ad2","tarball":"https://registry.npmjs.org/@dominiquemkhonza/lotide/-/lotide-1.0.0.tgz","fileCount":29,"unpackedSize":17597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrVamCRA9TVsSAnZWagAARHcP/1wRSJXBr3FYXjnaNGSu\ncSM4ODakV3CMnwwMHQc1g3snIY/bOqj9ap57bOCKYLRx7n8bd+3NcseyPOTT\nKRJmuG1WyI+F5VGTGqbZIxffdhiD6J3hAGCxgiaZpoHLAUNBfhwYxtihJvzQ\nXsY8h/MJ/QCqGRc9f+AZBRgF1EhIaxckHABD/fPn3xEYDBcWMp2nwXIKTkDd\nSIDsiVTFDY1Qlkc9GSW78nfIZ+CrE5+rBXRGnV+VEjgHupDZFQ761IP+6Aba\nAfkELfPUghHb5t821cUzhKHg/HfrFtOrQSl5NkWyXaOh/2VVdxLjcNMcBxub\nsTcUSJQzH4YAgBOUWVR6uUyEgCDD8RFsvTwhuu751vYpg81VfXFHxdamjBbm\nc5luzJ/4nhAo25QqWKGR07VlAjyP7MTLeEsBoDSMoKA2Y3px9awDsDFssX+8\ndkmjmbfqjHE0XDR0Ug9JQS9yI9+i7aRZ8WTDTD9tmBQhuAZqUMto3IFx5jXY\ncVj2JEkNsEDc7FmpKAv77SoqFMRolFGcBMJBIkc35I/ck5uVFD/TYPnjhNKm\n3ueHkJc2nDYBTaupRpOh33IFI6VAmB1Q6hMun25An8NvhNo3cLV8TO55mxaf\nMg1dnvOnAbYpk1SKFO+LtSDQf9W5gc+U4geFmh1hLxzwkYqVGyP8ISaltInw\nuGik\r\n=izEY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdbYiNPNBnucfrlVkOBJdlCLUjawuLo0Oa7I+Crw9LfAIgB8adstdfW/uix2wDFGX0HHmt0EvgA4gcYEnw3wA2rQI="}]},"_npmUser":{"name":"dominiquemkhonza","email":"dominique__m@Hotmail.com"},"maintainers":[{"name":"dominiquemkhonza","email":"dominique__m@Hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1638749862173_0.6502679106432103"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-06T00:17:42.119Z","1.0.0":"2021-12-06T00:17:42.328Z","modified":"2022-04-05T05:14:10.374Z"},"maintainers":[{"name":"dominiquemkhonza","email":"dominique__m@Hotmail.com"}],"description":"a mini clone of lodash","homepage":"https://github.com/dominiquemkhonza/lotide#readme","repository":{"type":"git","url":"git:https://github.com/dominiquemkhonza/lotide.git"},"author":{"name":"Dominique Mkhonza"},"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 @dominiquemkhonza/lotide`\n\n**Require it:**\n\n`const _ = require('@dominiquemkhonza/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(array)`: function takes an array as input and returns the first element of the array\n* `tail(array)`: function takes an array as input and returns the same array sans the first element\n* `middle(array)`: function takes an array as input and returns the middle element (when the length of the array is odd) or returns the middle two elements (when the array length is even)\n* `countLetters(string)`: function is given a string of letters and returns corresponding number of occurances \n* `countOnly(array, object)`: function takes an array and an object and returns an object containing the count of occurances of input listed\n* `findKey(array, object)`: function identifies key when given an object and callback function\n* `eqArrays()`: function compares two arrays, returns boolean statement\n* `eqObjects()`: function compares two objects, returns boolean statement","readmeFilename":"README.md"}