{"_id":"@alshaikhly/lotide","_rev":"1-dde2c082bcac733a777d847027336441","name":"@alshaikhly/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alshaikhly/lotide","version":"1.0.0","description":"Week 1 project-library","main":"assertEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^7.2.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Alshaikhly/lotide.git"},"author":{"name":"Ali Alshaikhly"},"license":"ISC","bugs":{"url":"https://github.com/Alshaikhly/lotide/issues"},"homepage":"https://github.com/Alshaikhly/lotide#readme","gitHead":"3adb7075b89db4ce623d37bf6965a5645556ac8a","_id":"@alshaikhly/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.14.5","dist":{"integrity":"sha512-vxbKn3Nui8i7zimJtwZPkSZ0Gkhes0QryrHLE3cB8mimcN2+l7fHtrQkKNkGk5Ls10iwTGympYxY/1xYOFj5xQ==","shasum":"05bb80259416a7dd435e7a43aed0168fc905c3c3","tarball":"https://registry.npmjs.org/@alshaikhly/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":29820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1a6xCRA9TVsSAnZWagAAiLIP/3+7C23ya9VlSJI+8b28\nIjTMTlH8adE7LAK23Yffz52Q9N0CBmb2mLPPjL/M6c7fuGOeqv5dbRwgXrWC\nhvABaDfHYKBD3HRO6FeKnWCJH3wnru4mn2oO+CtwKL/Vl/I420AtfeMmUNat\nm6F7FBjh0wA1l7nbiervmFuKQbKHddAAYtMylemUIwV9UIMcSxbstW9SwgK3\nhpW+W7PO68x+btojaz8ZAubPUIfcy4gIgIUJtc4piZ4zXyLJlktfjev7MSAF\n2Ahp0dXXK0NkQnRkN9fvZS4RYrNp9UyW+yzcPx+Uh9iL9VNRl+z3+ppTIfy+\nRkqdVw5NH/YWxhFQp98xPEGPj5HijXI4GFjrBSGaIhw6Ce3H8tdPuhqQhO+4\nvk37ug3oL4NT0oAAk4GVack+LsD8rIq7selboqPxVIjnqoWqlAm/YskTUoeH\n4/RIxx5LOtl4u/+MRcQFKb+mWQ0NRc8eUT3F9/pTQy8jL8yxd5F1d/fIndg/\nenC0UxzmWT106bn7PbsBRNxIUHbFEhNhJKngzszBi4pnAhyfXfUDXMGgOyUo\naQRNejxLB/hGmQqmCK1GwwvmtcDtAn3TEYrM28mGjVvh47cDuHJYqyNyHfrC\nXW55L12uhVijxSVJuGTxQ24tSQmg86per6XUTfrkxYc6KBNKSWTZfUaODThE\nRCgF\r\n=92Vr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFGJpu3BjZKDogQePgMqCgxbjtlFSU5+D7ySeHiQr5mzAiEAxAnFrinWmsdRHYXBPtz6OgRUacIoZoiWRPToAkpZJQE="}]},"maintainers":[{"name":"alshaikhly","email":"ALSHAIKHLY89@GMAIL.COM"}],"_npmUser":{"name":"alshaikhly","email":"ALSHAIKHLY89@GMAIL.COM"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1591062193408_0.5462005492604138"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-02T01:43:13.356Z","1.0.0":"2020-06-02T01:43:13.531Z","modified":"2022-04-04T13:38:57.698Z"},"maintainers":[{"name":"alshaikhly","email":"ALSHAIKHLY89@GMAIL.COM"}],"description":"Week 1 project-library","homepage":"https://github.com/Alshaikhly/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Alshaikhly/lotide.git"},"author":{"name":"Ali Alshaikhly"},"bugs":{"url":"https://github.com/Alshaikhly/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 @alshaikhly/lotide`\n\n**Require it:**\n\n`const _ = require('@alshaikhly/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* `function1(assertEqual)`: checks the actual and expected values from a function and prints a corrolating message\n* `function2(AssertEqualArrays)`: checks if the the actual outcome of function with arrays in it is as expected and prints a message\n* `function3(AssertObjectEqual)`: checks if the the actual outcome of function with objects in it is as expected and prints a message\n* `function4(countLetters)`: counts the number a letter was used in a given string\n* `function5(countOnly)`: counts the number an item was repeated in a given array\n* `function6(EqArrays)`: checks if two arrays are equal\n* `function7(EqObjects)`: checks if two objects are equal\n* `function8(findKey)`: finds a certain key in an object based on a callback function\n* `function9(findKeyByValue)`: takes an object and a value and returns the key for that value\n* `function10(flatten)`: flattens the nested arrays and the main array into one array\n* `function11(head)`: returns the first item in an array\n* `function12(tail)`: returns the same array after removing the first item in an array\n* `function13(letterPositions)`: returns all the indexes of a given letter in a string\n* `function14(map)`: returns the first letter of every item in an array of strings\n* `function15(middle)`: returns the middle index of an odd-indexed array or the two middle indeces of an even-indexed array\n* `function16(takeUntil)`: loops through an array and retuns each item until reaching a condition set by a callback function\n* `function17(without)`: takes 2 arrays and returns an array and returns without the items included in the first array\n\n\n","readmeFilename":"README.md"}