{"_id":"@bradwilliams1990/lotide","name":"@bradwilliams1990/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bradwilliams1990/lotide","version":"1.0.0","description":"Clone of the Lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Brad-Williams-Dev/lotide.git"},"author":{"name":"Brad Williams"},"license":"ISC","bugs":{"url":"https://github.com/Brad-Williams-Dev/lotide/issues"},"homepage":"https://github.com/Brad-Williams-Dev/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"699595c564298e1627730e40bcdb9831d57c5801","_id":"@bradwilliams1990/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-tRPvpGf9snZVykMvP0T8OarC9TG9yYktbhAKY6ZM9NSQ6TINgz+a4cQXD/mEA3eT/0XX80y/SNOuKLIwX8N1IA==","shasum":"436f960ea15991b9136771af6cb94785459d061d","tarball":"https://registry.npmjs.org/@bradwilliams1990/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":19061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHA3gckeppEoTWTbBbyfTTrOyqDdG+v3jEucOvNh33wyAiAvFnlIAk6RyuX3fXeYrEYd0bWAWc9dZ9l1pmsM9cnZFQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJje4YoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZpQ//TFWgP/bru13qXPqH3eELDQTiwD7TTkGy4I67vRoKbDv2F/vR\r\nGwef0J9OAGkWINlCjg0lVxkjnwJuIdxb37l78kAQ0bNaq+vOWRDcFJpJa5Rh\r\nPEOMq5C0tyHw3coleBCrnwCYbvwkYDpoiQzcW8RK5ZEvmA57Yws1Ab90X5Cv\r\nnhxRwLjMr9QowvKqVErpSz6EL8jBo6N1x/X/HOmIb740pbNNKLIE8Ms0Wnda\r\nvhKqDZ5dyMmXRrW5ebiiGQGJOGSxU8fBYCx9gQ69PZ1Fa69n8LZRM6wq7ZXx\r\nZFcI3mKaRoxukGFUtndSNw92tWbIdVGuqTpjN5ozZmMcocBm+bE1dOUZ0ULF\r\nZQoX+N75bUuLFa1gb0JWR/m66deUImTJRgaOwxJbUpnodDiIRP3g1JOwfhTW\r\n/LtDgBo+9pZH1FmVpQ1GIzJVEWk6wqNbJhy7uOVd9TpT3EjLCCWzKa6ZCZlJ\r\n/pim0U4JigrwR+nnJkfJA2ge5I14zDO1m8FztBg2RezKNbtIZAvnVm+Hmwtl\r\n0peLg8jgjpGovtgP9Bs7ZSTgxF26r1Lm2DgYUXEvJMu0p5tJ54H/ELWkR/ab\r\nGxTA6vIPFZIphpwfiPbb+l+MKub3u+zpZen72thixjprGAfxzNBG29VYo6IL\r\nvh8Ozo4El904U7VJXKqJepYpjU7PrAHzB18=\r\n=i0dt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bradwilliams1990","email":"bradley_williams2003@hotmail.com"},"maintainers":[{"name":"bradwilliams1990","email":"bradley_williams2003@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1669039656053_0.3906303886642075"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-21T14:07:35.960Z","1.0.0":"2022-11-21T14:07:36.252Z","modified":"2022-11-21T14:07:36.357Z"},"maintainers":[{"name":"bradwilliams1990","email":"bradley_williams2003@hotmail.com"}],"description":"Clone of the Lodash library","homepage":"https://github.com/Brad-Williams-Dev/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Brad-Williams-Dev/lotide.git"},"author":{"name":"Brad Williams"},"bugs":{"url":"https://github.com/Brad-Williams-Dev/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 @bradwilliams1990/lotide`\n\n**Require it:**\n\n`const _ = require('@bradwilliams1990/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* 'without(source, itemsToRemove)': Takes in an array, and items to be removed. Returns array with items specified removed.\n* 'takeUntil(array, callback)': Takes in an array and a callback function. Will return all items in the array until the callback parameter has been met.\n* 'tail(array)' : Takes in array and returns all items in array except array[0];\n* 'middle(array)': Takes in array and returns with middle index of array if oddly numbered, and two most middle if evenly numbered.\n* 'map(array, callback)': Takes in an array and returns a new array based on the results of the callback fucntion.\n* 'letterPositions(string)': Takes in a string and returns all the indices in the string where each character is found.\n* 'head(array)': Takes in a array and returns the first index of the array.\n* 'findKeyByValue(obj, val)': Takes in an object, and a value. Returns the first key in the object that matches the value given.\n* 'findKey(object, callback)': Takes in an object, returns the first key that the callback function return true, if no key found, returns undefined.\n* 'eqObjects(object1, object2)': Takes in two objects, returns true if both objects are equal(same keys and values), returns false otherwise.\n* 'eqArrays(array1, array2)': Takes in two arrays, returns true if both arrays are equal (same values at same index), returns false otherwise.\n* 'countOnly(allItems, itemsToCount)': Takes in an array of objects, returns an object containing counts of everything the input object listed.\n* 'countLetters(string)': Takes in a string, returns a object showing all the letters in the string and how many times it occurs.\n* 'assertObjectsEqual(actual, expected)': Assertion test for the eqObjects function.\n* 'assertEqual(actual, expected)': Basic assertion test if actual === expected inputs.\n* 'assertArraysEqual(array1, array2)': Assertion test for eqArrays function. \n","readmeFilename":"README.md"}