{"_id":"@emeka-asogwa/lotide","_rev":"3-bf810729d0313167664aea42becb9158","name":"@emeka-asogwa/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@emeka-asogwa/lotide","version":"1.0.0","description":"An additional library for [lotide](https://lodash.com) library","main":".eslintrc.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Emeka-asogwa/lotide.git"},"author":{"name":"Emeka Asogwa"},"license":"ISC","bugs":{"url":"https://github.com/Emeka-asogwa/lotide/issues"},"homepage":"https://github.com/Emeka-asogwa/lotide#readme","devDependencies":{"chai":"^4.3.4","eslint":"^7.27.0","eslint-plugin-react":"^7.23.2","mocha":"^8.4.0"},"gitHead":"1e733f2664486748b332c6c8492e9f0b5d874cc7","_id":"@emeka-asogwa/lotide@1.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.14.0","dist":{"integrity":"sha512-wNuh07IxXPqYWg8kEUbtw3Kuwsy8v69N3CwzYyBuSUXrsVOH2Opwn7+3UuMaaQAcZRCfYpivhiI1mWCybWfuWQ==","shasum":"b868cf11dad13588706805952efb48cf968c35ed","tarball":"https://registry.npmjs.org/@emeka-asogwa/lotide/-/lotide-1.0.0.tgz","fileCount":42,"unpackedSize":21782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtaKKCRA9TVsSAnZWagAALqAQAJI8zJ/eOK6VAkjsnjnf\n6TZU7gM2vMDlU4mGq1nIxqM3PG0kboyZ/uX6tX5Fu+zf0fOV8Q0broOVflz+\nqIkUonIlTG/A9NJ3C3epjMk20rZ1jSPfPB8SVXn+8wKDs+c86f59HFcboCrf\nJXdGjOinjLcsS7lsu61ffVVdJkwEJpgRtLZjxwkndjJNmuy6hMPPfG5o9O1h\nf3xW7nt69/iak8H4U/MblBMItRzii/957Mb3AlfZmp10MPYy6v32doD8EzpZ\nf7312IQ2ajBP+ieu3b+WBwvM8tfuuKvNoSirUVYh5tsnmjraT8MgbSOnzBq+\nE/3mM0TZhN9Ki/daAjFLYj5y60aT5CEEN8ZYHao4mFvvKiRi8xtfPkpoH0xI\nFnE+U9uOWmrLhfxQwkB6H8Rvj5PbR6vAe18z1Jpt/WdijUiwXuZYdFC+MGMH\nQzs5LiI1cLZQ4dqot5rBrdOhW9pMn2y7fMoXGgzgfXzqNVAoIrkMYiTmKkMq\nCX0qPWofr6sq43HezXSXhybXH4pA1xmoDnpcqwmuvOkL4FVXGFuumJ9aWpIu\nzy6SjqOKXwl91iX3r0krYYfyhd65Dq0MMULmqgCuy6J4iGgG8WMa4NpwWW+h\nlUVX+ONe4I63g3wMbpLoEVo2RIZfaW0YaDnz+ZvPZ0/VznFqxTTF9+xkApp1\nwzmG\r\n=qv8x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvgYmJ25a1SwNNiZ1LlXBl54/c19CDyRpUufbdQeCIrwIgOvuAEh1Rxzxku0ci9wDa7k3b0p0kaYUtl9g6ysB/fYU="}]},"_npmUser":{"name":"emeka-asogwa","email":"cmasogwa@gmail.com"},"directories":{},"maintainers":[{"name":"emeka-asogwa","email":"cmasogwa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1622516361595_0.9438249566896311"},"_hasShrinkwrap":false},"1.0.1":{"name":"@emeka-asogwa/lotide","version":"1.0.1","description":"An additional library for [lotide](https://lodash.com) library","main":".eslintrc.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Emeka-asogwa/lotide.git"},"author":{"name":"Emeka Asogwa"},"license":"ISC","bugs":{"url":"https://github.com/Emeka-asogwa/lotide/issues"},"homepage":"https://github.com/Emeka-asogwa/lotide#readme","devDependencies":{"chai":"^4.3.4","eslint":"^7.27.0","eslint-plugin-react":"^7.23.2","mocha":"^8.4.0"},"gitHead":"1e733f2664486748b332c6c8492e9f0b5d874cc7","_id":"@emeka-asogwa/lotide@1.0.1","_nodeVersion":"12.22.1","_npmVersion":"7.14.0","dist":{"integrity":"sha512-a2UELeXrPywYK/3ohULWRvhnRlPL3Ayfyfg+7U6W7bk+n3Wy1Qi+cB5GzQgzTEHm7PMXfC2jXnCxc9F24YO5tw==","shasum":"d0e1ad042d9fb1f2b897e0dca1b7738387551f54","tarball":"https://registry.npmjs.org/@emeka-asogwa/lotide/-/lotide-1.0.1.tgz","fileCount":42,"unpackedSize":21782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtd2ZCRA9TVsSAnZWagAAIckP/A0rCnl0L8BSXX7i6JTX\nLvdWUJP/hyYr1S9XaQYTBPhhikCifW7Necp14/BegAV53YcskleyROsIDXQn\nVyqFDN2ANG2XV9xEmmkwp1QK8fAY3HzmDPN1WAMWyh4jLCefB0s0dh9L5pix\n7zASXBPj9LGQmBpe+GpsSvp/4/aVRzlyeZwg1SLH82PGolw6Rwfn1rWiJ+/l\nqkitdkiE/4y0wmSXIjYuEBy2Wbl2sMhj8ahMGLXQygsQ4x9A/VGy/pTFRq8W\n9xa3UbVlPHUFmvCHSDFMgR95EDl7gpEJyLVhPBviAgek22icy1Z6CyNsWM17\nIISQC01BC3NeZTgB095D56cjIMGAcqkMRVJYuv0vUhel2pEYi+uIqKLKf3Bf\nzuiSXGNF1COhgTIsGgqp6nDdNvF0FhSm5chftH/fF9kSrGEDo2EFlytDWAOV\neN4v+uI7fYwMX5BVzs+xHw8YI6IlFHgtezqN5yxLWTBRmqEzRapKvKRfu+15\nomp/W+JwF2w73mRc/eAjDoAUbtJCRfslUyETKc2whmloJ1GNPSTDf6wIl/hL\nVoL+fnnPAq2d4tl+WfhTAJl3wLCw9oslzJ5kSdgRnW5aBAi6n+b0BjUYdVKw\npRPrE8B4h/+AdffL6lBoMpT9lE3/MxyKK6qc1DLFv0I3/ePonmdoCLGKJiht\nSCr9\r\n=e9af\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNohfbG7tA4qmDbvWEsNtpATbG0wkGmbXyvCkzQHqOoAIgSkViBXM/jiRzmHbNVTOeA+xRj7jDsQakNnMEFkAHPwE="}]},"_npmUser":{"name":"emeka-asogwa","email":"cmasogwa@gmail.com"},"directories":{},"maintainers":[{"name":"emeka-asogwa","email":"cmasogwa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1622531480821_0.44939884985714373"},"_hasShrinkwrap":false},"1.0.2":{"name":"@emeka-asogwa/lotide","version":"1.0.2","description":"An additional library for [lotide](https://lodash.com) library","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Emeka-asogwa/lotide.git"},"author":{"name":"Emeka Asogwa"},"license":"ISC","bugs":{"url":"https://github.com/Emeka-asogwa/lotide/issues"},"homepage":"https://github.com/Emeka-asogwa/lotide#readme","devDependencies":{"chai":"^4.3.4","eslint":"^7.27.0","eslint-plugin-react":"^7.23.2","mocha":"^8.4.0"},"gitHead":"ccb20bc80b99d9d243dcd91211938e8ac6695656","_id":"@emeka-asogwa/lotide@1.0.2","_nodeVersion":"12.22.1","_npmVersion":"7.14.0","dist":{"integrity":"sha512-tt4SJjO+LrNNPUPv6LNiePFvYfIYbGr7SzuoDUzbw7lvHA2JQ3AZq/goOU8gFAjghEE2EWMbc/nUye6VarEKOg==","shasum":"ef5a71b2e85c66adc714664d859207b057571057","tarball":"https://registry.npmjs.org/@emeka-asogwa/lotide/-/lotide-1.0.2.tgz","fileCount":42,"unpackedSize":22526,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2kdhCRA9TVsSAnZWagAAr/sP/1kr3HB44VCro5F9KDh7\nmEnBtIUlE+e5WKp9skYnFoGoMu8WLdHHOiwHphb6GI4hQ6yDqb/yPUwObzmO\njyQIw3+2W6mB7JflVQS+6CV5PQil1+E3jXMAN8fSKpNWvGgQrvC4VkmUhpzf\nY00IBV2jPBcGplcmr2Ofv0ZTfCixLF3gt5O665pJRgYna6isBeAi5gbmxL+z\nB3QQByZIGFNPjvSfmXsiopUlMFEbCku8kStQ3Yd4XYivwUYqz/m1yvp46z2/\naeCyviMmyh0AHIXXRlj5m0od7ENmMYyhmrEBak3ea7mayQWWXcE5+qBDtyjy\nS+a0PfJbl5Y7Dcg3CgrVn3Ezx/G1Ijs9kw8FCLtT8UpPtq8D2YdwiadoJTq1\n6TXgkAOIXEsJnVB0meU8WptU7USbq49D34AJMWrREpYu9qFmzSCzh2SlsYWk\nclLk9BGj2Nwj6P+PSc6QCR8UgHuOd3pK6rx2jT2uL3TVg54fRPKeQ0Aw42YR\nt9w8a/KzYn2wnCepBKJQ2zK/RSdEhhVOR4pb/SF0VSoZGorsmudlv4AWkloA\n5fO+hBFSxuA3MHYil0mJOeiQ98ltxMRoVY9+uigdMdVJJRf0bFkh4hJdWSJX\nKBRJGuaGIUSJxfDbRDk52ivhCm40ZI89akMiUCCEjCXhSUVeS3k/3fFcvqHC\nk6DJ\r\n=xpPe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF2lQXlGop3ThWn16ETccQWzUXy2JMq29YPNpFduzECSAiAo243sm8jARO5JJ5qQ5xdbF7fjmCyg8GpP3A342wWRSQ=="}]},"_npmUser":{"name":"emeka-asogwa","email":"cmasogwa@gmail.com"},"directories":{},"maintainers":[{"name":"emeka-asogwa","email":"cmasogwa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1624917856771_0.30987382964762533"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-01T02:59:21.545Z","1.0.0":"2021-06-01T02:59:21.734Z","modified":"2022-04-05T07:32:13.758Z","1.0.1":"2021-06-01T07:11:20.970Z","1.0.2":"2021-06-28T22:04:16.920Z"},"maintainers":[{"name":"emeka-asogwa","email":"cmasogwa@gmail.com"}],"description":"An additional library for [lotide](https://lodash.com) library","homepage":"https://github.com/Emeka-asogwa/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Emeka-asogwa/lotide.git"},"author":{"name":"Emeka Asogwa"},"bugs":{"url":"https://github.com/Emeka-asogwa/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 @emeka-asogwa/lotide`\n\n**Require it:**\n\n`const _ = require('@emeka-asogwa/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)`: Returns the first element of the array.\n* `tail(array)`: Returns the whole element except the first element in the array.\n* `middle(array)`: Returns the middle element(s) in the array.\n* `assertEqual(value1,value2)`: Checks if the two values are equal or not.\n* `assertArraysEqual(array1,array2)`: Checks if the two arrays are equal or not.\n* `eqArrays(array1,array2)`: Checks if the two arrays are equal, then do a recursive for arrays within the arrays. \n* `assertObjectsEqual(object1,object2)`: Checks if the two objects are equal or not.\n* `countLetters(string)`: Returns the count and the associated letters of the string.\n* `countOnly(array, object)`: Returns the count of the occurrence of the object in the array.\n* `eqObjects(object1, object2)`: Checks equality between the two objects, also do a recursive for objects within objects.  \n* `findKey(object,callback)`: Returns the first key for the callback after scanning through the object.\n* `findKeyByValue(object,objectValue)`: Returns the key of the object value.\n* `letterPositions(string)`: Returns all the indices of each elements in the string.\n* `map(array, condition)`: Returns a new array after performing the condition on the array. \n* `reverse(string)`: Returns a reverse of the characters of the string.\n* `without(array1,array2)`: Returns the elements that are not in the array2 where array2 is the exclusion array.\n* `flatten(array)`: Returns the elements in the array or the elements in the nested array(s).\n\n","readmeFilename":"README.md"}