{"_id":"@doublemaxwell/lotide","_rev":"2-cd278ddf69b4c5280b080995ab7a82d1","name":"@doublemaxwell/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@doublemaxwell/lotide","version":"1.0.0","description":"A little clone of Lodash made for learning purposes!","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/maxwellsquared/lotide.git"},"author":{"name":"Max K"},"license":"ISC","bugs":{"url":"https://github.com/maxwellsquared/lotide/issues"},"homepage":"https://github.com/maxwellsquared/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"a6bf91fded55081bfa48cf21eff2696f337d9540","_id":"@doublemaxwell/lotide@1.0.0","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-NcJo2DazxJhDB7XJDDi68O8XwYsvLLvanPB3s99ROsGtP4guJhh5n7wJdm9GcHyYyCBt+gu+kJyjWx3NP1SurA==","shasum":"4fc9034d28c39996cab30bf7118e7fec7845a0ec","tarball":"https://registry.npmjs.org/@doublemaxwell/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":15556,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2QZMgFrc3H0yi2M914/dtivXvE3TPxHu6YzfW+uMI9AiEAulYHrTMesqHndKmJHsbEsUelxn92vl6+nspZ+SDZk4g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw9v0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSNQ/8C4y3W0hyutee6Ffo7SRNIPrqU89OGtAJIqMIw9/VWNwsQucs\r\n8mIHdexdCZqNObOAyvx5Yk9jIltQmAjVmqg/CbksRP8lvybo5aeGH/14rMQt\r\nH7hHjNwWR4v3ZVceIc2J+tVbd95XDu3nctIl8+1Qmvyqbp/eqZHRnb9Mne4S\r\nwiWlyclKgSS6eaIOTU8UY16X4EdthK9srsgvPZhjuOu//TcvSiBxPZcd6ndN\r\nYgGBMHDm/jXwdqvghmGaAE28UYtrDD/mqNt696Z2zd0Ips2eZtUBLrGO6IvK\r\nHF9A6zGTgDUdSHRcyFv0sCR3m5B7vvN4Xg88wM9l0xuECbcbFEwrP/l1sUe7\r\nwsfAWBltXYs3/UjgQPxsciL7Ao5yubitfhIRCVHFsMYhup+6zXtnKb8KKhbx\r\n/Rivygqy0sWfk1pSoIXXU2ehoM5iz9lN81qCPW9a1jreEjoGe5oQeoyNeQ0L\r\njJEwVA8Lqm981LsXqN6tfjfkp28ypACWjvKivX5Ve6D32zTkyCOdRDXpqS8C\r\nbgHY+A7bDw+zO9bRCjoGGZC0pihvlmQmGQYh3pugo7utu98q1yl0cL34Dwvi\r\nWzb67C5yAD+HwKIldwm99JENYpMExS6bs4UQQwEs10MGTY3xzUQ3yUpcy3Jj\r\nUcHUsstBnbxIgsMkUQ4mujL3apFiHhuUxDk=\r\n=yaFJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"doublemaxwell","email":"maxkuhn@gmail.com"},"maintainers":[{"name":"doublemaxwell","email":"maxkuhn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1657002996550_0.8656761333741687"},"_hasShrinkwrap":false},"1.0.1":{"name":"@doublemaxwell/lotide","version":"1.0.1","description":"A little clone of Lodash made for learning purposes!","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/maxwellsquared/lotide.git"},"author":{"name":"Max K"},"license":"ISC","bugs":{"url":"https://github.com/maxwellsquared/lotide/issues"},"homepage":"https://github.com/maxwellsquared/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"fc1b683319f03a661349f5c0d87912cc01dc386e","_id":"@doublemaxwell/lotide@1.0.1","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-V5o7nHixnmPRm0yb0MrIydaW/kKBxpJtAd06np5J6V3LugmCgYxySurGvlIKeYfYEdD4lrrhKH5yLC08SOQ33A==","shasum":"9a691c5544dcfb981435aeb741e9417f16df9287","tarball":"https://registry.npmjs.org/@doublemaxwell/lotide/-/lotide-1.0.1.tgz","fileCount":26,"unpackedSize":16787,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIClSlfZbi7vVx4zJxKGqqH9yuIXyVv8S5PYEIEXUmakUAiAypn3BgqPOBowfUqYjB/+8KxHBjHiF0z6WtCtMegtLlg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw+ESACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoB+g/7BYiDxwUtAwe17tIELxJSJheG/5Auw7huWMiR09EystRHbUKP\r\ntfBGrVILHSFvPZkwkswFJ/PeXJ35q3EEPob3O1lkE5uH7cHTfdMyYhqmU79V\r\nRtC37h6p5ot+1+ICs8ykXpWcJi0u79UD3G0FxsRRt5cy52zL0JFIWtlcS7px\r\noZRTQTdZRIdQ3/4lkAPEcVyBBiZjuTN1PkVJCVYHI+Egn1F6hnhTpEGvsiOq\r\nZrAryA6NXOoJijmBkKM8LkPdxmW6qHi1XnTm9fFZn4NKqNn3m4tFDFMgKhqy\r\n4KmpylKnNnevK5RPauJx4UxrJeNBlGuw+Q9gYmFEv347ObEl561/5BdP/2k9\r\ntHKHTFzMvqUmH5M7eFPmrjBuWbvKSEKY2FAKHPgfvRwAslEmNFJVXPLtzQmS\r\nWToIMuZK1okB7kyg/MrgSRPmibpHVxY4onxZwtvFccuxbRtN1tNL972+Utc8\r\no72J4YsXZWTwvig8i55iVLDzez2jKjX2Q1nvWPAjtj6+WtlVZDVNQaflPlCf\r\niW9rsF2N+PicaTgpdC7qSnbk1Al3zmnrxTEBKQZ6h0skPBKqp1woKfjZgt2m\r\nGItmVq8RVhIgF450FQibqbgDczi11/rPhuxJJU3XlWpw+hL8yAuAk4Wc+RYV\r\nLbuHwWvmIvLbWCfwceE0QYivurfeCqM5dl8=\r\n=cv2G\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"doublemaxwell","email":"maxkuhn@gmail.com"},"maintainers":[{"name":"doublemaxwell","email":"maxkuhn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1657004306658_0.6119154940145941"},"_hasShrinkwrap":false},"1.0.2":{"name":"@doublemaxwell/lotide","version":"1.0.2","description":"A little clone of Lodash made for learning purposes!","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/maxwellsquared/lotide.git"},"author":{"name":"Max K"},"license":"ISC","bugs":{"url":"https://github.com/maxwellsquared/lotide/issues"},"homepage":"https://github.com/maxwellsquared/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"dependencies":{"eslint":"^8.19.0"},"gitHead":"9912f698953472e27823c0eb18a94f00a0b52b30","_id":"@doublemaxwell/lotide@1.0.2","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-YP+qHFbrTR7f05UHdnpO4LqwmGRYqqbIsugcz70X3jpfbTp/Qq0zReQ3QjxE8K2Rydfx+Zo5DrTU8h1sOX37YA==","shasum":"2d44245ad3c6f4a881b782472d0ba26f412bf41b","tarball":"https://registry.npmjs.org/@doublemaxwell/lotide/-/lotide-1.0.2.tgz","fileCount":26,"unpackedSize":16820,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1eqkphn0SZKMcWyPv7iNPa2uO2fKtgb4JffhcgZiePQIhAMsuGj6xRzfgr9dSlyUAN8wwObZ/jwFJ/PK7Ga3uMPSr"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw+XmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLfhAAlCM/i8yBVmWO3/0d0X3B74j19060hy0L/vPBLpZ3yCGKu129\r\n9qLE/svV9+1byVvsyTJ51nq+N9V1eHTQi+3ZVxT3cg0TPdO20iGlmJmP0LmC\r\nzQ4UY8jaSg7DAxXAyRRJ8Hjldsgg5z2GQHcQnzk46569WiAOUDaqo9kAieMp\r\nH1kJCiGHgEYjRT7kjI1gXbVkGg25GvW839ftoT9A9UCCP6jV3Q2F0140wzeg\r\nzDVBL8nEAoVS7BBmRIkbMs0DspbEjkTPpebGQGRQ42EyArH0vz2ytUq8LMrB\r\nSH7Gvt01ML3NGw3PMfdURUnbcKvA4wbyVuMbEFEBGUbP2i+j+Mqis/LvbkHL\r\n2EKAVHf2ZDkWLz+iLidTR4P7gDYCzRQKIz7en6pOJBJZuGUlYPO04XF/46wE\r\n/fTntWWzcxipqEmuXxiq4tEa3n7kbIqjI5R6RouOq7UmmLbGywmNlm2DqUfc\r\nIv1wG66atZd1p3XuYQBVBfXc+Kh0Y6g3gphHg/Elap+hy3Rlw4PZExj2x2/l\r\nH58nA7NW+m3FwiWHYb6mXhtX6e+YLcQHdRsAS/Us3IkfaV/QxqJ+IyY1Hdza\r\nUV3jQhH7gvO1gUc4F3k+RyMkkWY7NJgyi6Aa5j0rEmOkbweFNuN8ls7S1A0z\r\nNac5BEFjRcm/MEvkMLB/RCKQJfWkLOwuxOI=\r\n=Q+to\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"doublemaxwell","email":"maxkuhn@gmail.com"},"maintainers":[{"name":"doublemaxwell","email":"maxkuhn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1657005542100_0.08590859729746714"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-05T06:36:36.482Z","1.0.0":"2022-07-05T06:36:36.718Z","modified":"2022-07-05T07:19:02.361Z","1.0.1":"2022-07-05T06:58:26.884Z","1.0.2":"2022-07-05T07:19:02.291Z"},"maintainers":[{"name":"doublemaxwell","email":"maxkuhn@gmail.com"}],"description":"A little clone of Lodash made for learning purposes!","homepage":"https://github.com/maxwellsquared/lotide#readme","repository":{"type":"git","url":"git+https://github.com/maxwellsquared/lotide.git"},"author":{"name":"Max K"},"bugs":{"url":"https://github.com/maxwellsquared/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 learning at Lighthouse Labs. \n\n## Usage\n\n**Install it:**\n\n`npm install @doublemaxwell/lotide`\n\n**Require it:**\n\n`const _ = require('@doublemaxwell/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(array)`: Get the headliner, the main event--the first item in an array!\n* `tail(array)`: Off with its head! Get back an array free from the pesky first entry.\n* `middle(array)`: Put in an array and get the object right in the middle (or, if it's even, the two objects in the middle). Just think Goldilocks.\n* `countLetters(string)`: Do you need to count the letters in a string? If so, rethink your life... but run this function first!\n* `countOnly(allItems, itemsToCount)`: Takes in an array of items as well as an array of items to count.\n* `eqArrays(someArray, anotherArray)`: Are two arrays identical? This handy function will soothe your curiosity.\n* `eqObjects(someObject, anotherObject)`: See above, but with objects.\n* `findKey(someObject, someFunction)`: Write a lil function to find a specific object key. How about `x => x.stars === 2`, which will find a two-star restaurant in a list of other restaurants?\n* `findKeyByValue(someObject, someKey)`: Does what it says on the tin.\n* `letterPositions(someString)`: Gives you the positions of letters in a string.\n* `map(someArray, someFunction)`: Lets you do something to every item in an array. Pass in a function and go wild.\n* `takeUntil(someArray, someFunction)`: Cuts off an array when a function returns TRUE. If only giving up other things was so easy.\n* `without(someArray, anotherArray)`: Sends back an array without the inconvenient bits.\n\n","readmeFilename":"README.md"}