{"_id":"@chandanikumari/lotide","name":"@chandanikumari/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"dependencies":{"lodash":"^4.17.21"},"name":"@chandanikumari/lotide","version":"1.0.0","main":"assertArraysEqual.js","directories":{"test":"test"},"devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/chandanikumari/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/chandanikumari/lotide/issues"},"homepage":"https://github.com/chandanikumari/lotide#readme","description":"A mini clone of the [Lodash](https://lodash.com) library.","gitHead":"313b8ecb254f1983949028c56ebe6509f4ec0a23","_id":"@chandanikumari/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-/T2wbU8mmVWIMB31BuIaEw6IJKFP04y93O3tzqD5wU+B2FBPO8AlKrGFUEhJKlYOjrIVzEr0yD2ydodhtluXiw==","shasum":"e571f8f68edf4631b45d648f56f9a42704a44a6b","tarball":"https://registry.npmjs.org/@chandanikumari/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":13460,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBlzRqWExFibrSxCu55pee6thIFs2AGPYEGze0FtKCicAiEAsrIjXVDeAhGBv8cRbP8Uy0bzaHSvGXaEk2JNafYx6Xw="}]},"_npmUser":{"name":"chandanikumari","email":"chandanikumari92@gmail.com"},"maintainers":[{"name":"chandanikumari","email":"chandanikumari92@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1691531507104_0.2906278336448218"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-08T21:51:46.981Z","1.0.0":"2023-08-08T21:51:47.286Z","modified":"2023-08-08T21:51:47.554Z"},"maintainers":[{"name":"chandanikumari","email":"chandanikumari92@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/chandanikumari/lotide#readme","repository":{"type":"git","url":"git+https://github.com/chandanikumari/lotide.git"},"bugs":{"url":"https://github.com/chandanikumari/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 @chandanikumari/lotide`\n\n**Require it:**\n\n`const _ = require('@chandanikumari/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(array1, array2): assertion check if two arrays are equal.\n* assertEqual(value1, value2): assertion check if two values are equal.\n* assertObjectsEqual(object1, object2): assertion check if two objects are equals.\n* eqArrays(array1, array2): check if two arrays are equal.\n* eqObjects(object1, object2): check if two objects are equal.\n* countLetters(string): returns the count of each letter in a string.\n* countOnly(array, object): counts and returns object occurrence in an array.\n* findKey(object, callback): returns true if the key of an object exist.\n* findKeyByValue(object, objectValue): returns the key of the object value, based on the object given.\n* head(array): returns the first element of an array.\n* letterPositions(string): returns all the indices/position of each character in the provided string.\n* map(array, callback): returns a new array based on the response of callback function.\n* middle(array): returns the middle element of an array\n* tail(array): returns the entire array except the first element.\n* takeUntil(array, callback): returns an array with elements till the callback returns true.\n* without(source, itemsToRemove): returns a new array removing the unwanted items provided as itemsToRemove from the source array.","readmeFilename":"README.md"}