{"_id":"@averyvn/lotide","_rev":"3-4b4060a662eac45dc6daaba78c4e02f2","name":"@averyvn/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@averyvn/lotide","version":"1.0.0","description":"A clone of the Lodash Library for education purposes","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Avery-Nguyen/lotide.git"},"author":{"name":"Avery Nguyen"},"license":"ISC","bugs":{"url":"https://github.com/Avery-Nguyen/lotide/issues"},"homepage":"https://github.com/Avery-Nguyen/lotide#readme","gitHead":"e58021abe95a1359d466641d9b6b19cc04870d65","_id":"@averyvn/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Ybsho5vU7R4uaQrScUnsGfuIUz8q79cSljyK4Y1+84yeZNpEUFusPJXWg+5HVKr2aKw/ViVPbqJ2tRDrKzrr9g==","shasum":"9569ffc01e6dc09ffe99c6a7cfe62e133da9eb8f","tarball":"https://registry.npmjs.org/@averyvn/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":15324,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1XL3CRA9TVsSAnZWagAAqskP/i2def9kGEkg36ue/gd3\nRA+7fgmXPefzE3VmjUmwNf5/cNeKRW6Hc5jJdJzh6EvzLBIMm801T2xTzmaW\n0Edi/eiEkkK0RcyELpcuwPkyL3I4JRdvJR3+EaSZE9D368SjV1LKxGRHNCcm\n3fGOos01jIitCd267PWjKtOJSz4q8p5CRLyaqVw9nLVNYutZj3KqYoIspihU\nxIeitaCvZQaHKQllsFGQFpoO5RtSzAeGggfc+fi0gfKaNE9/vgHstuVSgr+P\n+tgyqpKXuFbcoL2xZAWC8v9NB8BcHQrNeRTJ10yM3We4m6KN0HVQ8Z3jbnbI\nTiS0EZCbCYIRQc1i+4RyR/vd1fBEvKjrjvHWNarEYR09ZsCDsh8VM61gT+tL\nffyJbxxh80QV6Osx7d9JHo47SsdTT2yOJfTuGFrQCkwsVJOYsTIkoX3F7Xlr\nBbHux6/HGl8N1NjLizQRK8KSAhoqqO8pQ3q151J4gRQTfcNMipR5afadnEu5\nwWQMSmuQGUNTYlU5uiGVALpbiWct2roarC9aIelAeTMJh2RVrGk96SrdKKgY\nKB1W2Wd2IdTgyo0aKU40QY/7LKj58FVgmzfxZQ578Nr4HEd+S13+Tph8fLqv\nwgLOzu43P8nz57H1NMFZsIFZtY4moWLPRe75/RqDDYLFOxutncKH8dL3P33M\nS5Lo\r\n=L21W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBhXQkQ+FAbqrJeKqQrLaFnopMTDp3FwIGcbKfc6+eajAiEAh2ithOHsIblcW/BsWL+pGMEURYUnkqtycdJ7s2UCqcs="}]},"maintainers":[{"name":"averyvn","email":"avery.vnguyen@gmail.com"}],"_npmUser":{"name":"averyvn","email":"avery.vnguyen@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1591046903179_0.6061188585522606"},"_hasShrinkwrap":false},"1.0.1":{"name":"@averyvn/lotide","version":"1.0.1","description":"A clone of the Lodash Library for education purposes","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Avery-Nguyen/lotide.git"},"author":{"name":"Avery Nguyen"},"license":"ISC","bugs":{"url":"https://github.com/Avery-Nguyen/lotide/issues"},"homepage":"https://github.com/Avery-Nguyen/lotide#readme","gitHead":"5403eeb7d2a03ae5626b21e4561f9a8dae112b55","_id":"@averyvn/lotide@1.0.1","_nodeVersion":"8.9.4","_npmVersion":"6.14.5","dist":{"integrity":"sha512-3s/NGSDxum+rJul7cdKmEQkBXov4r67730RqVT3VhsrPutXxnD2BgZi3pBXWxlaCwvYKn24YLKviGDQD9/mFHw==","shasum":"04be2cd12ccae3982199f83ebfa08411b24adc43","tarball":"https://registry.npmjs.org/@averyvn/lotide/-/lotide-1.0.1.tgz","fileCount":26,"unpackedSize":15063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1YcPCRA9TVsSAnZWagAAs1IP/jTugKvvI4fJUCOJb47J\nI92kC9b/BZlxhzprQY3BtoaeiNPSfXt13A4MA/AnNoDepOLxX9TySXXlyKLs\naic9ZBvwUERUynF90opBajjcJNEhB62MtG20eP8YW59wCb6VBJJNgQ93WYO2\nNg8GjBRgrog2GrKsSCcqyE8VXwIJ3ufWGPrQ+s6XTxT4QpYjsXanjchTl7Zc\nxBk67S5iBuKkRdfPY7JeX2aippEykFDlEvIxDtUj/nOXOLBXZ1parMju7KAh\nVyDOcx0EhN80tAZew66yvUOgWC2VAlNB5wTuh4jowZqnIMdtH2pT9ZomHPpN\nTwVzXE3EXeOAYdkZmvSdYysR4kmLCRg0l10yM8syKwP2XCZtrLPAipEN7IxT\nHIoZi1RAx9XwBFFnxGFbktkAVb5+cZ8wRVzCuVHueon80dxjpqgrtCZJzJpt\nH5lDM52KVSqmRimsNpZerNBeQVvkGbg7xkhQWM04HujoRjZh4FRe25gze6r7\no7iY/eoyLCm9xu5YwvyoJjZQI3sRWlvZ51jYBIx1SMFCh7aaQFp2WBNpaEQ4\nfGCSIUCvC9C6FVpsZ5hXAHGJYEQgNT38uDsoxfezQ+pSSwvHL4pRulDoF7t+\nVHML6Nf+uvDz+MvXrwtgBGXNUcOaBSewZfZDo4TBOnoPc3vK3IAmlQPUzPV6\n9LM9\r\n=4/z5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEUE4KjfjiBN52j/8kpl1qtqimcKSPJ2JQeo7qBbCf03AiEAncghSOypkkdyrYKuj+oIq2dZWpL2FaQmU1qZZfkaO6M="}]},"maintainers":[{"name":"averyvn","email":"avery.vnguyen@gmail.com"}],"_npmUser":{"name":"averyvn","email":"avery.vnguyen@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1591052046835_0.9300938460441903"},"_hasShrinkwrap":false},"1.0.2":{"name":"@averyvn/lotide","version":"1.0.2","description":"A clone of the Lodash Library for education purposes","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Avery-Nguyen/lotide.git"},"author":{"name":"Avery Nguyen"},"license":"ISC","bugs":{"url":"https://github.com/Avery-Nguyen/lotide/issues"},"homepage":"https://github.com/Avery-Nguyen/lotide#readme","gitHead":"385ebae6907a59c3f6507c08890ad8eeceaff42c","_id":"@averyvn/lotide@1.0.2","_nodeVersion":"8.9.4","_npmVersion":"6.14.5","dist":{"integrity":"sha512-K62xIlqzsWIkHmPzS8pSjohue0w5HIoJhn7/gZrwzAjp0DmRHZgSZ0c8Gf2CZGOMh0T68iuND9mSgeCSrhu95g==","shasum":"531a59572954863bd54aa6027c015662c46fd0fc","tarball":"https://registry.npmjs.org/@averyvn/lotide/-/lotide-1.0.2.tgz","fileCount":26,"unpackedSize":15033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1aX/CRA9TVsSAnZWagAAMxAP/2BvFOeGOjXbEYAliem7\nfU9hFzV880jSYxSB4pV67zLa96zItMNvsn7SZHB+MBqVdxga63k898QbukmX\nYPEngiB+/PcPybO8ifXHuON7dJFeN9aUbcrswjXpZgMO2bwcAjWbUKJ7IajK\nkl1dhzfccU+QLk+6eUEqshllAHNUZJBnUlVE8mq7AzSbsXFLxBBHJUnXFkHS\nhILgHusnViRS02vpdezG49raUX5zP9tbT7GAii333erdgY7A+sjJvYTHjg84\nsPShPbenWT+/ooaqDCmIChiYVCoLoMEC6u7HusxetnllrThDe/KAospwZm9l\nkVZP82qeKM1nhIGix4/BX+EH8cechYEKuuRcztbMP8wKoobUnyu/4lM4zakC\n+ykWNybLyd3pxo9rcz8Yqx0iG0rMRDMz7ZN9k37B93JqFBlw/U7tbQfjzC8D\nz6xygL04ru0J41WuILhf0h6E8czUUFVNOfQ19j/a/95WqzMZXQWIv2nWzwmZ\noUqfv4T9mqHdKsnabALq1z05hrx4zndn11jV3XpMA0tGdDhDQu1jK5AgOylk\nbzPUhQ8CTdnc5DKJ0Vcc9Yz1qQQ/DTjOoGYtWicF0uFB3rVBYeTYrhXO/+mE\nSVaeVEzLDT9t2GEAuL/lI2IzavlYiZ9By/xcLkV6zinkDcED9EVi0I3Rd1Od\n5eNc\r\n=coTq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEOcMmEedyeJGBoW4Y8oJT+/TEeAPH2YDaHDfbVktJlAiEApW4je5W44dW8kZHZoXjfG2VIv4oFtnZZo1zlDwd24LE="}]},"maintainers":[{"name":"averyvn","email":"avery.vnguyen@gmail.com"}],"_npmUser":{"name":"averyvn","email":"avery.vnguyen@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1591059966098_0.04440823842279529"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-01T21:28:23.135Z","1.0.0":"2020-06-01T21:28:23.343Z","modified":"2022-04-04T16:46:42.613Z","1.0.1":"2020-06-01T22:54:06.950Z","1.0.2":"2020-06-02T01:06:06.262Z"},"maintainers":[{"name":"averyvn","email":"avery.vnguyen@gmail.com"}],"description":"A clone of the Lodash Library for education purposes","homepage":"https://github.com/Avery-Nguyen/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Avery-Nguyen/lotide.git"},"author":{"name":"Avery Nguyen"},"bugs":{"url":"https://github.com/Avery-Nguyen/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 @averyvn/lotide`\n\n**Require it:**\n\n`const _ = require('@averyvn/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* `countLetters(string)`: takes in a string and returns the number of times each letter in that string appears.\n* `countOnly(array, object)`: given an array and an object. It will return an object containing counts of everything that the input object listed.\n* `eqArray(arr1, arr2)`: takes in two arrays, returns true if they are the same. False otherwise.\n* `eqObject(obj1, obj2)`: takes in two objects, returns true if they are the same. False otherwise.\n* `findKey(object, function)`: takes in an object and a function. Return the first key for which the callback returns a truthy value. If no key is found, then it should return undefined.\n* `findKeyByValue(object, string)`: Takes in an object and a value. Returns the first key which contains the given value. If no key with that given value is found, then returns undefined.\n* `flatten(array)`: Takes in a nested array and returns a new array single-level array. (does not handle multi-level arrays)\n* `head(array)`: takes in an array, returns the \"head\" of an array.\n* `letterPositions(string)`: takes in a string  and return all the indices (zero-based positions) in the string where each character is found.\n* `map(array, function)`: takes in an array and a function. Returns new array based off of the results of the function.\n* `middle(array)`: takes an array and returns the middle(s) elements(s).\n* `tail(array)`: takes in an array, returns the \"tail\" of an array.\n* `takeUntil(array, function)`: Takes in an array and function. Return a new array starting from the begining of the original array until function returns truthy.\n* `Without(arr1, arr2)`: takes one array and other array of elements to remove. Returns new array.\n\n","readmeFilename":"README.md"}