{"_id":"@brotherludi/lotide","_rev":"1-9c6ea15a42b6747abcdd558bc52ff208","name":"@brotherludi/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@brotherludi/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/brotherludi/lotide.git"},"author":{"name":"Di Lu"},"license":"ISC","bugs":{"url":"https://github.com/brotherludi/lotide/issues"},"homepage":"https://github.com/brotherludi/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"cf60a408b60d42fc520df4b188a69795132f95d7","_id":"@brotherludi/lotide@1.0.0","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-QgMiVSZh6lUHgpQtVs+X0LuNxZCgWX3tzJgX3cv9XySPPXJT4Pq1hT/BVrb6nPGfWe5Oay6Ghur5Gs1DJkNPkg==","shasum":"d211fca428e500cb81596d9bf448156a512d936b","tarball":"https://registry.npmjs.org/@brotherludi/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":21772,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUn/Cdhb1rZeV1FgBvswBIXW9BUTC+MFdDFdcFUW8LGQIhAKic4IOF/PVJ2GzCegCUNDZ+zHfftg1dvhZU5gmEl2YM"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbZXWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSnQ//T5ht2PS2grcZ5/vX9WCcWttMAlHmYihJxGNBvlePYWfUky0+\r\nr+Qz9LX6Lj5KPiWjpa/0sjaoGybiNQSFL4XJA1aOaH9iSyaP3trv5vV8GfXe\r\nq+HR0Rm0jV7H1mMUDllpKkHHF5369AirN4mUsv7Z3RtcOCaioqEum5NLspZc\r\nidilSk+yuQcgroF3C0NNUgnS0fRmkSOC09AHyFWfF2osb3ClAAyNv7rS9CD6\r\nHxeRp7qKxoWTUenSIznJENO2xuCw6yTcUXPff7cwR673forAIOaXbMCro61r\r\nOYcBtmdM8qsnCuFaTa98q+v4zZ52sjltg++a4zi1opHny0/O5CtsWkZhu3oj\r\nsMIkQElz3EIrh5OwH6xTRgpU8TXQUz2cd4++Fm81fRxG+p/w6y3/YPv5SlPD\r\nSYC9fG+TYoexEsCiyrgZBdySh+xWp9uBmrHa9A/+PpJ/+Td4RkhEH0nsclEt\r\nq697XbtfWcTW1E6n3PNICOQcQCWYbY8kBcb+hALl7A3wHbpGzKIA9BGqvUt5\r\nOlSmzyOnityuZvdnFqRYd+FYgSZbTz1V496YsSpeJe8e92dQPsNntY7G2C/k\r\nfkCmGi7uaNNtMejWPuCwzKqcWzRWvX+LnpCgXIFV3p0QazJgj2/nt5SOsUMt\r\n+VXbcDZc0ucKfguY2z4Xv+bKzsXNZq+a/5w=\r\n=f0iQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brotherludi","email":"brotherludi@hotmail.com"},"maintainers":[{"name":"brotherludi","email":"brotherludi@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1668126165882_0.15035141449458145"},"_hasShrinkwrap":false},"1.0.1":{"name":"@brotherludi/lotide","version":"1.0.1","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/brotherludi/lotide.git"},"author":{"name":"Di Lu"},"license":"ISC","bugs":{"url":"https://github.com/brotherludi/lotide/issues"},"homepage":"https://github.com/brotherludi/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"8aba0d2b6f4e2387027263b4fcf55a5a81a6a4e4","_id":"@brotherludi/lotide@1.0.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-wIdLZ2JmCpGkBlSjuL6pyu9p20t35DE6Sk0qcpu68E9YuDraXvFaWCVYnfJjvRCUkerfPjVSpguywDFMBRbTfg==","shasum":"7ac2cb6f30473105c63b59e35941a850117c7ece","tarball":"https://registry.npmjs.org/@brotherludi/lotide/-/lotide-1.0.1.tgz","fileCount":26,"unpackedSize":21755,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHgICFQtEuSaBKpys2LyLdSKFkCkIBclmEOBsRYZXMYYAiAtzuxvV+7AvXMZbeZl8vc+Ig9ncQ8RCNd2rmzMBvlJMw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbboLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgKw/8CFIVTITRb66jfEHA4MZW4mHuj2zKyiK7ovfbuZwxWvzZIfHm\r\nLGurWUP0Ah5X3tzlarE+f/vsbXMyIKs/PdDxHAxwciN/8EGDrbCFxH7CXtXC\r\n87ziF0RHC90hJ+cInp5esgjKmCVZgToyohx+loXLBhpIwiWBPi07WuoB6Rhk\r\ndJcSkbd6i03lp/niSCmeBC65xVYZ1u3AKkwq+gj+p7czel9t9cOOxoMCpwZJ\r\nLbZ+NIDMAQaIUE/UH1sVHBvIVvV6/YPErHheVSM3HOy8w1a5eKwj9bvKgE26\r\nFiPWvudhZN0wSz1LQK8SNdGNGi2bg5uPp9YZQfpv8ggv0OJftf7tqnT5nre6\r\nz/tt2xI7v64QOs5Ul/Ea5bwjKpdepWFddCUPcauWAnlXm6JJM5XTUBd9ula2\r\nzU02FRCMaNLxhZLyBFbODBFkF0WEJTlQ3fIKGRf5SFLb40KTi3I3i9qjhRRu\r\ntPcVxGoxdximTMpaawjiGu894hojXrxZ9+q85xmAxxZepjNbR9p2Mp+KInxY\r\nqVhMTVSzEdsRwE6szjEuEsauTYDiwSqas+Bma2MJowSbWL9kG62PIUxsBAeF\r\nCAcKP7j+6U1XgmGMZfijKqAC+Lta/2HSkfH+Fcxm3mS4PTccgFmhtu16v8R8\r\nbQbhs04fcCd7YNjaMdSzkaNzNt7DamIl26M=\r\n=K3Gp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brotherludi","email":"brotherludi@hotmail.com"},"maintainers":[{"name":"brotherludi","email":"brotherludi@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1668135435369_0.44941908364198535"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-11T00:22:45.840Z","1.0.0":"2022-11-11T00:22:46.025Z","modified":"2022-11-11T02:57:15.590Z","1.0.1":"2022-11-11T02:57:15.530Z"},"maintainers":[{"name":"brotherludi","email":"brotherludi@hotmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/brotherludi/lotide#readme","repository":{"type":"git","url":"git+https://github.com/brotherludi/lotide.git"},"author":{"name":"Di Lu"},"bugs":{"url":"https://github.com/brotherludi/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 @brotherludi/lotide`\n\n**Require it:**\n\n`const _ = require('@brotherludi/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\n`assertArraysEqual`: Function for asserting that two arrays are equal.\n\n`assertEqual`: A function compare two values and tell us if they match or not.\n\n`assertObjectsEqual`: Check if two objects are equal.\n\n`countLetters`: Return a count of each of the letters in a sentence.\n\n`countOnly`: Count how many times a name appears in an array.\n\n`eqArrays`: Takes in two arrays and returns true or false, based on a perfect match.\n\n`eqObjects`: Take in two objects and returns true or false, based on a perfect match.\n\n`findKey`: Using callback looping over object to find certain value.\n\n`findKeyByValue`: Search for a key on an object where its value matches a given value.\n\n`flatten`: Flatten an array with other arrays inside into a single-level array.\n\n`head`: A function to retrieve the first element from the array.\n\n`letterPositions`: Return all the indices in the string where each character is found.\n\n`map`: Function will return a new array based on the results of the callback function.\n\n`middle`: Return the middle-most element(s) of the given array.\n\n`tail`: A function to returns the tail of an array.\n\n`takeUntil`: Collecting items from an array until the callback returns a truthy value.\n\n`without`: Return a subset of a given array, removing unwanted elements.","readmeFilename":"README.md"}