{"_id":"@bocajbee/lotide","_rev":"1-6e2650f62b342d850fe80174befe5c3f","name":"@bocajbee/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bocajbee/lotide","version":"1.0.0","description":"lotide lighthouse labs exercise","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/jallen2034/lotide.git"},"author":{"name":"bocajbee"},"license":"ISC","bugs":{"url":"https://github.com/jallen2034/lotide/issues"},"homepage":"https://github.com/jallen2034/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.1"},"gitHead":"bcd22f867603f13b731f45b0d8e4d329757b3302","_id":"@bocajbee/lotide@1.0.0","_nodeVersion":"10.23.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-peebpmL0DVKaaLRZZ2d0dZYppmCtPhecSavz/wWu/HRWsBHCfxomRucWTFt0ggh7qwtoHILQ5NB5S4nwrFXQ0Q==","shasum":"f5e3e3ebe974b6150dadd424c261d792093f8340","tarball":"https://registry.npmjs.org/@bocajbee/lotide/-/lotide-1.0.0.tgz","fileCount":31,"unpackedSize":29200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/SGMCRA9TVsSAnZWagAA4UEQAJQ5M20fmj5bbJ7fbHPK\nP71hRhW4Z6ucouAmBngi7YCNPQEPvx9ouPVYVDWFVd8koosDAQaMAW4FXi8x\nLYj7ThvaPurcj6LqtPxCPRT61UdnWOnuXqmjlPeO6FtvC5QWVnMTRDEnMQR8\nEtTZtQrGZqcW1aqug/bMKXQ00O3+JR2fu+FuI5Y0Ty78MVa8EAYs4ErfINFa\nXq+qMivr/bIKbPFo0udk9mWqFu5a8NylbpJdFLlHSYTBSaEYQ7XSz56mSpwX\nrH71LgXRrxzWzQ21Y42dmw1OFq8xZqi3Mn5YctjuL92HHMEd4hoHFiIapw1I\nWRlAG+86n0DxfkLevM7Bihc/7rwszryOR8DF9x3IsT51oqtA7oyd0hGmpWjd\nRclEjwu6Dt87zLV9jz67+d04UoCtF0HCg/avyKi8jUnARZuegRPsJ5p79Jy/\n/oN+qXRddZvx+CMRoChI1A/mmnN/E4oveen0QHoA9WuEbCKSeYX0e1WSsndx\nALfy+Sb9NvtnlCKX+EzNayBj5n4p26CP88EXw8bt0BemylB0ENaWigeD5eos\nWsvqB6tbjt1q6xdoxi5YKvPJO5GWcftNJ6iBG8i9ZrnMp+oGuZkQtcJBaKJ2\nzSv6TMzQGEVJMMHX98cAHs+r8aMZgwiQOQzEvS9DPjtUfLVYtsIs6C7pnnMG\nl1OL\r\n=vpEx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBnEuRqe3zxgsonRV1Hk+qSwHzI53javgZ7BATLomjOAIhAL4bfZ0jRL0PKOmaml1phMQU6oHSltt5sSEA3PmYvNar"}]},"_npmUser":{"name":"bocajbee","email":"jallen2033@gmail.com"},"maintainers":[{"name":"bocajbee","email":"jallen2033@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1610424715648_0.3577500717130979"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-12T04:11:55.594Z","1.0.0":"2021-01-12T04:11:55.787Z","modified":"2022-04-04T19:55:34.070Z"},"maintainers":[{"name":"bocajbee","email":"jallen2033@gmail.com"}],"description":"lotide lighthouse labs exercise","homepage":"https://github.com/jallen2034/lotide#readme","repository":{"type":"git","url":"git+https://github.com/jallen2034/lotide.git"},"author":{"name":"bocajbee"},"bugs":{"url":"https://github.com/jallen2034/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 @bocajbee/lotide`\n\n**Require it:**\n\n`const _ = require('@bocajbee/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(arr1, arr2): function to see if both arrays fed into it match\n* eqArrays(arr1, arr2): loops through 2 arrays at once and checks if they match\n* countLetters(string): function to keep count of how many times a letter in a string appears\n* assertObjectsEqua(actual, expected): function to see if both objects fed into it have identical keys with identical values.\n* countOnly(allItems, itemsToCount): function that takes in an array of names as its first argument, and an object to log how many times those names appear in said array\n* head(arr): returns the first index of any array you pass in\n* tail(arr): returns all indexes after index 0 of an array you pass in\n* more functions ot be refactored and added later. Coming soon...","readmeFilename":"README.md"}