{"_id":"@amor1006/lotide","_rev":"2-c4ae5e518c8eee27c0d7eb835063993f","name":"@amor1006/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@amor1006/lotide","version":"1.0.0","description":"Lotide","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Ruanruanx/Lotide.git"},"author":{"name":"zhaoran ,","email":"zxin7@uwo.ca"},"license":"ISC","bugs":{"url":"https://github.com/Ruanruanx/Lotide/issues"},"homepage":"https://github.com/Ruanruanx/Lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"50baf06f7e9f9a627c6237a11e977340dc076e0a","_id":"@amor1006/lotide@1.0.0","_nodeVersion":"18.2.0","_npmVersion":"8.9.0","dist":{"integrity":"sha512-qGZ36e+4d2V4GWxN5rX1FayPM5SgacLzRN/oBBpUSfme49pd0B9rIbpk6qFfCIpGt/nMRcL+Tbje0sTEdiGO8Q==","shasum":"1e34569a8b6a847b1d552b1c5e9056911021fe1e","tarball":"https://registry.npmjs.org/@amor1006/lotide/-/lotide-1.0.0.tgz","fileCount":33,"unpackedSize":25972,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAg0AlJlMq3glYfsf5BEO+jiSf+0vinEhZ8yUKZSdU5AIhAPPmCNHnlBiBtpY0mUc1pMqKVOBrmGAwVMMU1pSX5lVy"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6sbEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmquAQ/5ANmkF0Tv3YeeSR+CJGirUgXkP4QRETB02eAvVzw/yQ5HrNL1\r\n3/yxGA8i4cP5OHJYoiWuDUCquZgcISBRKcvXwBSEixT7aS5pW++XAyALtaA6\r\nHOxxDDW9rZdwL9j9LfWFidgjGrZAj0/J4he3nrPqt2JfpbNTb/SF6/WwWgH1\r\nPsYtGtr34h4oZXFze4zrobbbXgNu3Bq4xB8lwJAlq0fyDArwZD87GGxjIS0y\r\n96T8XOe56MHz4JFE9jy3IyqMAhN1TNyj6SbbAsLq2dcl8m4PGE/Qs2iK6+sO\r\nPeSiI/gOA05FnLzqhq2n/02/vu0BVcrDaCXZ9ZLf8nk7ipwOndxiQMZQVMTr\r\nkoOJDcDoDjfnJLQctgxpjWiaUib0ReOO7aJvbsWrFxSuKbH9270BZFJu32kc\r\nUT/LpIMnkKdYu3bFJzPAU+iRxlMNEEJNNGz2zKWjJyKNa48YtaaWRyWivrIw\r\n1OvjgXXMbaJVxrBmbMxBCzTPvoCBGskm+RgrSt6kFFcdCgxMG1RZ89j/jEge\r\nov/wD79ndtOvj1JZ+6wn52wKMoW0mfj+AQE1St/bFi1FKdvBwmTxaJOppeh+\r\ntjoKmgVRFX2Qq3lXdIMdmfYEoP3pMOyf6DgTdNLdvczbQY7ArGV0lsz680hf\r\nBy6/KNCe33rmU2Xq0QOMjHo83bD1CTgUeC4=\r\n=Kla4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"amor1006","email":"zxin7@uwo.ca"},"maintainers":[{"name":"amor1006","email":"zxin7@uwo.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1659553476220_0.8762950776918776"},"_hasShrinkwrap":false},"1.0.1":{"name":"@amor1006/lotide","version":"1.0.1","description":"Lotide","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Ruanruanx/Lotide.git"},"author":{"name":"zhaoran ,","email":"zxin7@uwo.ca"},"license":"ISC","bugs":{"url":"https://github.com/Ruanruanx/Lotide/issues"},"homepage":"https://github.com/Ruanruanx/Lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"cda3b4a7e5a8b179140de719e1165eec8fe3ca9b","_id":"@amor1006/lotide@1.0.1","_nodeVersion":"18.2.0","_npmVersion":"8.9.0","dist":{"integrity":"sha512-YX3fvkZ4l4mO8lnnzk19LADVZpgqyWWA4tF8K63ha2+azQrliFbZwcpAfJBmGA15ZLq9FIFogEVCIPFWQDwZfg==","shasum":"cd2d3057db0d8bb6aabc3991d96465c316c0ef32","tarball":"https://registry.npmjs.org/@amor1006/lotide/-/lotide-1.0.1.tgz","fileCount":40,"unpackedSize":23723,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDriLN9/bTjUeRo8bF9QXaa/Fo4s32/Kw+2wHU6EyrDeQIhANhiEZCjBiXZIiHjCxxPDo/oV5jmkWczr+Z2G8gDOqi1"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7YgSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBFxAAjPa/sNTVRssQxcXsKYKilqtByiH7cpL2WjLbO/4tT4cL0CDv\r\nwAwJmVG0zwKDLD8zBtMUy6SkbgcG0SkddRh0CV1imvmOuAUU7FldSHtl/qo2\r\nGvA3Q3erb24+x17TLl7oWKtD9jc/45gXOx1p/Y+PAFKHcsjzaTFcKXcd/P+6\r\nMacgpVPSDTpdjsPHpW0bxPdb9q0ZdbKqLJArmzkPki99JfpiBzFGa5V1ABWM\r\nEII9fqX+3DzXoojlChu1yL+02+91YoIXh8RX2iTAJw/qVhTxuVF+FgoMeQe6\r\nYGEP8CA6z60RT6enbDrrZ2zwm2cAq3n+i0ujxnwbhTmB2YwfBDOqfhXQ+Zkp\r\nHqnfJznDn1qhjvq7JGdpr8hp4GM2p4TXlNcymnHSk9pesiW4afYW3pSq21OX\r\nA/5LZREMDeR9ry+n94lBvnW4Ih4SvLChSpUY3eDA0ib4TCypTYMcLne1ahBO\r\nE1QQhyOm3N6NVdrb4m+gRdzdZz13sKqck3Z6kz1IsjUvkFkTU1sMRvy/8nOT\r\nEeBilvd2cdVxsg+AeVCWtbCCrJT1eQhoLmFjuXXwgBZA2K8nXPh/j3f46uNI\r\noTVIH0+RBV0xIrjelv5a0S7C1ryeu3HyxF5JzuqPH7K+AOzXSkQw4Tsmw+cR\r\ntCtz1rD8wx8zZDmRffqXZOkTxGI5G+nC6oU=\r\n=Aze5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"amor1006","email":"zxin7@uwo.ca"},"maintainers":[{"name":"amor1006","email":"zxin7@uwo.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1659734033800_0.15932561993606975"},"_hasShrinkwrap":false},"1.0.2":{"name":"@amor1006/lotide","version":"1.0.2","description":"Lotide","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Ruanruanx/Lotide.git"},"author":{"name":"zhaoran ,","email":"zxin7@uwo.ca"},"license":"ISC","bugs":{"url":"https://github.com/Ruanruanx/Lotide/issues"},"homepage":"https://github.com/Ruanruanx/Lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"efe7fc9a7ebf6fcbfb2cb73f5eec7c7aea054c12","_id":"@amor1006/lotide@1.0.2","_nodeVersion":"18.2.0","_npmVersion":"8.9.0","dist":{"integrity":"sha512-WHqwp8H9t6FzrRNJue36qKUakpBK3zQoYDe+zDxfOGJMukkxGKJyYfIOqs5Pf4XrvKcWjBkNxzRPd3NgS3e8XA==","shasum":"f8ac68379218330459c468b872ed8a461d1cccf1","tarball":"https://registry.npmjs.org/@amor1006/lotide/-/lotide-1.0.2.tgz","fileCount":38,"unpackedSize":22090,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKa6ViXWISzIycoAKl8wrE9AMzrhj9iRxNSZnTDiO+yAiBEQZt1+q6i/qNtW8B2KVw+FopseyypwWH4hXI+Ld4mlg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8BwqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUmQ//fPdmvJZaalQBqa5evdg7tQh1oVbpIJLT3UqPqpHnATELMRZV\r\nmasd7uKrdx++ZSC8dMO1bacso63yhtRByGUqQO6/myKp/TzX2yeFUaczGQBF\r\nWvK55fQzaMT2g8If4YS36b+gNtvchrngx/FbWSoiWGXBinohMzbcvZsFfXPz\r\nck0ZOCq2/ryQ4VWDD3HSRYGGOX3HInRu4DJejDdX7+5cRqVihnklK1fUbewo\r\nYYioE7VHx9IKT5jVcpyW5M4jYuthUnsl9DHBZhL13ini19Rr66efwG55PhFK\r\nhug2eo9BsTkO7VKpTSaVviMXndDJpQqmrsm8MAPPqyECESSoTkrcIlK/tFFX\r\nl/ea7MKiu/wcPVnIXcocinIBKOfy9KhN/6rR9lfEHCJyn5UUomv6irYfTcoU\r\nKlVI3hFc3avKEabP7yMQmJiSWU1VXuMa4TVlx3sCNFGfac/MlHUHaYFJBEYX\r\nb0Fca9iM/hQU7cq0C1pLGfBbPGgiX0AFT8tX2WlJaoGUKlj2+JOBs0IxmqcH\r\naM8d8vtoJ1tWh9M8dPY3+3TcS+RWE+LEYrFGLqvt0YL2d3aMDQjxpQXxQUgZ\r\njACc2oAGMGrgsEmf25rhjHAk53p8bY2CJYReTADwopqd4X87QbzJIAB/yohy\r\nvDBtKQSRLFksUzaD4AudcBNjHW4n3BAMwXE=\r\n=0Q0/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"amor1006","email":"zxin7@uwo.ca"},"maintainers":[{"name":"amor1006","email":"zxin7@uwo.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1659903018087_0.9069329301776325"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-03T19:04:36.120Z","1.0.0":"2022-08-03T19:04:36.401Z","modified":"2022-08-07T20:10:18.347Z","1.0.1":"2022-08-05T21:13:53.978Z","1.0.2":"2022-08-07T20:10:18.256Z"},"maintainers":[{"name":"amor1006","email":"zxin7@uwo.ca"}],"description":"Lotide","homepage":"https://github.com/Ruanruanx/Lotide#readme","repository":{"type":"git","url":"git+https://github.com/Ruanruanx/Lotide.git"},"author":{"name":"zhaoran ,","email":"zxin7@uwo.ca"},"bugs":{"url":"https://github.com/Ruanruanx/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 @amor1006/lotide`\n\n**Require it:**\n\n`const _ = require('@amor1006/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* `middle([array])`: return the middle number in an array\n* `head([array])`: return the first eleemnt in an array\n* `tail([array])`: return the last eleemnt in an array\n* `assertArraysEqual([arr1],[arr2])`: compare if two arrays are equal\n* `assertEqual(str1,str2)`: compare if two strings are equal\n* `assertObjectsEqual(obj1,obj2)`: compare if two objects are equal\n* `countOnly(str)`: It will return an object containing counts of everything that the input object listed.\n* `map(arr, callbackFn)`: return a new array based on the results of the callback function. \n* `takeUntil(arr, callbackFn)`: return a \"slice of the array with elements taken from the beginning.\" It should keep going until the callback/predicate returns a truthy value.\n* `findKey(obj, callbackFn)`:  return the first key for which the callback returns a truthy value. If no key is found, then it should return undefined. \n* `countLetters(str)`: return a count of each of the letters in that sentence. \n* `letterPositions(str)`:  return all the indices (zero-based positions) in the string where each character is found.\n* `findKeyByValue(obj, value)`:  It should scan the object and return the first key which contains the given value. \n* `eqObjects(obj1, obj2)`: take in two objects and returns true or false, based on a perfect match.\n* `without(arr, itemsToRemove) `: returns a new array without the itemsToRemove\n* `flatten(arr)`: returns a new array takes out every element wrapped inside an array","readmeFilename":"README.md"}