{"_id":"@bigred0303/lotide","_rev":"1-ce0cf452ca1382b1bb86f65036d96007","name":"@bigred0303/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@bigred0303/lotide","version":"1.0.0","description":"bigredlotide","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Bigred0303/lotide.git"},"author":{"name":"bigred0303"},"license":"ISC","bugs":{"url":"https://github.com/Bigred0303/lotide/issues"},"homepage":"https://github.com/Bigred0303/lotide#readme","devDependencies":{"chai":"^4.3.1","mocha":"^9.2.2"},"gitHead":"92b1ee3658512688c3fa7dd96bc02413f1c8e937","_id":"@bigred0303/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-CjVj9P0mlfAX6gIpC3aIp7Ked7tRi+4Ukf0Bgy6iGODbKZkiqMO5F7zjoCR2weIm+V1f0cZn9jmt9S51/JoIAg==","shasum":"1eee816211e268a054a58c439a918bb867fa4e24","tarball":"https://registry.npmjs.org/@bigred0303/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":19799,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGRJnaCd7EN9qjgGeKTnC7lNsEdtnMkhbQOc27OsCV3MAiEAtdtRU8S4NHvWkRTfgfVKbYISyOslU/+YQLcCWaK7LQk="}]},"_npmUser":{"name":"bigred0303","email":"grantimaxi03@gmail.com"},"maintainers":[{"name":"bigred0303","email":"grantimaxi03@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1712912203174_0.875928583856818"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bigred0303/lotide","version":"1.0.1","description":"bigredlotide","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Bigred0303/lotide.git"},"author":{"name":"bigred0303"},"license":"ISC","bugs":{"url":"https://github.com/Bigred0303/lotide/issues"},"homepage":"https://github.com/Bigred0303/lotide#readme","devDependencies":{"chai":"^4.3.1","mocha":"^9.2.2"},"gitHead":"bcfdaa5686c9c4610e81f064940cebf2f9fa6272","_id":"@bigred0303/lotide@1.0.1","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-H2u2+9dYn4VebZHdU3/9vG3oOCrkqIYR9K+zjNBXP2qijfl9fFnwXlheIIX9IjbPDegtF4ly+6wD6T4aB93m5w==","shasum":"f7ce79d19f2c470305643bd11f14994b13f46c38","tarball":"https://registry.npmjs.org/@bigred0303/lotide/-/lotide-1.0.1.tgz","fileCount":26,"unpackedSize":19194,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPTpjOA9T4Ua3u3qoHxMGO2zpW2ordV4rk1evxQg4pjAiAdTglsnnhq5qyFcjkadwuziUn43zTM9R6u3PX748D5ag=="}]},"_npmUser":{"name":"bigred0303","email":"grantimaxi03@gmail.com"},"maintainers":[{"name":"bigred0303","email":"grantimaxi03@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1712993689474_0.6243795414154114"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-12T08:56:43.092Z","1.0.0":"2024-04-12T08:56:43.386Z","modified":"2024-04-13T07:34:49.884Z","1.0.1":"2024-04-13T07:34:49.647Z"},"maintainers":[{"name":"bigred0303","email":"grantimaxi03@gmail.com"}],"description":"bigredlotide","homepage":"https://github.com/Bigred0303/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Bigred0303/lotide.git"},"author":{"name":"bigred0303"},"bugs":{"url":"https://github.com/Bigred0303/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 @bigred0303/lotide`\n\n**Require it:**\n\n`const _ = require('@bigred0303/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)`: Uses eqArrays to check if two arrays are deeply equal and outputs the assertion test case\n- `assertEqual(actual, expected)`: Checks if two values are strictly equal\n- `assertObjectsEqual(object1, object2)`: Uses eqObjects to check if two objects are deeply equal and outputs the assertion test case\n- `countLetters(letters)`: Counts the number of letters in a string\n- `countOnly(allItems, itemsToCount)`: Takes an array of names and only counts the names passed in the object as the 2nd arguement\n- `eqArrays(arr1, arr2)`: Checks if two arrays are deeply equal\n- `eqObjects(arr1, arr2)`: Checks if two objects are deeply equal\n- `findKey(searchObject, callback)`: Finds a given key in an object by it's key\n- `findKeyByValue(searchObject, keyToFind)`: Finds a given key in an object by it's value\n- `flatten(arr)`: Flattens a nested array by 1\n- `head(arr)`: Gives the first value of an array\n- `index`: The file by which all functions are called\n- `letterPositions(sentence)`: Gives the position of letters within a string\n- `map(array, callback)`: Performs any callback function on an array\n- `middle(arr)`: Takes the middle of an array\n- `tail(arr)`: Gives an array without the first value\n- `takeUntil(arr, callback)`: Returns an array until a value meets the callback function\n- `without(source, itemsToRemove)`: Gives an array without the undesired element\n","readmeFilename":"README.md"}