{"_id":"@dksladjsla/lotide","_rev":"3-dfd0c8bd2a3b0e4a70ce689a875ebc9f","name":"@dksladjsla/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@dksladjsla/lotide","version":"1.0.0","description":"A collection of javascript functions for easier/faster implementation","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/WanjinYoo/lotide.git"},"keywords":["Javascript"],"author":{"name":"Wanjin_Yoo"},"license":"ISC","bugs":{"url":"https://github.com/WanjinYoo/lotide/issues"},"homepage":"https://github.com/WanjinYoo/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.1"},"gitHead":"d546d05cec910fc0ee9246293101002ff4906718","_id":"@dksladjsla/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-DASHTWKVinH6YgI+8FUl6RpKJQekyXw1BCRfJGEN2PhDsyNg0rlguWyi4l5UFASCHW2shErU9Dt2+MIslV1JkQ==","shasum":"caff108507074fa7f5f62378dda80cbb9b50dd25","tarball":"https://registry.npmjs.org/@dksladjsla/lotide/-/lotide-1.0.0.tgz","fileCount":27,"unpackedSize":26390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoM4jCRA9TVsSAnZWagAAHWgP/R3WXhBERkMv14AApBis\nqPgezV1ugO416Dh0zYHNXkZajfoF/kIqe2a5Pgg5aw7yU79L0oPM0bJ2YfW1\nUpnleSVpLwz+LTahCYIh8C7WqPUyO1gCAf7BfCEyy8p0XVTDB/j5ZnoFGxfb\nHZNRvRZY8y1XTvMC6wP8nd5LJ5pUJkLGyD6bp0l1x/eJPhSIfH1ZhAv6MrrQ\nJjGpQCMyiBq1SDc/TjkQe556tBC9hMHqEHJqgbX6S94icRrJ4byWTjquxNkg\nm/Dg6mX8WuiQKXBOmFnVZz1V+VznSw6TWLqDKM8/LWInubMOam0i6jKtpAIU\np5hkWMW4+e1WzPeQBGSIL47aN2svWkHnFVPeBnM/XsfM2RO+iUkT9VNta9ub\nHvOy1f3CV7jYzgAdsyKSxwKm+bRu6lDHIo45+JIvzvi2/XhoBxswt03tAXx5\nph5HVHyruZOXT+YS0U5VOXQnde99dEHwNZVvYQ5nJE9+8kJWcgOe/caY0wxX\nHuhPYB80kHJ5af1XG9oSBSHJWdJyP96uamF6z8WIV/EKxspirVh9Qr2E9Q1+\noxuxA6Pz3USaBx3fLULY3MpdCwHl61TdjfNjCGyECg1envbzWoMQnx3mLHRB\nDDuE4KaoCbvtKPLI5VjCrpy8sY9Z5utf5xkSUM0oz+QEpJtc7x85jlZe07EL\nmDax\r\n=cMl7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFPwjtfpsLHvy6ZhMQjTty7le285yr7KOz9fVei2w+XjAiBFnJq2pGWst8aTnrwZBNXFDp0nDX0gCCy0Hjxlz3803Q=="}]},"maintainers":[{"name":"dksladjsla","email":"dksladjsla@gmail.com"}],"_npmUser":{"name":"dksladjsla","email":"dksladjsla@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1604374050789_0.16598002464506179"},"_hasShrinkwrap":false},"1.0.1":{"name":"@dksladjsla/lotide","version":"1.0.1","description":"A collection of javascript functions for easier/faster implementation","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/WanjinYoo/lotide.git"},"keywords":["Javascript"],"author":{"name":"Wanjin_Yoo"},"license":"ISC","bugs":{"url":"https://github.com/WanjinYoo/lotide/issues"},"homepage":"https://github.com/WanjinYoo/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.1"},"gitHead":"0ea24d1ff4a75f352d11e6a4dce0356ee4e936be","_id":"@dksladjsla/lotide@1.0.1","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-u4Fris/sKHDLuNpn84ERwo5IBuoETxurgDfvGKbDNwTcfOqqNbnzwMMM2fuehMleGx+/2Szn+zMVEBFdPsxNVA==","shasum":"95e20acb57061fdc13585f46c2feec7ae2e13835","tarball":"https://registry.npmjs.org/@dksladjsla/lotide/-/lotide-1.0.1.tgz","fileCount":27,"unpackedSize":22523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoNqiCRA9TVsSAnZWagAANrkP/2qi0D0tzcJ+jWeNP0m7\nQslp0GF8WEbwv1cgKuvz9Mor2ThFkZGOJ5fkjMeAf1QfO45ZZr/+dQxdN6HX\noi1+eYnBK+hyZS4jiv1e7PEs/poCCvKU0DD6jE+0ItcX3qrCyg/e+Fj0wJBU\nohQAcaBcW9akYRLRbBAEuY2vhJXxjZC8n2CxkvukiHhzuj7m1fuoQ4dkjYPL\njA8hmKOVtZ7RiuFjEjlO8CBlqD7fmr7GykDA9wgOl6uTdYMfinMLNnBi2jlG\nD4Y6AmTMEneDgXw3r8/t8WQgLh2/4xA/ZYaRU23WjhIhrX+HBS8GW5SDmm4+\nvpPl+AsJC4dfYjg/rbKMqLWgM/w+sFtXv95eRw9SELuN92i6FfSqiC4HxwIA\nZPmwYq9a1Vtw26HgAyf+eoFduhrVYe8X7L68Fpk89h1ZpMdbK3tXbTCiwADk\nNyYtNGXYXliDvYbKqUUSVU0j7IoL762tZeosH+i/d//Q6zFiQlHNacCgwpSr\nR/9XgNhY6aNZoxGoYywAycDalUlXC5fknvZepFs6H83uOzmnQaHvGAT48XoS\nnAaN3+1yF46/E3jTq4CBqGk1vqVN+yiEyXRx9PE0Dux0sm5juuHxyOKYPxM7\nbLJIynveAzf1DXFPxQCwtJUFUzJCJNo/T0LKMarXrIte8lFR3vXHHj/WovHW\n6Bdd\r\n=wAcU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxdkEkrSFjm2qji6XrS8QDMjhJ5KFQ1867OFo/DENSwQIhALcTBHt6S+xRBSVP7THRMn8e3zOrXuUjU14+B/BpuHsg"}]},"maintainers":[{"name":"dksladjsla","email":"dksladjsla@gmail.com"}],"_npmUser":{"name":"dksladjsla","email":"dksladjsla@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1604377250294_0.6920303338218654"},"_hasShrinkwrap":false},"1.0.2":{"name":"@dksladjsla/lotide","version":"1.0.2","description":"A collection of javascript functions for easier/faster implementation","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/WanjinYoo/lotide.git"},"keywords":["Javascript"],"author":{"name":"Wanjin_Yoo"},"license":"ISC","bugs":{"url":"https://github.com/WanjinYoo/lotide/issues"},"homepage":"https://github.com/WanjinYoo/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.1"},"gitHead":"b1eb138dc723ce0e4be12966f066e4f1d4572801","_id":"@dksladjsla/lotide@1.0.2","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-bLWlGt8trNJz70Rtg+lNhKRb7NNGj77nBagSWxJzIkBy7yLQJGoDP6ucRzLD2G+lmAWyAEak3c1Xib+E5t7MgA==","shasum":"84a606f0bcda87428c7f5466552bcfa499874057","tarball":"https://registry.npmjs.org/@dksladjsla/lotide/-/lotide-1.0.2.tgz","fileCount":27,"unpackedSize":22343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoOedCRA9TVsSAnZWagAA9ewQAJslao75SiWPPMe192uQ\nCFnr1keyV1gt5OJWqLgG2OBFliK0/z+VwCGuCreep0R9DJahoLn3ylzht+cL\nT3zF8z2lI7oa68cQBPMyCrW4yDBfslNO0w73ytBgkWZKFliQAp9oev77YzWr\n8CvIHqs2TU7mcwbq/Umb38bfNSIX5vRy9xYYNtWHWiTpjde3N+Gvha0JdUtv\n9qpc1ffkhqEoGro8uMPTjCl8wPEI6yZnstevp88nsJ1zr7O+HRd0KvGIExTs\nb6zt1iCIJZW73ZICZPkFVkkk4i5I7lfuMoYDuJVa4RJRiOjajbGruQn6E7eS\nDd5S2G0MifK9EVA9tyxgbiUAi/37rQbI8KRIdHAgKl+nrTKj+o3UEVicwDVt\nGpLPXIvM+td5sQVjTlHkk5FpETcKtaZIqpGtqt58KTadXPNPI1nDPis3tuTh\nTc9pCQav1iqR7KAwMBHJytdWekA7tEXvajPBIK5vmyGQ/xBBKFyzp/euDgQB\nEDX/vFUuXhBWLAkweS9TY4jPvh5FHe3am/6cy5fI3/haxMI27C2traDXhZyV\n2YjW3t50acHQaPKp0NvhN3DJf+N7hlUsl5acX0KxE9a6ucE8VQ41XS/hNR1l\nh9FPk1Pz41ajDkdGlxlztTEJGAiMSYRUh2ycz2Mcg3nEsVmc6KFM9yGnvT+C\nvrm+\r\n=wsvk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPHjrXWv2aLypGiA4V5zjGUXMk3szbygYHqLviQ4XeYgIge7YOchJquXajbkqlFV7o/2QTHmK6YsGo6AVG+qkdae0="}]},"maintainers":[{"name":"dksladjsla","email":"dksladjsla@gmail.com"}],"_npmUser":{"name":"dksladjsla","email":"dksladjsla@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1604380572412_0.5268604696174568"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-03T03:27:30.739Z","1.0.0":"2020-11-03T03:27:30.951Z","modified":"2022-04-05T04:51:24.137Z","1.0.1":"2020-11-03T04:20:50.459Z","1.0.2":"2020-11-03T05:16:12.806Z"},"maintainers":[{"name":"dksladjsla","email":"dksladjsla@gmail.com"}],"description":"A collection of javascript functions for easier/faster implementation","homepage":"https://github.com/WanjinYoo/lotide#readme","keywords":["Javascript"],"repository":{"type":"git","url":"git+https://github.com/WanjinYoo/lotide.git"},"author":{"name":"Wanjin_Yoo"},"bugs":{"url":"https://github.com/WanjinYoo/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 @dksladjsla/lotide`\n\n**Require it:**\n\n`const _ = require('@dksladjsla/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* `assertArraysEqual`: this function takes two arrays as input and prints assertion passed if two arrays are the same and assertion failed if not.\n* `assertEqual`: this function takes two arguments that are primitive type and pritns assertion passed if two arguments are the same and assertion failed if not.\n* `assertObjectsEqual`: this function takes two objects as input and prints assertion passed if two objects are the same and assertion failed if not.\n* `countLetter`: this function takes a string and returns the object that contains each letters as key and the he number of key occurrences as value.\n* `countOnly`: this function counts the number of the items that are passed by user and return the object that contains item as key and count as value.\n* `eqArrays`: this function returns true if two arrays are the same and false if not.\n* `eqObjects`: this function returns true if two objects are the smae and false if not.\n* `findKey`: this function takes an object and a function that takes an object. this function returns a key when the arugment function returns true with the object.\n* `flatten`: this function takes an array and unnest the array if nested.\n* `head`: this function takes an array and returns the first element in the array.\n* `index`: this exports three functions(head,tail,middle) simultaneously.\n* `letterPositions`: this function takes a string and returns letters with positions in an object type.\n* `map`: this function takes an array and function to map the array. It returns a mapped array.\n* `middle`: this function takes an array and returns the element in the middle index.\n* `tail`: this function takes an array and excludes the first element.\n* `takeUntil`: this function takes and array and a function and returns the array where its elements are deleted when the callback function returns false.\n* `without`: this function takes two arrays and return a new array that includes the elements from both first and the second arrays, but any repetitive elements are deleted.","readmeFilename":"Readme.md"}