{"_id":"@ahana15/lotide","_rev":"2-fc2868603d8980670587d0ea1c58e504","name":"@ahana15/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@ahana15/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^6.2.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Ahana15/lotide.git"},"author":{"name":"Ahana Ghosh","email":"ahanaghosh94@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/Ahana15/lotide/issues"},"homepage":"https://github.com/Ahana15/lotide#readme","gitHead":"f45e95871a75145fdbffb4ce50d287db2a65e0a2","_id":"@ahana15/lotide@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"ahana15","email":"ahanaghosh94@gmail.com"},"dist":{"integrity":"sha512-JgLNeG2qItdaJV49MiBrX+/u2+0+2dgxiIQE3KMAfbwjt4Cgp+yozqMe7Ldh4bbD01R0eQYkyjtN1R45SSvf0Q==","shasum":"9ba3b09494ddd3cb959a8f3e6e4b2438046fa742","tarball":"https://registry.npmjs.org/@ahana15/lotide/-/lotide-1.0.0.tgz","fileCount":29,"unpackedSize":18452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdY/ipCRA9TVsSAnZWagAApHoP/3SSdfgbBY/JrhpT4H2/\nOw2Cyp7GioaLALlLEp5fYf38lsS3SoQx2a9mlVo2XnSMJpxYr98+MMxAJKix\n6I+5C9M/kKZl7pHYJT4/l1WwlRRhm0pn0lIL9Pk4mrls90+MSj6/jByupCzL\nBedQGsHvgMJ2jZ9gb5aZ4DrCCkl1qo16Vok9LreeOvETS9O7WTrc+hU+NGkY\nNUVS42csiT63b/kd5ni6KI8wxiI4MYIMzfpHWFOF0xy6Phu2vImy2555KLU0\nUmgSWhHHqdgTyOUT1I+BvO8OnwD0PYNV6zX4jKme2GMqoOUZlJEe9iY1BBRB\nFj3w6OPiolzMyTJy6DpEa5qxDwuyFEviVXQ50K2PeS8J2/J8ACpgi7ED/r+x\ndvATmkCII9H+GgATGhu7mURPJpiWcaONKYPEcw4Rn/6mBYmoEb5KgN5dXk/o\ndzBFgK+RES4xHXGoT6lycacfAdwxmqHcHtOVnlSpzaY61DkzuFjgZzY6Yuz1\nj/1rLG4+RY4P0J2xXu0K/ei8Sq/ruc/XALSkG/6isgNTEyHJBoEzdl+doemM\niMIyKfqiBEukA7IAD/yDxw9WXIVDhbb7hf/RXl/a5Vzv3/jcHvkvPEeVtA69\nL0RT6X+9YETvarL50Cshg1Y90sUhl+T568D9voD4jj4S6vbLnQYcXvZ6VCF8\nZusa\r\n=+tGD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFP10jHjUv0nXWj1CVidGy2pYO5BYq5W8+YxLRf9R3gWAiEA8F/7WfDHPA3DjtY1SanXFiq3tKI42f5uLHfgQpG3/RI="}]},"maintainers":[{"name":"ahana15","email":"ahanaghosh94@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1566832809125_0.11844730434994499"},"_hasShrinkwrap":false},"1.0.1":{"name":"@ahana15/lotide","version":"1.0.1","description":"A mini clone of the [Lodash](https://lodash.com) library","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^6.2.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Ahana15/lotide.git"},"author":{"name":"Ahana Ghosh","email":"ahanaghosh94@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/Ahana15/lotide/issues"},"homepage":"https://github.com/Ahana15/lotide#readme","gitHead":"a9211744f9f8e6dec4c4599592a4ba1d1e2e1fa5","_id":"@ahana15/lotide@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"ahana15","email":"ahanaghosh94@gmail.com"},"dist":{"integrity":"sha512-rgTsJ+LpRryVJTkXvXLLgffZGgAtXNpb2AJu4jg1C3DsCF0vI6SxMYmXHqtbdEvQv0rR1F5qaOpatJ6LzimpiA==","shasum":"4b7169468798530f89910dcffc0253e97561b987","tarball":"https://registry.npmjs.org/@ahana15/lotide/-/lotide-1.0.1.tgz","fileCount":39,"unpackedSize":17763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZE/6CRA9TVsSAnZWagAAf9UP/2zdpzNKWtYGALabDkMT\njijFDYuxh/pP+uleNYSSxR1pJm2/8BxtEJE69OBhEjmsNRoHIfJ+3tUuk4iJ\nAVv0jlkq/NHuIsCBcOlDRFQrWq4EJkxBcuQFUuVtVyYaTkaRc1YITOoXM/8a\nO+HxGQrXOze6QOAp7zhgYSs8ZPBgbiuf7FALA49gmISgYP0C6I4PLvJqWouD\nU+OBXA3oxoX/W9pa2sJDXqekne7U+PUY3nUEl0l/JhfE593K2fkBI0M4Yg/9\n8j95RznhA7mJ09lqeQnDMIyZokvAA38fynghSO05YU0mGFci0riU3omwiTBH\niMGRnho10tKtYQQpdsY8OIE7Dc/5a+1Jdc1W1wgHynPMyz5oUwVYFD31gOpE\nOWNiP7I+685Sk+1sK2pcVADWjtClMqYw5emXLKpkdkV8tbrRQ5KBrkqanO95\nEt2DiAYn5YOA+g2q0osclBcWYQ000sfnJdf3IvF7uCAtM4fvNXZpFqaD+y3v\ncEw9rToPJ82u5+tt6UAcouAh74nF25zig1byuvyMsAXvjalVoKk3GWK+q+XN\nsXvLsonlLl7osj8g0bBxsw4pdbME2V21vLTk6QZrna6C3IX5szFJswlHMuaP\nN2At56kyJq5Ilbe0VihAcZGv2Lk6KahMskMhUOHkefcNmNeNrJHRfTf0KNqY\n0jCk\r\n=nvvM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChSn9h5gQPte34NZqcJFe2m85Eyd9OeSsbA7J5HF5ZPwIhANOy5bSwkIdTIozFPjzrrR4KBh7YKB5eLk9TiaiOWZ9p"}]},"maintainers":[{"name":"ahana15","email":"ahanaghosh94@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1566855161698_0.801208452953085"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-26T15:20:08.883Z","1.0.0":"2019-08-26T15:20:09.245Z","modified":"2022-04-04T12:11:55.787Z","1.0.1":"2019-08-26T21:32:41.853Z"},"maintainers":[{"name":"ahana15","email":"ahanaghosh94@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library","homepage":"https://github.com/Ahana15/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Ahana15/lotide.git"},"author":{"name":"Ahana Ghosh","email":"ahanaghosh94@gmail.com"},"bugs":{"url":"https://github.com/Ahana15/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 @ahana15/lotide`\n\n**Require it:**\n\n`const _ = require('@ahana15/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(...)`: returns the first item in the array\n* `middle(...)`: take in an array and return the middle-most element(s) of the given array\n* `tail(...)`: returns everything except for the first item (head) of the provided array\n* `countOnly(...)`: given an array and an object, it will return an object containing counts of everything that the input object listed.\n* `countLetters(...)`: return an object where each unique character encountered is a property of the object and the value for that property/key should be the number of occurrences for that character.\n* `findKey(...)`: takes in an object and a callback. It should scan the object and return the first key for which the callback returns a truthy value. If no key is found, then it should return undefined.  \n* `findKeyByValue(...)`:which takes in an object and a value. It should scan the object and return the first key which contains the given value. If no key with that given value is found, then it should return undefined.\n* `flatten(...)`: take in an array of arrays and return a \"flattened\" version of the array.  \n* `letterPositions(...)`: takes in a string and returns an object with unique letters and the index position of the letter occurences. \n* `map(...)`: map function will take in two arguments:An array to map and a callback function.\nThe map function will return a new array based on the results of the callback function.\n* `takeUntil(...)`: this will keep collecting items from a provided array until the callback provided returns a truthy value.\n* `without(...)`: return a subset of a given array, removing unwanted elements","readmeFilename":"README.md"}