{"_id":"@agrawal/lotide","_rev":"1-07a5bcd91bcf9794908b29f157c44be1","name":"@agrawal/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@agrawal/lotide","version":"1.0.0","description":"A small clone of lodash","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/archa-agrawal/lotide.git"},"author":{"name":"Archana Agrawal","email":"archana.agrawal3@outlook.com"},"license":"ISC","bugs":{"url":"https://github.com/archa-agrawal/lotide/issues"},"homepage":"https://github.com/archa-agrawal/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"1d1abbb3067af17f813a0878e0a0d7f907c40547","_id":"@agrawal/lotide@1.0.0","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-T8xJjFtc4w8EVPjiGjeBdHhHas5jSQsi/KGsLh7I41RLZl8z5aJbt7BemUEY/vn4N4dUQ5NDLRJRo8ug6Ed3CQ==","shasum":"164f5dffe2d4af7404ebcafae1ad2cd1805b0ace","tarball":"https://registry.npmjs.org/@agrawal/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":20433,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFp9yJVhnmOV26ML5pfXzMpDHbgf2aBintaG7ibe7vaxAiAe/FH6X+Z9RAOWMAjW/iFq1B1gxeDIJ1lMfuJDt1y8dQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw4AcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLzA//RcdywD7WDdmTjlh18XwN9ha0iVCMBL1lhR+X0Yh/K8vbzatz\r\nE+7MW3RG9hmCUebX6NLX5ml/M5uHz21t3SBPcQIV5TYQlU9nZUY1uJ4k1wMX\r\nKoYBy1lePfH5yXzjew4p50yq6SFXxuTmkhkbsAcGeHbqsqcbXxEszrbJYHh1\r\nUe17/boIptc2o8FALu2hgq1Q+V6BlCMMx2K9SvI66iyIBEsoZ804v7MFQPmX\r\nfmVjpbhfaAq+x20Hr/zf0BvkPWYEI96nza/y/Kof05kJopjuZMyYCEGDPxvv\r\nQEquxkgFVq0I5/EFe3/Rk1EDZEBMaMihhbwB+poNXu8fsyomsVW3UED7cs3j\r\nfF3n9oZH9hDTe0bg7IPjgMjFk/v1EZ2ttEalyN6qPI5jRVVjy1epgztldJ+0\r\nCmygfN5/Vsg5zbA+j5GfmhmpbKgns+WxYeFe0YvxDjqFFQabYHfM4Z0sekeO\r\nImSOS97ZPIIL7DBabtWwfsR3mDS30yf4V0Ja6VU+yr0j8phPPOFkFDYwdrbv\r\nqdVveoQHSx/1PWMnVFEORQpq9f5axq8pJmyZm+dS+7jmTernXen+elOHB7AA\r\ncIupOZuEshshjxM9FCtQUOP4sLz8Imgq85SfHA2s2teYpGN7ZxdIjE+MtjRz\r\nDEFO15ybmwjX3amYV/xZe4z6lKruvbpaTV8=\r\n=TWhQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"agrawal","email":"archana.agrawal3@gmail.com"},"maintainers":[{"name":"agrawal","email":"archana.agrawal3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1656979484608_0.09676370939798562"},"_hasShrinkwrap":false},"1.0.1":{"name":"@agrawal/lotide","version":"1.0.1","description":"A small clone of lodash","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/archa-agrawal/lotide.git"},"author":{"name":"Archana Agrawal","email":"archana.agrawal3@outlook.com"},"license":"ISC","bugs":{"url":"https://github.com/archa-agrawal/lotide/issues"},"homepage":"https://github.com/archa-agrawal/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"ac25b66f9d240629833938171606f6c42b70df84","_id":"@agrawal/lotide@1.0.1","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"integrity":"sha512-xRVjBdTqY6sicFABhShhP+ue+jb4zwuVJkhxNSpoMxSVfMgMVCpnRWs4H8WrmjxWaNSXn8/SqLqEo5Fx5vbG0g==","shasum":"cee30b6042348c734c1ad2b76c1f567d1190b4e6","tarball":"https://registry.npmjs.org/@agrawal/lotide/-/lotide-1.0.1.tgz","fileCount":25,"unpackedSize":20421,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4u0bAcvBeeXxsCIT0LrUH9mxNb9TPd23SDs2oYKFG6AIgGBfC/7cm6IGa/xttvYZk9nhD7cBhMHVrKpcg7vsldxI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw4OBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqwcg/+IKVOmJkA7BmkaxBJtMtFr26Pv4LNehWgVS/gJQxXwEhtV5YH\r\n73ZBL5r3N92DxMjOpmy+nwDEWhInswqWlkfbLK1OwST1s6ID05j3ZRJUsbca\r\n+XiFBHkLnjjo1tiEX4WxaE0pnbR0VN4ST1TrUC5pbdk2wVklKnw0TpO9G+FW\r\nPmaEVUu8DtK7SqQJYvERdZTh8ciBSN0qh5ieGNqrzAnvwm3Nc8IJuceimuFG\r\n56QHwNOAEKLbgtlQkhCyHU4DQvuVKO4Ad/bSH01ZtXH7UGWvrl9BgrSIndeF\r\nh/DPeumB007Rb1ZVKiQa7XZnnRq1lGlNa7uTyPKm63k85FOOCNyMWrPzVnHA\r\npTUR3UXY5+/1/zZijE0uwRJpOazAOnDI2NIxnXhlHHVxtbUgNM0XeASIPoy1\r\nGat/BGGWeKqVUJk+tn/Y/sGid6mn4C2tGYK+YQLKXjjagoYvriDyI35AIbwj\r\n+tTmKycP5T5L8O6X+qMSOU6+P9OQlpRNSBsNgicQn/zpGoTwEQrjiv/Xhgv2\r\nYmhzTSl+v05dlbK0CDPDMqNeTDt+6GZKNrn4eUQqBwXn8KlPYp5cjRGG3L4J\r\nq+ue/jftdtOr33ZDgS+87CfIG5nEzl98kAgB11JAI6ZeFy3391z7yfWV01PO\r\nkvq6yXlBWwGdak1KpoKDaTOsCLjhn4b4HYQ=\r\n=3Gcf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"agrawal","email":"archana.agrawal3@gmail.com"},"maintainers":[{"name":"agrawal","email":"archana.agrawal3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1656980353605_0.8738874759982582"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-05T00:04:44.548Z","1.0.0":"2022-07-05T00:04:44.811Z","modified":"2022-07-05T00:19:13.892Z","1.0.1":"2022-07-05T00:19:13.813Z"},"maintainers":[{"name":"agrawal","email":"archana.agrawal3@gmail.com"}],"description":"A small clone of lodash","homepage":"https://github.com/archa-agrawal/lotide#readme","repository":{"type":"git","url":"git+https://github.com/archa-agrawal/lotide.git"},"author":{"name":"Archana Agrawal","email":"archana.agrawal3@outlook.com"},"bugs":{"url":"https://github.com/archa-agrawal/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 @agrawal/lotide`\n\n**Require it:**\n\n`const _ = require('@agrawal/lotide');`\n\n**Call it:**\n\n`const results = _.tail([1, 2, 3]) // => [2, 3]`\n\n## Documentation\nThe following functions are currently implemented:\n\n* `head())`: takes an array and returns the head\n* `tail())`: takes an array and returns the tail\n* `middle()`: takes an array and returns the middle value/s of the array\n* `countLetters()`: takes a string and returns an object with the count of all the lettres of that string\n* `countOnly())`: takes an array and an objects. Counts the number of occurance of keys in the array for which the object has true value. returns the new object.\n* `findKey()`: takes an object and a callback function.Returns the first key for which the callback function is true.\n* `findKeyByValue()`: takes an object and a value. Returns the key which holds the value that has been passes as parameter.\n* `letterPositions()`: takes a string. Returns an object containg the key of each letter and values of index/es of that letter.\n* `map()`: takes an array and a callback function. Returns a new array after performing the action of callback function on each element of the array.\n* `takeUntil()`: takes an array and a callback function. Returns a new array containing all the values of the array until the value of callbak function becomes true.\n* `without()`: takes two arrays. Returns a new array after deleting all the items presnt in array1 which were also presnt in array2.\n","readmeFilename":"README.md"}